Structure from Chaos: Fractals Generated on the Circle of Fifths via the Chaos Game

  Рет қаралды 46,635

AlgoMotion

AlgoMotion

Күн бұрын

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

Пікірлер: 99
@CiscoWes
@CiscoWes 2 ай бұрын
Played the video too loud and my furniture started to levitate. And I think I opened a portal.
@Vindilax
@Vindilax 2 ай бұрын
4:52 its amazing how similar this sounds to Chamber of Sages from Legend of Zelda.
@grishhung2828
@grishhung2828 2 ай бұрын
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).
@TylrVncnt
@TylrVncnt 2 ай бұрын
Haha thought the same thing g
@baefaux
@baefaux Ай бұрын
It even looks a bit like the chamber of sages from top down too
@DF28.mashups
@DF28.mashups 2 ай бұрын
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
@BA-we6bv
@BA-we6bv Ай бұрын
Me trying to do every combination lock to get in my brothers phone:
@channalbert
@channalbert 2 ай бұрын
9:00: Coltrane is jealous.
@MrEthanhines
@MrEthanhines 2 ай бұрын
Must be what Spielberg was thinking b4 he made close encounters
@BlackMoonMaster
@BlackMoonMaster 2 ай бұрын
i love fractals
@marceloislas1413
@marceloislas1413 Ай бұрын
That is more the result of the chosen method rather than something to do with notes and music.
@twbvqc
@twbvqc 2 ай бұрын
i just listened to fractals for so long
@watchtowerdragon7098
@watchtowerdragon7098 Ай бұрын
Chaos Within Structure = Structure Within Chaos
@blobby-ur7vn
@blobby-ur7vn 2 ай бұрын
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
@Nivaleia541
@Nivaleia541 2 ай бұрын
Why is 0.789 used on the dodecahedron fractal?
@jacpa2011
@jacpa2011 2 ай бұрын
Its nice you doing other sort of content!
@reid_makes_art
@reid_makes_art 2 ай бұрын
Super cool channel man!
@sistajoseph
@sistajoseph 2 ай бұрын
Beautiful
@stanley9252
@stanley9252 2 ай бұрын
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?
@TZG-cr1uc
@TZG-cr1uc 2 ай бұрын
The sounds are satisfying
@maxdoubt5219
@maxdoubt5219 21 күн бұрын
So cool! Like a treasure hunt.
@morgunstyles7253
@morgunstyles7253 2 ай бұрын
Great video
@DaveLopez575
@DaveLopez575 2 ай бұрын
3:25 fractal sounds.. awesome 😎
@holyelephantmg8838
@holyelephantmg8838 Ай бұрын
2:25 *insert Zelda chest opening theme here*
@LukesTheBomb
@LukesTheBomb 25 күн бұрын
THE TRIFORCE IS REAL!
@D4N15H_
@D4N15H_ Ай бұрын
1:35 The sound is like c418 - cat
@jaydensanimations7022
@jaydensanimations7022 Ай бұрын
7:01 Now *that* is what I call, the Koch Hexagram!
@deathhzrd
@deathhzrd Ай бұрын
The dodecagon is super cool
@EntergeticalakaBot
@EntergeticalakaBot 2 ай бұрын
Algomotion voice jumpscare???
@OLIVE_MANN
@OLIVE_MANN Ай бұрын
When are you releasing on spotify
@juanpabloaraujotome5272
@juanpabloaraujotome5272 Ай бұрын
Sumamente interesante, saludos desde uruguay
@Poetateoe
@Poetateoe Ай бұрын
Why was 0.789 used for the Dodecahedron? Curious to look further into it
@FantomMC2
@FantomMC2 2 күн бұрын
Summon the Triforce
@alexaleman16
@alexaleman16 2 ай бұрын
Sounds like hitting the jackpot on a slot machine, or so ive heard 😂
@davidknopp1208
@davidknopp1208 2 ай бұрын
It’s the trifor
@HalfBreadOrder
@HalfBreadOrder Ай бұрын
y
@legendari-on-yt-you-mfers
@legendari-on-yt-you-mfers 2 ай бұрын
Debating using this for music inspo
@lyanporto
@lyanporto 10 күн бұрын
on the first one if you started with a point that doesn't lie on the triangle, or if the first line's middle point doesn't fall in the triangle, would it still work?
@Rubygal
@Rubygal Ай бұрын
Look at all the little triangle people
@Mareloko41
@Mareloko41 2 ай бұрын
If we could use this to find of song of stars in the night sky that would be awesome
@rvsamsung77
@rvsamsung77 2 ай бұрын
C augmented C-E-A ❤
@danielkeller6610
@danielkeller6610 2 ай бұрын
C E Ab
@juanpalml7
@juanpalml7 17 күн бұрын
What if you select a dot inside of the void
@shikaishik
@shikaishik Ай бұрын
何でこうなるのですかね? あと、中東のマカームをベースに作図したらどうなりますかね?
@aaroncornelison5229
@aaroncornelison5229 2 ай бұрын
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?
@emeraldnickel
@emeraldnickel 2 ай бұрын
Yes - this is demonstrated in a short on this channel.
@arvydas86
@arvydas86 10 күн бұрын
Run first triangle game again, but first random point start in center. What you'll get?
@pagezmusic5013
@pagezmusic5013 2 ай бұрын
Make a mandelbrodt set next!!!
@vyrezbeatz1159
@vyrezbeatz1159 2 ай бұрын
What software is this and can it be used in a DAW like FL Studios. Thank you!
@96thelycan
@96thelycan Ай бұрын
i belive if you changed tthe note to be jazz bass samples it would sound really fire
@majorse203
@majorse203 2 ай бұрын
wowie
@attaulwasay
@attaulwasay Ай бұрын
Which software did you use to simulate?
@loveandoneness.n.e.t
@loveandoneness.n.e.t Ай бұрын
Is there any correlation between chaos game and cymatics? Seems the organization is similar, in a way
@PupdudePwns
@PupdudePwns Ай бұрын
Sierpinski did the Triforce before it was cool
@jonatandjurachkovitch460
@jonatandjurachkovitch460 Ай бұрын
But this is true for any triangle, why the circle of fifths?
@thecloudwyrm7966
@thecloudwyrm7966 2 ай бұрын
Interesting. Does the last shape have any sort of name? Great video
@AlgoMotion
@AlgoMotion 2 ай бұрын
Not that I know of, just a cool looking fractal! Thanks for watching.
@jeffsmith9384
@jeffsmith9384 Ай бұрын
@@AlgoMotion it looks like a fps map
@durimmiziraj4815
@durimmiziraj4815 2 ай бұрын
P5.js? Tell me pls.
@chry003
@chry003 19 күн бұрын
I tried doing it, but it doesn't work.. Maybe I didn't do it correctly idk.
@joaoericocaldasdelima7735
@joaoericocaldasdelima7735 2 ай бұрын
1º - Suavemente
@mcasualjacques
@mcasualjacques Ай бұрын
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().
@mcasualjacques
@mcasualjacques Ай бұрын
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
@mcasualjacques
@mcasualjacques Ай бұрын
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.
@alexrayder1
@alexrayder1 Ай бұрын
That's interesting but, what is the point of using notes if you're not doing it for scales ?
@floretionguru2977
@floretionguru2977 Ай бұрын
Hey AlgoMotion, I also work with music, quaternions and the Sierpiński triangle. We should do a project together.
@facundomonaco2733
@facundomonaco2733 2 ай бұрын
Does anyone know what kind of app or program is he using for this?
@drdca8263
@drdca8263 Ай бұрын
Presumably code he wrote?
@Fromyoutube640
@Fromyoutube640 Ай бұрын
1.Sierpiñski triangle 2.Hexagon Chaos Game ...
@gbyt034
@gbyt034 2 ай бұрын
at ~0:25 the inside out theme's motif plays
@gbyt034
@gbyt034 2 ай бұрын
0:23 allows one to hear it in full
@azid_hsb
@azid_hsb 2 ай бұрын
Do more bogosort live please?
@AlgoMotion
@AlgoMotion 2 ай бұрын
It's live right now!
@azid_hsb
@azid_hsb 2 ай бұрын
Okay
@pistol._.alexxx
@pistol._.alexxx Ай бұрын
my teacher showed this video in class
@elbonnieto8929
@elbonnieto8929 Ай бұрын
7:55 minecraft music disc
@Finity2010-ud2rl
@Finity2010-ud2rl 10 күн бұрын
You're really restrcting yourself by doing these in the Circle Of Fiths. There are plenty of chaos games that are interesting that aren't mutliples of 12.
@Have79e
@Have79e 4 күн бұрын
The Pythagoreans were right 😨
@Bozpot
@Bozpot 18 күн бұрын
It sounds like Arkenoid.
@matthewgrabowski9212
@matthewgrabowski9212 15 күн бұрын
If you want a headache watch this video
@titaniumbone5979
@titaniumbone5979 2 ай бұрын
voice reveal?
@neopalm2050
@neopalm2050 Ай бұрын
chaos game is my least favourite way of rendering an IFS, but I guess the better ways can't be easily turned into music.
@shredhappy101
@shredhappy101 2 ай бұрын
The second one sounds almost exactly like Zelda OoT
@bantri256
@bantri256 Ай бұрын
It sounds, like the Duran Hungry Wolf arpeggio: kzbin.info/www/bejne/roOyfKuDl9h8iKM
@Mareloko41
@Mareloko41 2 ай бұрын
Did you purposely stayed away from the center?
@gfghdgfghd6391
@gfghdgfghd6391 Ай бұрын
The triangle cannot be in the center because of the way the points are oriented
@gfghdgfghd6391
@gfghdgfghd6391 Ай бұрын
If you start in the center, there will be 1 dot in the center of the serpenski triangle
@gfghdgfghd6391
@gfghdgfghd6391 Ай бұрын
The aspect ratio prevents it from being in the center for the rest of the
@defitsch
@defitsch 2 ай бұрын
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 ;)
@AlgoMotion
@AlgoMotion 2 ай бұрын
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.
@savonliquide7677
@savonliquide7677 Ай бұрын
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
@chaosme1ster
@chaosme1ster Ай бұрын
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.
@Vlow52
@Vlow52 2 ай бұрын
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.
@Titus2.3-5
@Titus2.3-5 Ай бұрын
Pretty snowflakes
@littleguy-ij8jf
@littleguy-ij8jf 8 күн бұрын
Has absolutely nothing to do with circle of fifths but still cool
@isohumulone
@isohumulone Ай бұрын
1, Your first point cant be randomly placed. 2. This has nothing to do with the circle of fifths.
@themichaelconnor42
@themichaelconnor42 Ай бұрын
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!
@Naseem384
@Naseem384 Ай бұрын
This is kinda cool but it has literally nothing to do with the circle of fifths.
Something weird happens when you keep squeezing
11:36
Vox
Рет қаралды 10 МЛН
Ну Лилит))) прода в онк: завидные котики
00:51
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,2 МЛН
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 21 МЛН
The Bubble Sort Curve
19:18
Lines That Connect
Рет қаралды 405 М.
Sounds of the Mandelbrot Set
9:32
CodeParade
Рет қаралды 2,7 МЛН
How I made my own Fractal
17:33
Kuvina Saydaki
Рет қаралды 77 М.
Coding Adventure: Simulating Fluids
47:52
Sebastian Lague
Рет қаралды 1,6 МЛН
Fractals in Conway's Game of Life
6:44
Errantrail
Рет қаралды 311
Can a Bunch of Circles Play Für Elise?
10:27
Marc Evanstein / music․py
Рет қаралды 244 М.
Six Sierpiński Triangle Constructions (visual mathematics)
8:53
Mathematical Visual Proofs
Рет қаралды 31 М.
Hexagons are the Bestagons
9:27
CGP Grey
Рет қаралды 13 МЛН
The Banach-Tarski Paradox
24:14
Vsauce
Рет қаралды 43 МЛН
Akimmmich - TÚSINBEDIŃ (Lyric Video)
3:10
akimmmich
Рет қаралды 278 М.
Artur - Erekshesyn (mood video)
2:16
Artur Davletyarov
Рет қаралды 364 М.
Ademim
3:50
Izbasar Kenesov - Topic
Рет қаралды 48 М.
BABYMONSTER - 'LIKE THAT' EXCLUSIVE PERFORMANCE VIDEO
2:58
BABYMONSTER
Рет қаралды 37 МЛН
Артур Пирожков и Хабиб - МЁД (Премьера клипа 2024)
2:11
Александр Ревва
Рет қаралды 3,3 МЛН
Saǵynamyn
2:13
Қанат Ерлан - Topic
Рет қаралды 755 М.