200K Objects simulation, Testing Explosions

  Рет қаралды 82,529

Pezzza's Work

Pezzza's Work

Күн бұрын

Пікірлер: 208
@erilobar
@erilobar 3 жыл бұрын
bruh that chicken goes from looking fly as hell to being pretty messed up
@michasengotta2295
@michasengotta2295 3 жыл бұрын
chicken going from fly to fry
@steamhearteyes
@steamhearteyes 3 жыл бұрын
HA HA AH AH AHA HA HA HA HA HA
@jmsether
@jmsether 2 жыл бұрын
Drugs will do that to you.
@ArachnidAbby
@ArachnidAbby Жыл бұрын
Body shaming
@AAvfx
@AAvfx 3 жыл бұрын
So beautiful! I'm glad I've found this channel! 😊
@eperou8846
@eperou8846 3 жыл бұрын
E
@melanin_m85
@melanin_m85 3 жыл бұрын
same
@pasmoluiso
@pasmoluiso 2 жыл бұрын
Me too
@phantomascom
@phantomascom 3 жыл бұрын
I love seeing the grain boundaries between different crystal lattices! So cool!
@terrasolaris5104
@terrasolaris5104 3 жыл бұрын
Right??!!!
@SirusStarTV
@SirusStarTV 3 жыл бұрын
Left??!!!
@Tayfaan
@Tayfaan 3 жыл бұрын
@@SirusStarTV Yes, dad
@bobsmithy3103
@bobsmithy3103 3 жыл бұрын
Anyone know why they even appear?
@thant0se
@thant0se 3 жыл бұрын
@@bobsmithy3103 kzbin.info/www/bejne/rqavY6yKYqdliq8 should cover it better than I could :)
@tyler2854
@tyler2854 3 жыл бұрын
Those explosions look really nice. I especially like 2:26 when you can see the shockwave moving through the objects.
@YPOC
@YPOC 3 жыл бұрын
I love how the particles begin to start "grain" boundaries, even though they start close to optimally packed
@vishnuj.nampoothiri9037
@vishnuj.nampoothiri9037 3 жыл бұрын
1:25 - When they ask you how you are, and you just have to say that you're fine, when you're not really fine, but you just can't get into it because they would never understand
@ananttiwari1337
@ananttiwari1337 3 жыл бұрын
lmao
@markusbuchholz3518
@markusbuchholz3518 3 жыл бұрын
There is lack of words in dictionary to express how impressive your project is. I am deeply in shock. Master of piece, Thanks!
@charaxofgythium4863
@charaxofgythium4863 3 жыл бұрын
This is next level breath-taking. Im speechless.
@stickmasterlukeRBX
@stickmasterlukeRBX 3 жыл бұрын
Is the simulation deterministic? If so, it would be cool to run the simulation, then save a map of the objects and their positions. Then paint the objects based on their positions after the simulation. Then run the simulation from the beginning with new colors mapped on, so that it looks like the explosions organize the image instead of mixing it.
@JD-qq8fz
@JD-qq8fz 3 жыл бұрын
1:49 Whoa, what do you think is causing those rays that go outward from the explosion like fragmentation? Are those weirdly directed pressure waves or a high velocity particle slipping its way through? (Or something else)
@markoftheland3115
@markoftheland3115 3 жыл бұрын
I'm wondering the same, commenting to receive notifications
@higginsisaac
@higginsisaac 3 жыл бұрын
I hope they answer!
@PezzzasWork
@PezzzasWork 3 жыл бұрын
It's because of high velocity objects being expelled by the explosion.
@du42bz
@du42bz 3 жыл бұрын
I think it also has something to do with the hexagonal shape of the particles
@JD-qq8fz
@JD-qq8fz 3 жыл бұрын
@@PezzzasWork Yeaah! When you zoom in and slow it down like that you can catch a glimpse of them a frame at a time-- they're fast! (were they the ones at the epicenter?)
@askplays
@askplays 3 жыл бұрын
wow, these simulations keep getting more and more insane
@abigweed1811
@abigweed1811 2 жыл бұрын
I'm astonished the performance stays acceptable (15-20ms) That's bloody around 50-70 FPS!
@mahirfr
@mahirfr 3 жыл бұрын
Will you ever make tutorial series on how to work with physics and simulations in C++?
@nyzss
@nyzss 3 жыл бұрын
I'm not even into cpp (more webdev lol), but i'd definitely watch that, i've been loving watching these kinds of project videos. they're really fun
@lisyarus
@lisyarus 3 жыл бұрын
Sorry for self-promotion, but I happen to have a twitter thread on similar stuff: twitter.com/lisyarus/status/1318605976786919424
@mahirfr
@mahirfr 3 жыл бұрын
@@lisyarus Any youtube channel..?
@angrywolfjr7164
@angrywolfjr7164 3 жыл бұрын
what a massive improvment from last one's limit, this is a big inspiration since i am learning sfml and c++ man i hope your channel blows up
@puppergump4117
@puppergump4117 2 жыл бұрын
I counted, there's only 199,998 objects
@okboing
@okboing 3 жыл бұрын
assuming each object's attributes can be described in, say, 256 bytes, this means your computer is effectively rewriting a 51.2 megabyte file every frame, for that first sim. Assuming, now, that it runs at an average of 111 Hz (according to the average I got of 9 ms per frame), this means it has to rewrite at about 5.6832 gigabytes per second. very, very faest
@alexvandenberg3371
@alexvandenberg3371 3 жыл бұрын
What is super interesting is these fracture lines at 0:50 actually look a lot like the fracture lines of real crystal lattices of metals etc! Cool stuff
@someordinarydude8813
@someordinarydude8813 3 жыл бұрын
So satisfying to watch :)
@stevesajeev6477
@stevesajeev6477 3 жыл бұрын
Wow.. Your videos are awesome.. Your projects run smooth and very beautifully.. I loved the hen's face after the explosion.. I have a request, and I think most of use have this too... Please make a video showing how to make particles, physics, etc in c++ we all want to learn from youn . Your an awesome coder. So please.. Please....
@devsauce
@devsauce 3 жыл бұрын
Reminds me of "The Powder Toy" :)
@maticz3923
@maticz3923 3 жыл бұрын
Haha Imagine tpt but with particle based rigid bodies like in earlier videos
@Mas3341
@Mas3341 3 жыл бұрын
Even though this is circle only physics, I wouldn't call it basic! 200,000 objects in real-time and really stable object restitution. Nice!
@Mark00747
@Mark00747 3 жыл бұрын
Hey Pezzza, this is amazing! Is this animation related to your day to day job? If so, what kind of work do you do?
@PezzzasWork
@PezzzasWork 3 жыл бұрын
Thank you! No it's not linked to my job, it's just a personal hobby as an amateur :)
@GoldballIndustries
@GoldballIndustries 2 жыл бұрын
I believe the circles forming around the explosion to be particles moving so fast per frame that they quantum tunnel, and by the time that they slow down they collide with a particle and create a mini explosion
@Algok17
@Algok17 3 жыл бұрын
Amazing perfomance!
@lavenderbride
@lavenderbride 2 жыл бұрын
Must be awesome to come this far in your self-development.
@Zappygunshot
@Zappygunshot 3 жыл бұрын
This is an interesting look into liquid dynamics, plate tectonics, pressure wave propagation and crystalline structure formation all at once. In essence, all those are the same, but at totally different scales.
@DaniilBubnov
@DaniilBubnov 3 жыл бұрын
That music... it just can't stop..
@o7.
@o7. 3 жыл бұрын
That's so cool
@CreamPolo
@CreamPolo 2 жыл бұрын
I'm a big fan of your work. Thank You
@gavin3563
@gavin3563 3 жыл бұрын
haha this is awesome. super cool to see the shockwave spread through the particles.
@wormjuice7772
@wormjuice7772 3 жыл бұрын
Ive send your video to Karoly from two minute papers. He has to see this. Such good work.
@danis8455
@danis8455 3 жыл бұрын
taking the lionhead studios logo to new lvls
@vincentpollack
@vincentpollack 3 жыл бұрын
Nice choice of picture
@HueyTheDoctor
@HueyTheDoctor 3 жыл бұрын
Dude, you keep making this stuff and I'll keep getting baked and watching in dumbstruck awe. Deal?
@mackormick1234
@mackormick1234 3 жыл бұрын
Vraiment génial !
@vincentpollack
@vincentpollack 3 жыл бұрын
I cant believe how smooth its running? is this rendered in some sort of way or is this simulation real time?
@AntonioNoack
@AntonioNoack 3 жыл бұрын
The calculation time per step is in the top, and it's
@brunor.922
@brunor.922 3 жыл бұрын
@@AntonioNoack it isn't made with python xD
@AntonioNoack
@AntonioNoack 3 жыл бұрын
@@brunor.922 it still could run in real time with the right optimizations ;) e.g. compiling it
@data_5674
@data_5674 3 жыл бұрын
It's in real time, and probably uses multi-threading
@stinkytoby
@stinkytoby 3 жыл бұрын
Source code is in the description
@Escue_dread
@Escue_dread 3 жыл бұрын
this is what i need to watch before an ap test
@panociagasta
@panociagasta 3 жыл бұрын
0:12 How aliens made the pyramids.
@atlasua2021
@atlasua2021 3 жыл бұрын
How do you handle collision if the speed is high? You take 2 bodies and do the computation on their direction vectors? Or do you pass the beam to the body several times?
@iibuprofene860
@iibuprofene860 3 жыл бұрын
0:45 me before my birthday party 2:06 me after my birthday party
@besnails
@besnails Жыл бұрын
I see the shockwave, amazing
@dimarichmain
@dimarichmain 3 жыл бұрын
Now that is really impressive
@A-Random-Guy
@A-Random-Guy 3 жыл бұрын
That is beautiful Also very optimized physics engine you have there
@eliasknaapinen
@eliasknaapinen 3 жыл бұрын
a dream come true after trying to have fun with TNT in MINECRAFT
@rocketninja942
@rocketninja942 3 жыл бұрын
@Pezzza’s Work I added SFML to VS19 and it still says SFML directory in cmake!
@musclechicken9036
@musclechicken9036 3 жыл бұрын
I personally enjoy the picture you chose
@GermanTopGameTV
@GermanTopGameTV 3 жыл бұрын
Nobody: KZbin at 1 am: "Psst, wanna see a cool chicken get blown to bits?"
@tennohack6704
@tennohack6704 Жыл бұрын
You know what would be cool? If these particles acted as popcorn kernels, expanded explosivly and filled up the space
@fsrarsln
@fsrarsln 2 жыл бұрын
1:07 did you see that arrowlike shockwaves? Thats similar to newtons watch and thats the reason why grain bins are leak randomly
@DanteDMCry34
@DanteDMCry34 2 жыл бұрын
looks like water, so well made !
@atlasua2021
@atlasua2021 3 жыл бұрын
WOW! F**K. It looks cool. Я не ожидал что ты выпустишь новое видео так скоро.
@antontheyeeter
@antontheyeeter 3 жыл бұрын
Which API/library did you use?
@PezzzasWork
@PezzzasWork 3 жыл бұрын
I am using the SFML for the rendering, the rest is from me
@selenefrost6267
@selenefrost6267 3 жыл бұрын
In addition to just the collision detection would it be possible to make the objects repel or attract eachother making them act like solids liquids or gasses? I imagine that would be more taxing on the computer however in which case you could remove the collision detection entirely and replace it with a repelling force to simulate liquids and gasses.
@VestigialHead
@VestigialHead 3 жыл бұрын
Awesome to see footage of how McDonalds prepares Chicken for their nuggets.
@anoobis117
@anoobis117 3 жыл бұрын
I love the zoom in and out with the drums
@alfonzo_
@alfonzo_ 3 жыл бұрын
your videos are very inspiring. I made my first neural network after watching the one where you control a drone with a nn.
@LUVVEOUS
@LUVVEOUS 3 жыл бұрын
Next video: Throwing things into ball reservoir
@MasterTOB101
@MasterTOB101 3 жыл бұрын
1:35 the chicken is reborn as phoenix.
@heonu1
@heonu1 3 жыл бұрын
Wow this is awesome
@lil_zcrazyg1917
@lil_zcrazyg1917 3 жыл бұрын
What if explosions did damage to the circles? making them smaller and such based off of pressure/distance to the explosion's center?
@TabooRetka701
@TabooRetka701 2 жыл бұрын
Wow, that looks epic, i think you could pump it up by using OpenGL instead of a graphics library, maybe you could even get away with using instanced drawing, treating all objects like one entity, which is extremely fast!
@Manabender
@Manabender 3 жыл бұрын
How come every explosion has several radial lines coming out of it? This is best seen on roughly the 12th frame of 1:09 (or, about 1:09.20). My guess is that an explosion imparts velocity to all particles inversely proportional to (the square of) their distance from the blast center. For particles extremely close to the center, they might get so much velocity that they travel the distance of many particles in a single timestep.
@spyrgelispyy
@spyrgelispyy 3 жыл бұрын
How did you get a simulation so accurate and with so many particles so performant!?
@JSiuDev
@JSiuDev 3 жыл бұрын
wonder if anyone can try this on a M1 machine.
@haydenbenson994
@haydenbenson994 3 жыл бұрын
How to cook a chicken: Google: Take out a knife... Bing: 2:15
@kadnify
@kadnify 3 жыл бұрын
GPU utilization %: yes You’re the only guy in 2021 not mining crypto. Good job
@gileee
@gileee 3 жыл бұрын
It's running on the CPU
@Rumplestiltzchen
@Rumplestiltzchen 2 жыл бұрын
A nice homogeneous blend
@itoffice
@itoffice Жыл бұрын
Have you ever tried or thought of simulating crystals and their forming ?... Maybe the shape need to be redefined also for that. That is interesting for material "science", as metals etc. can be seen as tiny groups of crystals. Working on metal and reheating or chock cooling it, reshapes the metals and its crystals and gives it different characteristics ... crystals are in reality called "grains" in metals, but is anyway the same stuff in a microscope. ... Crystallization is seen in many other places; for instance in making silicon ingots for chips and solar panels.
@tomasbenders922
@tomasbenders922 3 жыл бұрын
So beautiful! I have so many questions. What kind of broadphase are you using? Doesn't it take like infinite iterations to solve stacked circles?
@logicbuilder1204
@logicbuilder1204 3 жыл бұрын
you can just check how far away a circle is from another circle, and then check in what direction.
@mralien9547
@mralien9547 3 жыл бұрын
I wonder what would happen if you had set friction factor to 0 (assuming it's not 0 already). Great work, awesome stuff.
@maticz3923
@maticz3923 3 жыл бұрын
Really cool
@dawidepl7807
@dawidepl7807 3 жыл бұрын
Do you plan to make tutorial for such stuff?
@trau_tms
@trau_tms 3 жыл бұрын
I'm seeing the same radius independently of depth and amount of particles above or below. Is it taking account of the inward pressure those particles have on the explosion? Maybe you do but the mass is scaled to the point it doesn't affect it, so that's why I'm asking.
@dinohunter7176
@dinohunter7176 3 жыл бұрын
Photoshop next level
@dmitrym3757
@dmitrym3757 3 жыл бұрын
Isn't it nice? Thank you! :)))
@NNOTM
@NNOTM 3 жыл бұрын
Hmm you can see phase transitions between liquid and solid
@GregHib
@GregHib 3 жыл бұрын
Beautiful
@sreekashuppari1882
@sreekashuppari1882 3 жыл бұрын
Wow! 🤯
@d-shiri
@d-shiri 3 жыл бұрын
Please make sfml tutorials. This is awesome man
@Jonathan-di1pb
@Jonathan-di1pb 3 жыл бұрын
Are u just instance rendering all the circles to get that render time?
@fletchthebirb
@fletchthebirb 3 жыл бұрын
Idea: Make a bunch of explosions, *then* color the spheres and reset them to where they were at the beginning. So the explosions seem to randomly form the image.
@underslash898
@underslash898 3 жыл бұрын
Did you improve on the underlying engine any more for this one, or is is the same as last time?
@gavin3563
@gavin3563 3 жыл бұрын
what do you make these projects and games in? i'd like to learn how to do something like this
@ariseyhun2085
@ariseyhun2085 3 жыл бұрын
I love your videos, so inspiring! I'd love to see you try something like this in Rust :)
@GhostlyHermit
@GhostlyHermit 3 жыл бұрын
God
@BadChess56
@BadChess56 2 жыл бұрын
were the explosions natural or did you make them
@finsflexin
@finsflexin Жыл бұрын
Thank you for showcasing the power of the United States military 🇺🇸🇺🇸
@Ppiuliu
@Ppiuliu 3 жыл бұрын
What IDE do you use?
@RemyNote
@RemyNote 3 жыл бұрын
It's a shame the circles are compressable. Now it behaves more like rubber than, for example, sand.
@logicbuilder1204
@logicbuilder1204 3 жыл бұрын
I think that's a consequence of having circles for particles, as there is a ton of space in between them, whereas sand is much more like a polygon, which fit into each other well.
@jacobc-k9224
@jacobc-k9224 3 жыл бұрын
@@logicbuilder1204 That’s not what’s going on here. With the exception of the crystal defects (the random lines of irregularity running through the material), all of the circles here settle into their most compact possible packing, what’s known as a hexagonal packing. There is no way to fit equally-sized circles into a space more efficiently than this. Rather, the compressibility of this material comes from the fact that the circles that comprise it can actually overlap each other to a slight degree. Watch the close-up explosion at around 2:28 to see this clearly.
@stenzenneznets
@stenzenneznets 3 жыл бұрын
Amazing
@seesoftware
@seesoftware Жыл бұрын
How do you calculate the pressure?
@sky_hawk0811
@sky_hawk0811 3 жыл бұрын
would love to use this. but installing it is confusing for me. could you make a tutorial on how to or does someone know how to already and if you do could you explain it to me please?
@melanin_m85
@melanin_m85 3 жыл бұрын
cooooool keep it up
@andrewcavallo1877
@andrewcavallo1877 3 жыл бұрын
Dancing lizard on thumbnail
@Zedryx69
@Zedryx69 2 жыл бұрын
Guys, I found this awesome way to distort an image...
@noyza2132
@noyza2132 3 жыл бұрын
Kinda fluid
@2fa284
@2fa284 2 жыл бұрын
How do you get so good performance? =D
@vinaciotm
@vinaciotm Жыл бұрын
full tutorial, plss 👌🏻
@ReZel4189
@ReZel4189 3 жыл бұрын
from chicken to piccaso painting
@MatojoLedesma
@MatojoLedesma 3 жыл бұрын
Cool and good
C++ Ants Simulation 4, Colony
5:48
Pezzza's Work
Рет қаралды 290 М.
Turning bugs into Art
7:43
Pezzza's Work
Рет қаралды 196 М.
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 32 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН
小路飞和小丑也太帅了#家庭#搞笑 #funny #小丑 #cosplay
00:13
家庭搞笑日记
Рет қаралды 13 МЛН
Simulating an Entire Car Engine (yes, it makes noise)
12:04
AngeTheGreat
Рет қаралды 1,8 МЛН
Creating a Brick Breaker with my PHYSICS ENGINE
7:21
Pezzza's Work
Рет қаралды 111 М.
Evolving AIs - Predator vs Prey, who will win?
12:15
Pezzza's Work
Рет қаралды 2,9 МЛН
Soft Body Physics Explained
10:47
Gonkee
Рет қаралды 538 М.
I got a mail order ant colony and gave them a new home...
13:34
Homemade Ecosystems
Рет қаралды 9 МЛН
Creating a Space Invaders clone using my C++ engine and SFML
11:58
Pezzza's Work
Рет қаралды 38 М.
Real time Fire Simulation
7:23
Pezzza's Work
Рет қаралды 158 М.
Writing a Physics Engine from scratch
9:24
Pezzza's Work
Рет қаралды 211 М.
My C++/SFML Compilation
5:02
GravityContained
Рет қаралды 49 М.
I Made an Electronic Chessboard Without Turns
14:32
From Scratch
Рет қаралды 260 М.
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 32 МЛН