First give the background the colour white, then we can attack the first line. Choose two to three colours randomly between yellow, red, blue and black. Add white to the selection and stock the number 2 in a variable. Draw a square and fill it with a random colour chosen in the selection then replace 2 by either 0 or 1. Do it 38 more times to finish the line but this time if 0, fill the square with a different color that the one before, if 1, fill it with the same one. Then restart these steps with the following 38 lines.
forked from Emma-prn/recoding
-
Notifications
You must be signed in to change notification settings - Fork 0
License
p5-class-jf/Emma-prn
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 94.6%
- HTML 5.4%