Brandon Roots
  • INTERACTIVE
  • FILM
  • ABOUT
  • CONTACT
February 4, 2021

Random Walk

broots ITP, Nature of Code

For this first assignment in the Nature of Code course at ITP I created a P5.js sketch utilizing the noise function to paint on screen. Since the assignment was open ended I did some brainstorming to set on a few constraints. A Google search turned up this example of random walk art that I was drawn to.

I liked the monochromatic nature of this and also wanted to create something that either utilized 3D space or gave the illusion of it.

Through some quick iteration I ended up with a sketch that draws three circles at a time without redrawing the background in order to keep persistent lines. Two of the circles are mirrored in movement and size, the third is smaller and moves more slowly. My rationale for including the third was to balance the symmetry with something imperfect, like a beauty mark.

The illusion of depth is created setting the blendMode to “LIGHTEST” and varying the brightness value of the circles while they draw around the screen. The result is that lighter values draw in front of darker values.

Sketch embedded below. Enjoy!

Smart Tiles: Update 2 Vectors

Related Posts

Fractal Plant – Foiled by  Registers

Homemade Hardware, ITP, Solar Plant

Fractal Plant – Foiled by Registers

Since receiving the PCBs and successfully soldering the board together I have been trying to rewrite code for the I2C port expander. This has been immensely difficult! The Inkplate Arduino Library makes considerable use of an “Mcp” class, which is written to work with the MCP23017 GPIO expander IC. These chips are quite difficult to […]

“Handling” Playtest Week

Handling, ITP

“Handling” Playtest Week

Last week we attended “Playtest Thursday” on the second floor of 370 Jay St with our games. I came away from the experience with some very specific feedback. Seeing a number of people play the game showed me things I didn’t anticipate. Some folks approached the cabinet and immediately treated it as a touch screen. […]

Fractal Plant – Beta Build

Homemade Hardware, ITP, Solar Plant

Fractal Plant – Beta Build

The boards arrived! Amazingly within an hour of one another. Based on the experience I think that JLCPCB is a better value. With shipping OSHPark was $55.50 for 3 boards. JLCPCB was $26.36 for 10 boards. Aside from a higher cost OSHPark also left sharp bits of tabs around the edges of the boards which […]

Recent Posts

  • Fractal Plant – Foiled by  RegistersFractal Plant – Foiled by Registers
    May 9, 2022
  • “Handling” Playtest Week“Handling” Playtest Week
    May 5, 2022
  • Fractal Plant – Beta BuildFractal Plant – Beta Build
    April 24, 2022
Brandon Roots