you should addin a clear function
I will if i can simplify the rest of the code
just added it. it doubles as a fill function, but if you set it to white it will clear Untitled | Desmos
Cool, that’s a nice idea … if you add some more functionalities you can have “MS Paint” in Desmos … the problem is that there’s not a command such as “while button down” …
so one cannot hold the mouse button and draw.
yeah I actually had a thought about that earlier, what if there was a way to use draggable points to do that?
Yes! nice idea:
https://www.desmos.com/calculator/lrchrngydw
Or with lines: same graph
Okay. I was thinking if there was a way to reduce lag. I think maybe if you don’t repeatedly draw on somewhere you already drew? Like, maybe use the unique function to filter some overlaps out.
Problem with the unique function is if you use another color
What if you put a list of polygons in the background and when you click the screen the polygon behind the mouse moves the dot to the current location, allowing you to start from anywhere
Ill try to make it and send it later
[Copy of] Untitled Graph | Desmos Prototype of my idea? My issue is getting “O” (what controls the opacity) to stay at zero while the cursor moves to the new location.