ScratchData LogoScratchData
Back to _paperN1's profile

Out-of-Screen Clipping Test w/ Lines

_P_paperN1•Created October 26, 2015
Out-of-Screen Clipping Test w/ Lines
2
1
50 views
View on Scratch

Instructions

Use sliders and have fun sliding the line up and down.

Description

In Scratch, it doesn't allow you to have points to go outside the canvas, so instead of taking its actual x and y position, it takes the closest boundary x and y positions if that position is exceeding the boundary. This can result in lines glitching and deforming. This clipping engine takes the intersection point of the line with the boundaries, and draws from point to intersection, intersection to intersection, or point to point, depending on the case.

Project Details

Project ID84990394
CreatedOctober 26, 2015
Last ModifiedOctober 28, 2015
SharedOctober 27, 2015
Visibilityvisible
CommentsAllowed