javascript

11
Aug
SA2: Animated Lines

SA2: Animated Lines

There are infinite possibilities for linear function animations. This SA project will give some ideas to practice using linear equations with p5.js. Introduce if-else statements (conditions), logical operators, random(), text(), rect(), variables, and using p5.js for animation (loop). Below are a fe
2 min read
10
Aug
SA1: Real Numbers

SA1: Real Numbers

Here is my first Scripting Algebra (SA) post! I hope to keep these coming (with about 5 posts for each semester of Algebra). Often Algebra classes start with the Real Number System. This SA task is to program a graphic for the Real Number system. This can be a Venn diagram, animation, or another pro
2 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
03
Aug
rotating hexagons without touching

Rotating Hexagons

This is a p5.js script I started played with as I get ready to post about stop animation in my 52 weeks of hands-on-math. Here is a link to edit code. You may want to play with the angles, number of sides in the polygon, rotation rate, etc. If the javascript isn’t loading, then here […]
30
Jun
a sunflower making a heart

Week 36: Golden Angle Scavenger Hunt and Drawing Phi-Nominal Phi-lowers

The Golden ratio appears in nature all around us. Flowers and other botanicals often grow at an optimal (Golden) angle of about 137.5 degrees. For the 52-weeks of math activity, I encourage learners to seek out the Golden angle on a scavenger hunt. Take pictures or sketch in a nature journal the pin
2 min read
29
Jun
a sunflower spiral pattern made with stickynotes

Sticky Note Sunflower

What you are seeing is a growth pattern of sticky notes that uses the Golden Angle (137.5 degrees) and then slowly decreases. This angle is commonly found in the plants all around us because it is an optimal angle for growth. It was a lot of fun playing with the growth angle while creating memorizin
1 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