ScratchData LogoScratchData
Back to RobFarley74's profile

Cohen–Sutherland Algorithm for line clipping remix

RORobFarley74•Created September 22, 2021
Cohen–Sutherland Algorithm for line clipping remix
12
6
162 views
View on Scratch

Instructions

Drag the map around, change the zoom (or use mouse wheel). I just removed a load of code and made a more complex road network (basically my immediate surroundings! 0,0 is more or less my house!), gave it a nice outline. If I get round to it (and can be bothered) I'll roll in my PenFont sprite to put the road names on. Initial code base by Kriblo (@kriblo), looking at this example: https://www.geeksforgeeks.org/line-clipping-set-1-cohen-sutherland-algorithm/ The Village: https://scratch.mit.edu/projects/417540041/ Previously shared example: Simple street map using the Pen: https://scratch.mit.edu/projects/572494948/

Project Details

Project ID573444011
CreatedSeptember 22, 2021
Last ModifiedSeptember 28, 2021
SharedSeptember 22, 2021
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root