Hi, I am trying to make an activity so the users can click on the corners of a pyramid to count them. The pyramid is visible and the user clicks on one corner the point appears on this place. Any suggestions?
Not sure if this would be useful, but was a way I approached a similar problem.
Yes this is what I was trying to do. How did you manage to do that?
It uses the “actions” feature in the desmos calculator. Here is the documentation on that feature: https://help.desmos.com/hc/en-us/articles/4407725009165-Actions#h_01FB2RRQ5ZHN6Q66WWWK545SGY
The above can get a little unwieldy as you’ll need individual actions for each point. As an alternative you can define dynamically changing colors and point sizes (“Single point” folder), but I also made some actions that work for lists of points.
Do something like:
button onclick: c_hangecolor
a = 0
c_hangecolor = a -> a + 1 {a < 3}, a -> 0 {a = 3}
c_olors = [rgb(255,0,0), rgb(0,255,0), rgb(0,0,255)]
c_urrentcolor = c_olors[a]
p_oint = (0,0) color: c_urrentcolor
(not sure if this will work I just did it off the top of my head)