p5js

05
Feb
A folk art design with two birds, and flowers

Spring Folk

Generative folk art in p5.js
2 min read
23
Jan
an electric work of art with white circuit-board like charges on a dark blue background

Charged

I created the following composition while playing with code as part of Genuary. I wanted to get the feeling of a discharge of energy. Everytime the code is run, a unique new piece is generated. Below are some of the infinite varieties.
1 min read
19
Jan
a cardioid made with strings

String Art Presentation

I put these slides together for the Seattle Math Jam 1/18/2021 and thought I’d share them here. I have investigated string art with many of my middle school groups and have had so much fun finding patterns. This slide deck was put together with some extra toys for small group investigations. Code li
1 min read
09
Jan
a very long image of cats swinging or holding on to wires making catenary curves

Catenary Kitties

I am really enjoying Genuary 2022. For the architecture prompt, I created these catenary kitties. The kitties are drawn in Adobe Fresco and the code is in p5.js. If you go to the code page, clicking the work will randomize the kitties and typing “p” will bring motion to the clouds. Below is one of [
1 min read
06
Dec
Borb Generator

Borb Generator

Sometimes you just need a borb. They make good digital stickers, profile pics and more. I created the Borb Generator to make random borbs using pointillism in p5js. There are over 900,000 points in each Borb. Here is a link on OpenProcessing to the Borb Generator to make your own. Refresh to code to
2 min read
09
Sep
Diatom Sketch

Diatom Sketch

I pondered diotoms in my spare time today and made this. I hope to play some more as time allows to expand this. Click to change images (randomized). A gallery is included below. Enjoy. A full page view is here. See the Pen diatom1 by Sophia (@fractalkitty) on CodePen.
1 min read
22
Jul
Coded Optical Illusions

Coded Optical Illusions

I had a great time this summer doing art and professional development with Twitter peers. On one of the days, Ellen Thomson hosted activities with Optical Illusions. This got me thinking of all the ways this could be done with coding + math groups. There are two approaches I take in coding groups. T
2 min read
31
Jan
Folding Origami

Folding Origami

Need a pun? This is an origami I-koi-sahedron. This code is from Day 0 to kick off my 101 Days of Creative Code. I will post GIFs to the blog as they are created, but the coding will be done as pages rather than posts ( I didn’t want to spam my followers).
1 min read
23
Jan
Locomotive Rose Art

Locomotive Rose Art

The equations used to produce these plots are in the family of rose curves. This particular form is composed of two curves added together. It almost feels like there is some locomotion happening in the visualization, and it is fun to think about the gears and shafts might that make this pattern. r =
1 min read
14
Jan
Parabolic Beams

Parabolic Beams

I love thinking of parabolas as being formed with a directrix and focus. Coming from a background in trajectory analysis, I find the abstract relationships of the curve to the point and line beautiful. When a light shines through the focus of a parabolic mirror, the light reflected is orthogonal to
1 min read

Want to become a better programmer? Join the Recurse Center!

Sophia

Mathematics educator and creative coder exploring the beauty of mathematical concepts through interactive visualizations and playful learning.

Mathematics

Education

Creative Coding