Тёмный

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

AlgoMotion
Подписаться 27 тыс.
Просмотров 41 тыс.
50% 1

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

Видеоклипы

Опубликовано:

 

18 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 88   
@Vindilax
@Vindilax Месяц назад
4:52 its amazing how similar this sounds to Chamber of Sages from Legend of Zelda.
@grishhung2828
@grishhung2828 Месяц назад
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 Месяц назад
Haha thought the same thing g
@baefaux
@baefaux Месяц назад
It even looks a bit like the chamber of sages from top down too
@CiscoWes
@CiscoWes Месяц назад
Played the video too loud and my furniture started to levitate. And I think I opened a portal.
@dragonfire.8271
@dragonfire.8271 Месяц назад
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 Месяц назад
9:00: Coltrane is jealous.
@BlackMoonMaster
@BlackMoonMaster Месяц назад
i love fractals
@marceloislas1413
@marceloislas1413 Месяц назад
That is more the result of the chosen method rather than something to do with notes and music.
@MrEthanhines
@MrEthanhines Месяц назад
Must be what Spielberg was thinking b4 he made close encounters
@watchtowerdragon7098
@watchtowerdragon7098 Месяц назад
Chaos Within Structure = Structure Within Chaos
@twbvqc
@twbvqc Месяц назад
i just listened to fractals for so long
@blobby-ur7vn
@blobby-ur7vn Месяц назад
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
@reid_makes_art
@reid_makes_art Месяц назад
Super cool channel man!
@jacpa2011
@jacpa2011 Месяц назад
Its nice you doing other sort of content!
@Nivaleia541
@Nivaleia541 Месяц назад
Why is 0.789 used on the dodecahedron fractal?
@sistajoseph
@sistajoseph Месяц назад
Beautiful
@holyelephantmg8838
@holyelephantmg8838 10 дней назад
2:25 *insert Zelda chest opening theme here*
@D4N15H_
@D4N15H_ 16 дней назад
1:35 The sound is like c418 - cat
@morgunstyles7253
@morgunstyles7253 Месяц назад
Great video
@TZG-cr1uc
@TZG-cr1uc Месяц назад
The sounds are satisfying
@LukesTheBomb
@LukesTheBomb 3 дня назад
THE TRIFORCE IS REAL!
@stanley9252
@stanley9252 Месяц назад
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?
@jaydensanimations7022
@jaydensanimations7022 22 дня назад
7:01 Now *that* is what I call, the Koch Hexagram!
@DaveLopez575
@DaveLopez575 Месяц назад
3:25 fractal sounds.. awesome 😎
@juanpabloaraujotome5272
@juanpabloaraujotome5272 Месяц назад
Sumamente interesante, saludos desde uruguay
@davidknopp1208
@davidknopp1208 Месяц назад
It’s the trifor
@HalfBreadOrder
@HalfBreadOrder 20 дней назад
y
@alexaleman16
@alexaleman16 Месяц назад
Sounds like hitting the jackpot on a slot machine, or so ive heard 😂
@deathhzrd
@deathhzrd Месяц назад
The dodecagon is super cool
@EntergeticalakaBot
@EntergeticalakaBot Месяц назад
Algomotion voice jumpscare???
@Poetateoe
@Poetateoe 9 дней назад
Why was 0.789 used for the Dodecahedron? Curious to look further into it
@OLIVE_MANN
@OLIVE_MANN 8 дней назад
When are you releasing on spotify
@pistol._.alexxx
@pistol._.alexxx 17 дней назад
my teacher showed this video in class
@Rubygal
@Rubygal Месяц назад
Look at all the little triangle people
@Mareloko41
@Mareloko41 Месяц назад
If we could use this to find of song of stars in the night sky that would be awesome
@rvsamsung77
@rvsamsung77 Месяц назад
C augmented C-E-A ❤
@danielkeller6610
@danielkeller6610 Месяц назад
C E Ab
@legendari-on-yt-you-mfers
@legendari-on-yt-you-mfers Месяц назад
Debating using this for music inspo
@PupdudePwns
@PupdudePwns Месяц назад
Sierpinski did the Triforce before it was cool
@mcasualjacques
@mcasualjacques 19 дней назад
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 19 дней назад
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 19 дней назад
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.
@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
@aaroncornelison5229
@aaroncornelison5229 Месяц назад
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 Месяц назад
Yes - this is demonstrated in a short on this channel.
@pagezmusic5013
@pagezmusic5013 Месяц назад
Make a mandelbrodt set next!!!
@majorse203
@majorse203 Месяц назад
wowie
@joaoericocaldasdelima7735
@joaoericocaldasdelima7735 Месяц назад
1º - Suavemente
@jonatandjurachkovitch460
@jonatandjurachkovitch460 16 дней назад
But this is true for any triangle, why the circle of fifths?
@vyrezbeatz1159
@vyrezbeatz1159 Месяц назад
What software is this and can it be used in a DAW like FL Studios. Thank you!
@96thelycan
@96thelycan 16 дней назад
i belive if you changed tthe note to be jazz bass samples it would sound really fire
@attaulwasay
@attaulwasay 28 дней назад
Which software did you use to simulate?
@Fromyoutube640
@Fromyoutube640 17 дней назад
1.Sierpiñski triangle 2.Hexagon Chaos Game ...
@floretionguru2977
@floretionguru2977 23 дня назад
Hey AlgoMotion, I also work with music, quaternions and the Sierpiński triangle. We should do a project together.
@thecloudwyrm7966
@thecloudwyrm7966 Месяц назад
Interesting. Does the last shape have any sort of name? Great video
@AlgoMotion
@AlgoMotion Месяц назад
Not that I know of, just a cool looking fractal! Thanks for watching.
@jeffsmith9384
@jeffsmith9384 19 дней назад
@@AlgoMotion it looks like a fps map
@gbyt034
@gbyt034 Месяц назад
at ~0:25 the inside out theme's motif plays
@gbyt034
@gbyt034 Месяц назад
0:23 allows one to hear it in full
@elbonnieto8929
@elbonnieto8929 14 дней назад
7:55 minecraft music disc
@facundomonaco2733
@facundomonaco2733 Месяц назад
Does anyone know what kind of app or program is he using for this?
@drdca8263
@drdca8263 Месяц назад
Presumably code he wrote?
@azid_hsb
@azid_hsb Месяц назад
Do more bogosort live please?
@AlgoMotion
@AlgoMotion Месяц назад
It's live right now!
@azid_hsb
@azid_hsb Месяц назад
Okay
@shikaishik
@shikaishik Месяц назад
何でこうなるのですかね? あと、中東のマカームをベースに作図したらどうなりますかね?
@durimmiziraj4815
@durimmiziraj4815 Месяц назад
P5.js? Tell me pls.
@alexrayder1
@alexrayder1 Месяц назад
That's interesting but, what is the point of using notes if you're not doing it for scales ?
@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 Месяц назад
The second one sounds almost exactly like Zelda OoT
@defitsch
@defitsch Месяц назад
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 Месяц назад
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.
@bantri256
@bantri256 Месяц назад
It sounds, like the Duran Hungry Wolf arpeggio: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xROKxMbsIRA.html
@titaniumbone5979
@titaniumbone5979 Месяц назад
voice reveal?
@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.
@Mareloko41
@Mareloko41 Месяц назад
Did you purposely stayed away from the center?
@gfghdgfghd6391
@gfghdgfghd6391 28 дней назад
The triangle cannot be in the center because of the way the points are oriented
@gfghdgfghd6391
@gfghdgfghd6391 28 дней назад
If you start in the center, there will be 1 dot in the center of the serpenski triangle
@gfghdgfghd6391
@gfghdgfghd6391 28 дней назад
The aspect ratio prevents it from being in the center for the rest of the
@Titus2.3-5
@Titus2.3-5 25 дней назад
Pretty snowflakes
@Vlow52
@Vlow52 Месяц назад
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.
@themichaelconnor42
@themichaelconnor42 9 дней назад
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!
@isohumulone
@isohumulone 26 дней назад
1, Your first point cant be randomly placed. 2. This has nothing to do with the circle of fifths.
@QuindaliusBarnacleJonesJr.
@QuindaliusBarnacleJonesJr. Месяц назад
This is kinda cool but it has literally nothing to do with the circle of fifths.
Далее
AI Learns to Play Wii Sports
29:25
Просмотров 180 тыс.
Transformer Neural Networks Derived from Scratch
18:08
Просмотров 113 тыс.
Я НЕ УМЕЮ СНИМАТЬ ТАКИЕ ВИДЕО
00:16
How I made my own Fractal
17:33
Просмотров 75 тыс.
The Bubble Sort Curve
19:18
Просмотров 351 тыс.
Coding Adventure: Simulating Fluids
47:52
Просмотров 1,6 млн
Chaos Game - Numberphile
8:39
Просмотров 994 тыс.
Waves hitting a Sierpinski carpet
6:08
Просмотров 716 тыс.
Can a Bunch of Circles Play Für Elise?
10:27
Просмотров 192 тыс.
Animation vs. Physics
16:08
Просмотров 22 млн
aespa 에스파 'Supernova' MV
3:14
Просмотров 42 млн
POLI - Mama (Official music video)
1:18
Просмотров 1,9 млн
OBLADAET - 99
2:16
Просмотров 294 тыс.