ScratchData LogoScratchData
Back to papipupepappa's profile

"Rectangle Tool" Demo

PApapipupepappa•Created March 11, 2024
"Rectangle Tool" Demo
15
11
180 views
View on Scratch

Instructions

A very simple emulation of a rectangle tool. Click and drag to draw a rectangle.

Description

▭ ▭ ▭ Notes ▭ ▭ ▭ This is just the most basic functionality - drawing a single rectangle when you click and drag. Here are some challenges, with increasing difficulty: □ Add sliders controlling line width and color □ Add fill color □ Enable multiple rectangles (make it appear as if rectangles aren't erased when you draw new ones) □ Code an efficient fill algorithm that doesn't cause lag Good luck! ▭ ▭ ▭ Credits ▭ ▭ ▭ I made this in response to this comment by @Sphere_201: https://scratch.mit.edu/users/papipupepappa/#comments-318127592

Project Details

Project ID980528153
CreatedMarch 11, 2024
Last ModifiedMarch 11, 2024
SharedMarch 11, 2024
Visibilityvisible
CommentsAllowed