Rotating a Pentagon and a Heptagon on the Circle of Fifths
Rotating a pentagon or a heptagon on the circle of fifths plays a chromatic scale, a result I found rather surprising!
This visualization was written in Java using a graphical library called Processing (), and Java’s built-in MIDI library for sound (package ).
________
Interested in learning more about algorithms and how to program? Here are some useful and/or classic textbooks that I recommend (these are affiliate links, if you buy one, I get a small commission):
▶ “Algorithms” (4th Edition) by Robert Sedgewick & Kevin Wayne:
▶ “Effective Java” (3rd Edition) by Joshua Bloch:
▶ “Design Patterns: Elements of Reusable Object-Oriented Software” by Erich Gamma, Richard Helm, Ralph Johnson, & John Vlissides:
▶ “Discrete Algorithmic Mathematics” by Stephen B. Maurer & Anthony Ralston:
#music #visualization #polygon #pentagon #circleoffifths #musictheory #scale #chromaticscale #math #geometry #rotation #modulararithmetic
1 view
167
28
2 weeks ago 00:08:39 1
😱 NO PARTS For Wheelie?! 😱 (Wheelly Cool) - Hill Climb Racing 2
4 weeks ago 00:08:05 1
🔔❗ New Team Event (Blizzard Blitz) - Hill Climb Racing 2
1 month ago 00:23:16 1
UNWIND 20 Min Full Body Stretch Routine | Caroline Girvan
1 month ago 00:30:43 1
➜ Over 50? 30-Minute to Say Goodbye to MUFFIN TOPS ➜ 2-Week Standing Workout Challenge (Impact-Free)
2 months ago 00:16:20 4
Реставрация старой игрушки
3 months ago 00:01:34 3
Gorilla Tag Store Launch | Meta Quest
3 months ago 00:08:23 1
#2. Earth is not revolving around Sun. Земля не вращается вокруг Солнца
3 months ago 00:02:59 1
She Keeps Bees Performs ’All Or None/Dark Horse’ | HPL Music