ScratchData LogoScratchData
Back to heldlaw's profile

Drawing an ellipse (fisheye trick)

HEheldlaw•Created May 9, 2021
Drawing an ellipse (fisheye trick)
60
45
579 views
View on Scratch

Instructions

Click the green flag, then use the sliders to change the size of the ellipse.

Description

Scratch does not allow sprites to be 'stretched' (resized independently along X and Y axis). For an ellipse, we can fake it by using the 'fisheye' effect. This trick has its limitations: width and height cannot be too far apart, the result is not always perfectly elliptical, and it doesn't work well for outlines. But the code is short, simple and fast. This project has only 24 blocks of code and a single costume (made using Scratch's vector editor). I got the idea for this project after receiving an invitation for @s_federici's studio "Simplest ellipse drawing algorithm": https://scratch.mit.edu/studios/29609673/

Project Details

Project ID527829286
CreatedMay 9, 2021
Last ModifiedMay 9, 2021
SharedMay 9, 2021
Visibilityvisible
CommentsAllowed