p5js

23
Oct
Laser Pointer Googly Eyes

Laser Pointer Googly Eyes

I am glad I can amuse myself. This is a simple script that I may integrate into an Algebra class for looking at points on a line. If you want a webpage version for students, click here. If you want code, see below. Click to make more eyes, and you might get freaked out if […]
1 min read
23
Oct
Fractal Ink to Code

Fractal Ink to Code

After drawing the fractal prompt today for Mathober, I played around to make it in p5js. Below is the Codepen to play with. I almost feel like it should have a surprise when they align…maybe for another day. See the Pen fractal_Mathober by Sophia (@fractalkitty) on CodePen.
1 min read
15
Oct
Lune of Hippocrates Clock

Lune of Hippocrates Clock

After drawing the Lune of Hippocrates yesterday for Mathober, I played around to make a Lune clock today. Below is codepen (p5 is here). I use a lot of these small projects for students to play with in an hour of code group. This one may not be as popular as projecting memes and cats […]
1 min read
11
Oct
Fantasy Maps to Planets

Fantasy Maps to Planets

For those that have created fantasy maps using previous posts here, in classes, or elsewhere in Worldbuilding, D&D, or art, I created a small script to see your maps as spherical planets. You can click to rotate and move the mouse off the canvas to have rotation. You may want to draw a map that […]
1 min read
09
Sep
Parallel to a Parabola

Parallel to a Parabola

I received a question today about what curve is parallel to a parabola. I sat for a minute and realized that it wasn’t another parabola. It required parametric equations (at least if you wanted to keep it simple). That of course lead to code: See the Pen jOqzMJb by Sophia (@fractalkitty) on CodePen.
1 min read
05
Aug
black paint on paper made from a pendulum

Week 49: Pendulum Labs

Pendulums are wonderful physics toys that are great for exploring periodic functions. For week 49, I encourage learners to get out some string, weights, and stop watches. Here are some ideas for playing with math and pendulums: Start with a string and a weight to observe basic pendulum motion. Nuts,
2 min read
27
May
a strange attractor drawn like silk with turquoise lines and dots

I’m Attracted to Attractors

So many plots and mathematical musings throughout my life have brought on a sense of artistic beauty and awe within my being. In the windowless halls of engineering firms I have smiled at harmonics, or in a homeschooling room squealed in glee when I stumbled upon Pisano periods by trying to play Fib
2 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