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.

The parametric equations for the parabola are:

  • x = 2at
  • y = at2

The parallel curve equations are:

  • x = 2at+ct/sqrt(1+t2)
  • y = at2 – c/sqrt(1+t2)

Moiré Play!

Moiré is an interference pattern that can occur in physics, photography, art, math, and more. As a photographer and mathematician, I have always enjoyed seeing these artifacts emerge. Today I played with some Moiré animation for fun in p5.js.

See the Pen Moire_Play by Sophia (@fractalkitty) on CodePen.

After playing, I of course googled Numberphile and moire and found another wonderful video of theirs:

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, bolts, tennis balls, and other objects can work as weights.
    • Record how long it takes for the pendulum to return to its start (this is called the period).
    • Change the length of the string to see if it changes the period.
    • Change the mass of the weight to see if it changes the period.
    • For older learners, you may want to try to find the relationship between time, period and length.
    • With all ages, it can be fun to look at trigonometric functions with this activity.
  • Another activity is to create a wave pendulum. This can be done with a broomstick and weights, or other construction toys. I like to bring in a maker box and materials and have learners devise a way to make a wave pendulum. Once you have one working, then see if learners can explain why it’s called a wave pendulum. For those that like to code, look at creating a wave pendulum . My code is here and running below. At the bottom of this post I have a portable laser cut pendulum I designed.

See the Pen jOqOJNL by Sophia (@fractalkitty) on CodePen.

  • Another activity is a painting pendulum. Hang a cup full of paint over a canvas and push it into a circular motion and watch the curves that are created as the pendulum is dampened. These can be a lot of fun with large tripods in bigger spaces.
  • Finally, I love to create chaotic pendulums because they are such a contrast to the previous activities. To create a chaotic pendulum, you can use building toys to create a tripod with a pendulum and then put a magnet in the weight. Put other magnets just beyond the reach of the pendulum and kick it off. The motion observed will be nothing like the periodic and predictable motion of the previous exercises. This is a great opportunity to talk about dynamic systems, chaos, and unpredictable behaviors.
  • Another topic that can be discussed is how pendulums dampen and why they do. What would happen in a vacuum?

If you like what you see, please consider donating to this website.

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 is a movie:

References:

I used the polygon function from this website: https://stephanmax.is/writing/generative-art-with-p5js. It references this series of videos to make generative art:https://www.youtube.com/playlist?list=PLyRZnpOSgMj3K8AV2I6UldnvTj6d_Zrf0