ScratchData LogoScratchData
Back to dimmat's profile

Extend Scratch's Screen Limits (Line Clipping)

DIdimmat•Created February 19, 2017
Extend Scratch's Screen Limits (Line Clipping)
13
8
91 views
View on Scratch

Instructions

Scratch limits pen drawing strictly into the screen (480 width x 360 height). If someone wants to draw something outside the screen limits then he has to use "line clipping" which means drawing only the visible parts of the object and discard the rest. This algorithm uses line clipping for drawing a star no matter how big. Use Up-Down keys for zooming the star in and out, use Left-Right keys for rotating it.

Description

Feel free to use it in your projects!

Project Details

Project ID146126154
CreatedFebruary 19, 2017
Last ModifiedJuly 26, 2022
SharedFebruary 19, 2017
Visibilityvisible
CommentsAllowed