Steamed Quad Trees

  Рет қаралды 18,426

stanbwonderful

stanbwonderful

24 күн бұрын

I was playing around with quadtrees in Python. I popped steamed hams into it and this came out. It's an Albany Algorithm.

Пікірлер: 84
@not_estains
@not_estains 11 күн бұрын
i like how whenever it gets extremely unstable and starts putting pixels everywhere it resets to a low resolution and repeats the cycle again
@stanbwonderful
@stanbwonderful 11 күн бұрын
Each cell splits into 4 when the complexity goes over a certain amount, I just had the threshold changing as the loop runs. It resets after a certain amount. I was really just playing around with it, trying new things :)
@not_estains
@not_estains 10 күн бұрын
@@stanbwonderful cool
@not_estains
@not_estains 6 күн бұрын
@@stanbwonderful what if you made an entire video like this but the entire screen has the filter and the squares don't have borders
@stanbwonderful
@stanbwonderful 6 күн бұрын
@@not_estains Yeah, that's how quadtrees are used in video compression. I added the lines so I could see what was being split and what wasn't, I was having fun. Having it only on half of the screen just made it run faster :)
@74oshua
@74oshua 5 күн бұрын
​@@stanbwonderfulThat's really interesting, actually. I learned about quadtrees while writing a physics simulation, very cool to learn it has such a widespread application. Thanks for sharing!
@-YELDAH
@-YELDAH 11 күн бұрын
How can i laugh at this? There's no firetruck!
@CasualLemmonJuice
@CasualLemmonJuice Күн бұрын
Well dam you spoiled it
@wdelgenio
@wdelgenio 3 күн бұрын
Well, I'm from Utica and I've never heard anyone mention the 'Albany Algorithm'.
@NateTheGnat
@NateTheGnat 11 күн бұрын
Looks more like a Utica Algorithm to me…. 🤔
@stanbwonderful
@stanbwonderful 11 күн бұрын
Oooooh I don't know Utica! :o
@stanbwonderful
@stanbwonderful 10 күн бұрын
I'm a dimbulb, took me a while to work out what Utica meant...heard a billion times but never seen it written down :P
@xaigamer3129
@xaigamer3129 7 күн бұрын
oh not in utica no, it’s an albany algorithm
@shoebill4902
@shoebill4902 23 сағат бұрын
​@@xaigamer3129I see...
@scroll_serpent
@scroll_serpent 20 күн бұрын
new aesthetic just dropped
@Jabberwockybird
@Jabberwockybird 15 күн бұрын
JPG compression?
@scroll_serpent
@scroll_serpent 14 күн бұрын
@@Jabberwockybird ya that's what i meant ya dummy
@francisconikotian2326
@francisconikotian2326 5 күн бұрын
this is how video compression works I imagine
@stanbwonderful
@stanbwonderful 5 күн бұрын
That's what I was aiming for :)
@webx135
@webx135 3 күн бұрын
Yes, but also no. But kinda yes.
@NinjaBartender
@NinjaBartender Күн бұрын
@@stanbwonderful could i have the link to the program please?
@Salutethesun2
@Salutethesun2 2 күн бұрын
Steqmed hams but Semour used the golden rotation to cook his roast
@Paddylol
@Paddylol 9 күн бұрын
love how the reset was timed perfectly with "GOOD LORD WHAT IS HAPPENING IN THERE?!"
@coolmugfanx37-019ise
@coolmugfanx37-019ise 9 күн бұрын
''well seymor we are mosaics''
@FezTheSpaceBiker
@FezTheSpaceBiker 12 күн бұрын
Sega CD compression be like
@stanbwonderful
@stanbwonderful 11 күн бұрын
could well be :)
@carlos_did_a_thing
@carlos_did_a_thing 8 күн бұрын
now I wanna see steamed hams on the sega cd
@OrangeHarrisonRB3
@OrangeHarrisonRB3 8 күн бұрын
The Albany Algorithm is my favorite dance step
@1marcelfilms
@1marcelfilms 9 күн бұрын
POV a bird sits on the dish
@BlazeAnimayshunz
@BlazeAnimayshunz 11 күн бұрын
> Pablo Picasso liked that
@UnaturalShadows
@UnaturalShadows Күн бұрын
the description is what got my like
@GenericSweetener
@GenericSweetener 20 күн бұрын
Lovely work, good to see some proper mathematics applied to this. It really legitimizes the field of steaming hams
@rosiepone
@rosiepone 20 күн бұрын
I wonder how this would look on bad apple
@stanbwonderful
@stanbwonderful 19 күн бұрын
There's all kinds of cool stuff you can get running on a bad Apple :D
@RudyHH2
@RudyHH2 12 күн бұрын
no
@-YELDAH
@-YELDAH 11 күн бұрын
yes
@asheep7797
@asheep7797 8 күн бұрын
maybe
@FireyDeath4
@FireyDeath4 6 күн бұрын
sometimes
@calicust
@calicust Күн бұрын
can we get a version where the bottom left and top right are also quad trees, and all the black lines are hidden? i wanna see the division in real time
@eliburke2779
@eliburke2779 20 күн бұрын
i have no idea whats happening but im here for it
@stanbwonderful
@stanbwonderful 19 күн бұрын
It's just nerd stuff but I'm having fun :)
@notpot6886
@notpot6886 9 күн бұрын
Matematically correct Steamed Hams
@harrisonmoore3841
@harrisonmoore3841 8 күн бұрын
I have no idea what I'm looking at, but I like it
@Stephillpotten
@Stephillpotten 5 күн бұрын
I think I know how to use spin now
@chox7517
@chox7517 9 күн бұрын
This actually reminds me of video compression tbh
@stanbwonderful
@stanbwonderful 9 күн бұрын
That's what I was aiming for! :D
@fireball9670
@fireball9670 11 күн бұрын
Getting pop-up windows on bspwm
@underarmbowlingincidentof1981
@underarmbowlingincidentof1981 20 күн бұрын
beautiful !!
@stanbwonderful
@stanbwonderful 20 күн бұрын
Aww thanks :)
@cq.cumber_offishial
@cq.cumber_offishial 6 күн бұрын
looking like a jpeg
@LandonEmma
@LandonEmma 8 күн бұрын
I use Python but IDK what that quadtrees module, I gotta do this now
@stanbwonderful
@stanbwonderful 7 күн бұрын
There's all kinds of tutorials online, just give it a goog and have fun :)
@solemnwaltz
@solemnwaltz 4 күн бұрын
It would look cooler without the borders
@stanbwonderful
@stanbwonderful 4 күн бұрын
Yeah, agreed...at the time I was just having fun playing around with the code and wanted to be able to see what it was doing when I changed things :)
@marcelguinhos9022
@marcelguinhos9022 4 күн бұрын
Can you actually do compression with this?
@AJLord
@AJLord 9 күн бұрын
steamed hams is still alive
@pepperypeppers2755
@pepperypeppers2755 20 күн бұрын
Can you apply this effect to the entire frame?
@stanbwonderful
@stanbwonderful 20 күн бұрын
Yeah, I was just playing around with this one, running the algorithm on different parts of the screen and changing the variables a bit. I think I've got a few more vids on my channel.
@stanbwonderful
@stanbwonderful 20 күн бұрын
kzbin.info/www/bejne/aKDHdH2vmrCGmdU
@stanbwonderful
@stanbwonderful 20 күн бұрын
kzbin.info/www/bejne/hXeWoX2YbcZ1i80
@Blaineworld
@Blaineworld 7 күн бұрын
so if i understand correctly, each rectangle can contain either a color or two other rectangles
@stanbwonderful
@stanbwonderful 6 күн бұрын
Each cell gets scanned pixel by pixel and a bit of number crunching is done to see how much colour variation there is in that cell. If the colour variation is over a certain threshold it gets split into four smaller cells. If you want to learn more you can give it a search, there's a whole bunch of videos about it here on youtube.
@suhnih4076
@suhnih4076 14 күн бұрын
Damn
@TheDZHEX
@TheDZHEX 7 күн бұрын
no firetruck... sad
@stanbwonderful
@stanbwonderful 5 күн бұрын
I'm sorry, I made a terrible mistake, I just hope you can find a way to forgive me :(
@TORNADOdotjpeg
@TORNADOdotjpeg 4 күн бұрын
so thats how they make jpeg compression /c:
@dubbynelson
@dubbynelson 8 күн бұрын
with how bloated Python's standard library is there's probably a whole function somewhere in there specifically made to convert an image sequence to quadtrees (and convert it back to video with an audio track via FFMPEG)
@stanbwonderful
@stanbwonderful 7 күн бұрын
Where's the fun in that? :P
@lewatoaofair2522
@lewatoaofair2522 8 күн бұрын
2:27 Chalmers looks like Alex from A Clockwork Orange.
@joshuabessire9169
@joshuabessire9169 8 күн бұрын
Oh! We are out of Ideas for Steamed Hams! I didn't say stop.
@fromD7
@fromD7 3 күн бұрын
"Steamed Quad Trees" as if this is some official thing that has any value at all. "Look at me guys I put a bunch of red dots on the screen. This is called dotting now! Oh look I put red dots over Steamed Hams so I'll call the video Steamed Dotting"
@Idran
@Idran 3 күн бұрын
It is, it goes back to the 70s. It's a pretty common algorithm used in things like image compression, collision detection in 2d games, spreadsheet management; it's handy for basically anything that involves working with data arranged in a 2d grid. Like most CS topics, there's a pretty good, well-cited article on Wikipedia about it, but you could also turn up some good info on it just with Google.
@fromD7
@fromD7 3 күн бұрын
@Idran Wow and look at the result. Really complex and aesthetic the way it creates a bunch of pixelated squares on the screen. How revolutionary.
@jean-philippe7268
@jean-philippe7268 22 күн бұрын
Hi! What can you do with this quad trees?
@stanbwonderful
@stanbwonderful 22 күн бұрын
en.wikipedia.org/wiki/Quadtree
@stanbwonderful
@stanbwonderful 22 күн бұрын
Quadtrees are used to break up lists of data into smaller bits which are quicker and easier for the computer to deal with. In this case I'm using quadtrees to do video compression, you used to see this a lot on old digital video clips.
@nolansomers
@nolansomers 21 күн бұрын
@@stanbwonderfulpretty interesting, I had no idea about quad trees till now.
@stanbwonderful
@stanbwonderful 20 күн бұрын
@@nolansomers A while ago I was learning about the boids algorithm (videos on my channel), that's when I learned about quadtrees as a way to speed things up but giving the computer less to work out with each step.
@thicclasagna
@thicclasagna 10 күн бұрын
when you save an image as a jpeg
Steamed Hams but every time Skinner lies, time resets and Chalmers is aware of it
5:45
Steamed Hams, but it's an NES game from 1991
3:58
Penney Pixels
Рет қаралды 78 М.
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 44 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,3 МЛН
This Disease is Deadlier Than The Plague
10:53
Kurzgesagt – In a Nutshell
Рет қаралды 5 МЛН
You Are Two
4:58
CGP Grey
Рет қаралды 15 МЛН
Steamed Hams but it's edited like a 'Big Bang Theory' scene
3:13
Best of Bart Simpson
8:13
L is for Luke
Рет қаралды 3,3 МЛН
Steamed Hams Recited From Memory But It's Two Years Too Late
2:50
Bart's futures (from classic Simpsons seasons)
5:09
Clay
Рет қаралды 826 М.
Steamed Hams but there are 37 small edits to make it feel off
2:32
1colonelsanders
Рет қаралды 104 М.
Steamed Hams but it was banned in the USSR
2:58
Tyrone Deise
Рет қаралды 2,1 МЛН
Futurama - Professor Farnsworth - Inventions Compilation
10:28
Wii DuB
Рет қаралды 1,6 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 488 М.