math is fun

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
25
Sep
From the Void

From the Void

Hexagon and parametric spiral play. I find myself doodling with code lately more than with my pen. I have one more scripting algebra post, but feel like I have a much larger library for a pre-calc set of activities. Thoughts? The GIF is too large for this site or twitter, so I stashed it on […]
24
Sep

SA9: Quadrant Play

This Scripting Algebra (SA) activity looks at quadrants, mouse location, and interactive art p5.js. This activity assumes that the skills from SA1-SA8 were introduced (if-else, logical operators, random(), text(), rect(), variables, loop, pow, for, functions, translate, modulo, etc.). This activity
1 min read
16
Sep
Expanded

Expanded

With commas: Without commas:
1 min read
13
Sep
Foiled by a Foil

Foiled by a Foil

I couldn’t resist this GIF for my algebra students. Foiling can be such fun!
12
Sep
Moiré GIF: by Opal

Moiré GIF: by Opal

My daughter started playing with moiré in procreate after I fiddled with it in a previous post. You know we breathe math in our home. She wanted to share:
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
Sep
Menger Sponge Cat in Space

Menger Sponge Cat in Space

High res: Low res:
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