Skip to content
Sign UpLog In

Self Portrait

RandomCodingBoy
RandomCodingBoy
36 followers
Made with
HTML, CSS, JS
HTML, CSS, JS
Published on Aug 29, 2022
  • #create31
  • #Day9
  • #selfportrait
  • #khanacademy
  • #processingjs

Day 9 - Self Portrait. I made this self-portrait using Processing JS (originally in Khan Academy). Rather than make a "normal" portrait, I decided to make a "pixelated" portrait, with 1600 individual rectangles, which each have individual fill colors. Instead of manuallyl doing this, I first used javascript to make 1600 lines of code for rectangles with the background color I wanted, then I sketched out a map of each pixel on a paper with a grid, and then I went and altered every block that wasn't the background blue. I spent a long time on this, so I hope you like it!

Total Tips
0
Loading comments...