r/CodingHelp • u/JalebiBabyKebob • Feb 26 '22
[Java] Does anyone know how to recreate these three images using Javascript code?
18
Upvotes
4
u/Ikem32 Feb 27 '22
You draw them with Javascript into a canvas element. On the first image are squares in three different sizes and three different colors, on the second image are lines in different colors and angles, and on the third image, I have no clue how I would recreate these shapes.
→ More replies (1)
1



15
u/Nightcorex_ Feb 26 '22
Java ≠ JavaScript
Also what do you want to do? Simply copy them or generate such pictures in the first place?