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 months ago 00:01:34 1
Gorilla Tag Store Launch | Meta Quest
2 months ago 00:08:23 1
#2. Earth is not revolving around Sun. Земля не вращается вокруг Солнца
2 months ago 00:02:59 1
She Keeps Bees Performs ’All Or None/Dark Horse’ | HPL Music