ScratchData LogoScratchData
Back to nembence's profile

1000 ELLIPSES remix

NEnembence•Created September 21, 2024
1000 ELLIPSES remix
14
9
161 views
View on Scratch

Instructions

The color of the ellipse is random and changes every time the green flag is clicked. In batch test mode this measures how long does it take to draw 1000 random ellipses I modified the code to draw thick lines instead of circles. This makes thin ellipses faster. The slowest axis-aligned ellipse that fits in the stage needs 61 lines to draw (Scratch draws a circle at every line start so it's drawing 122 pen objects / ellipse). Edge cases like perfect circles and lines need only 1 line / ellipse. The variable n shows how many lines were needed for the last drawn ellipse.

Description

Batch test button texture by @papipupepappa: https://scratch.mit.edu/projects/987937950/

Project Details

Project ID1071021916
CreatedSeptember 21, 2024
Last ModifiedOctober 2, 2024
SharedSeptember 21, 2024
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root