A very simple emulation of a circle tool (or ellipse tool as it is also known). Click and drag to draw an ellipse.
▭ ▭ ▭ Notes ▭ ▭ ▭ This is a bit more complex than the rectangle tool, since we need to use trigonometry to calculate the shape, and draw hundreds of short line segments instead of just four. But just like the "Rectangle Tool" Demo, this only has the most basic functionality - drawing a single ellipse when you click and drag. Here are some challenges, with increasing difficulty: □ Add sliders controlling line width and color □ Add fill color □ Enable multiple ellipses (make it appear as if ellipses aren't erased when you draw new ones) □ Code an efficient outline algorithm that doesn't cause lag □ Code an efficient fill algorithm that doesn't cause lag Good luck! Learn more about the many different ways you can draw ellipses in the studio Simplest ellipse drawing algorithm: https://scratch.mit.edu/studios/29609673/ ▭ ▭ ▭ Credits ▭ ▭ ▭ I made this in response to this comment by @KoalaYoyo: https://scratch.mit.edu/users/papipupepappa/#comments-319125260