Structure from Chaos: Fractals Generated on the Circle of Fifths via the Chaos Game
ฝัง
- เผยแพร่เมื่อ 29 พ.ค. 2024
- Running the chaos game on the circle of fifths, producing music to accompany the beautiful fractals that result.
We start using a triangle on the notes C, E, and A♭ (forming an augmented chord), and play the chaos game to generate the Sierpiński triangle.
Then we use a hexagon on the notes C, D, E, G♭, A♭, and B♭ (a whole-tone scale). For optimal packing, the ratio used to divide the lines in the chaos game is 0.667 for a hexagon.
Next we use all 12 notes (the chromatic scale) to form a dodecagon fractal. The dodecagon is optimally packed with a ratio of 0.789 to divide the lines.
Finally, we use a square (i.e. a diamond) on the notes C, E♭, G♭, and A (forming a diminished 7th chord). Playing the normal chaos game on a square, however, doesn't yield a fractal. It only produces uniform noise within the square. When a simple restriction is added: not allowing any corner to be repeated twice in a row, a beautiful fractal results.
0:00 Sierpiński Triangle
3:54 Hexagon Chaos Game
7:05 Dodecagon Chaos Game
10:27 Square Chaos Game
________
Interested in learning more about fractals, 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):
▶ "The Fractal Geometry of Nature" by Benoit B. Mandelbrot: amzn.to/4apa7pT
▶ "Fractals Everywhere" by Michael F. Barnsley: amzn.to/4apgh9r
▶ “Algorithms” (4th Edition) by Robert Sedgewick & Kevin Wayne: amzn.to/3uo25xR
▶ “Effective Java” (3rd Edition) by Joshua Bloch: amzn.to/3HOnYJL
▶ “Design Patterns: Elements of Reusable Object-Oriented Software” by Erich Gamma, Richard Helm, Ralph Johnson, & John Vlissides: amzn.to/49fpr7R
▶ “Discrete Algorithmic Mathematics” by Stephen B. Maurer & Anthony Ralston: amzn.to/4bmsOvG
#fractal #math #music #beauty #art #mathematics #code #programming #computerscience #processing #java #visualization #algorithmicmusic #computermusic #experimental #hypnotic #randomness - เพลง
4:52 its amazing how similar this sounds to Chamber of Sages from Legend of Zelda.
It's the whole tone scale! That specific series of six notes, do, re, mi, fi, si, and li (which are, in this case, C, D, E, F#, G#, and A#) are often used for making mysterious, dreamlike songs in movies and video games. Each note is spaced two semitones apart. It sounds particularly like the Chamber of Sages here (which also uses this note set) because we're in the same key (C).
Haha thought the same thing g
It even looks a bit like the chamber of sages from top down too
So um, for the square: Yes it will not work if the line ratio is 0.5. Cuz in order to the sierpinski carpet to be made, you need the line ratio to be 2/3 at a random vertex AND MIDPOINT. So restricting the process is the only best way if you run the chaos game to the circle of fifths
Played the video too loud and my furniture started to levitate. And I think I opened a portal.
9:00: Coltrane is jealous.
Me trying to do every combination lock to get in my brothers phone:
Must be what Spielberg was thinking b4 he made close encounters
it would be interesting to hear what a different selection of notes assigned for the octaves or halving of the distances between the two points instead of repeating the same pitch. eg run through the harmonic series using that note that is being halved as the fundamental, eg at 0.49 E, E, B, E, G#B, D and based over a C fundamental C, C, G, C, E, G, Bb and etc
i love fractals
That is more the result of the chosen method rather than something to do with notes and music.
Chaos Within Structure
=
Structure Within Chaos
i just listened to fractals for so long
Why is 0.789 used on the dodecahedron fractal?
2:25 *insert Zelda chest opening theme here*
Nice video! I had no idea about "chaos games".
I'm curious, though, what language and libraries are you using for visualizing these fractals and playing the notes?
1:35
The sound is like c418 - cat
Its nice you doing other sort of content!
Super cool channel man!
7:01 Now *that* is what I call, the Koch Hexagram!
Beautiful
The sounds are satisfying
3:25 fractal sounds.. awesome 😎
Great video
Sumamente interesante, saludos desde uruguay
Algomotion voice jumpscare???
So cool! Like a treasure hunt.
The dodecagon is super cool
Sounds like hitting the jackpot on a slot machine, or so ive heard 😂
It’s the trifor
y
THE TRIFORCE IS REAL!
Why was 0.789 used for the Dodecahedron? Curious to look further into it
When are you releasing on spotify
Debating using this for music inspo
Sierpinski did the Triforce before it was cool
If we could use this to find of song of stars in the night sky that would be awesome
C augmented C-E-A ❤
C E Ab
1º - Suavemente
What happens in the sierpinski triangle if the initial point selected is in the largest "blank" triangle in the middle somewhere? Would it be the same but with an extra dot where you started?
Yes - this is demonstrated in a short on this channel.
Look at all the little triangle people
Make a mandelbrodt set next!!!
i belive if you changed tthe note to be jazz bass samples it would sound really fire
my teacher showed this video in class
maybe the 3 circle points and the midway process are just using the chaos dots to display 'their' structure/ so it's not as much the chaos initially containing any structure. if the rules were for example non-equilateral placement, the chaos would 'display' the structure of that arrangement. But but maybe we could consider randomness a rule like the others, what happens next you won't believe! Just kidding i don't know what would come out of it. Oh you could use digits of pi or phi to replace random().
i started writing this in Daz Studio (Qt/Javascript1) charged particles interacting through time so motion.
ballz = Scene.findNodeByLabel("ballz");
nodes = ballz.getNodeChildren();
f = new Array()
for( i = 0; i < n; i++ )
{
node = nodes[i];
f[i] = Math.random() * 2 - 1;
obj = node.getObject()
if( obj )
shp = obj.getShape(0)
mat = shp.getMaterial( 0 );
if( f[i] < 0 )
mat.setDiffuseColor( Color( "blue" ) );
else
mat.setDiffuseColor( Color( "red" ) );
}
dsg
we could say but not really understand "it's not order out of chaos, it's chaos into order or constrained by order, or marshalling chaos or classifying random things like positions (or distances) in the game's domain.
What if you select a dot inside of the void
wowie
Hey AlgoMotion, I also work with music, quaternions and the Sierpiński triangle. We should do a project together.
But this is true for any triangle, why the circle of fifths?
Interesting. Does the last shape have any sort of name? Great video
Not that I know of, just a cool looking fractal! Thanks for watching.
@@AlgoMotion it looks like a fps map
Which software did you use to simulate?
What software is this and can it be used in a DAW like FL Studios. Thank you!
P5.js? Tell me pls.
1.Sierpiñski triangle
2.Hexagon Chaos Game
...
Is there any correlation between chaos game and cymatics? Seems the organization is similar, in a way
I tried doing it, but it doesn't work.. Maybe I didn't do it correctly idk.
Does anyone know what kind of app or program is he using for this?
Presumably code he wrote?
at ~0:25 the inside out theme's motif plays
0:23 allows one to hear it in full
7:55 minecraft music disc
That's interesting but, what is the point of using notes if you're not doing it for scales ?
何でこうなるのですかね?
あと、中東のマカームをベースに作図したらどうなりますかね?
Do more bogosort live please?
It's live right now!
Okay
It sounds like Arkenoid.
If you want a headache watch this video
chaos game is my least favourite way of rendering an IFS, but I guess the better ways can't be easily turned into music.
voice reveal?
It sounds, like the
Duran Hungry Wolf arpeggio:
th-cam.com/video/xROKxMbsIRA/w-d-xo.html
The second one sounds almost exactly like Zelda OoT
Has nothing to do with the circle of fifths though. It just depends if you start with an equilateral polygon like triangle, hexagon, etc. It's not the magic of music, as one might think when reading the title ;)
The circle of fifths is just being used here as a vehicle for adding *audio* to these well-known fractal visualizations. It facilitates a basic form of *algorithmic composition* of music to accompany the chaos game visuals (algorithmic composition is a common theme on this channel).
It should be clear that the circle of fifths is not "producing" the fractals, but rather the fractals are just being superimposed on top of the circle of fifths, merely to add a musical element.
Did you purposely stayed away from the center?
The triangle cannot be in the center because of the way the points are oriented
If you start in the center, there will be 1 dot in the center of the serpenski triangle
The aspect ratio prevents it from being in the center for the rest of the
Pretty snowflakes
Basically, a complicated cherry picking, it works only because of restrictions of an angles you start with. If you would really take it randomly, it would be just a mess.
What is the connections with circle of fifth? Except the circle? The notes are not even related to the position or angle inside but only to the random note (and not even the good one) i dont t deny the beauty of maths here (that are not a scoop but ok it is nice) but why underlying lies like wrong links
The 3 points on a circle producing the Sierpinski triangle (the 1st example in the video) is a well-known mathematical phenomena. The circle of fifths really has nothing to do with it, just as the "halfway" notes are in no way "halfway" between anything and anything. I don't mind though -- I think the fractals still are cool and (for most people) unexpected, and the notes add a fun dimension to watching the video.
This isn't chaos at all. Your initial limitations are where the structure comes from. It's like dumping a bunch of sand on top of a bucket, then blowing away all the sand until only the bucket remains and saying... Look! Structure from chaos!
1, Your first point cant be randomly placed. 2. This has nothing to do with the circle of fifths.
This is kinda cool but it has literally nothing to do with the circle of fifths.