Arc Scribbler


Arc Scribbler


January 16, 2023


This project uses p5.js’s arc() function to draw a line that randomly curls around the screen.



(View fullscreen here!)

The code has lots of juicy parameters you can play with! Edit the code here.

light blue scribbled lines

very twisty scribbled lines

black and white scribbled lines

Remix Ideas

  • Modify the parameters at the top of the code to change the animation.
  • Change the code so only red or blue lines are drawn.
  • This was partially inspired by Josh Millard’s post about visualizing the EKG sequence. Mine doesn’t actually visualize the EKG sequence, but yours could!

Comments

Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!

Comments are powered by the Happy Coding forum. This page has a corresponding forum post, and replies to that post show up as comments here. Click the button above to go to the forum to post a comment!