Тёмный
Grant Kot
Grant Kot
Grant Kot
Подписаться
I am working on a video game where every single block is physically simulated and can be interacted with. Imagine if you could pick up a large body of water, and smash that into a building, which would then break apart and come tumbling down. That is just one of the many things the custom physics engine in this game will be able to do.

I still have a ways to go before going "early access", but you can follow my progress on this channel as I build out my game and physics engine. I love reading feedback and suggestions and try to incorporate those in my videos as much as possible. Many of the scenes that I simulate are based on actual material and structure requests that I read in the comments!

Some videos on this channel are really old (I've been making physics simulations for over 14 years), but I keep them around because it can be really fun to look back and see where I started.
How I Use Mesh Shaders
1:10
Месяц назад
My Voxel Physics Demos on itch.io
1:52
Месяц назад
skibidi sandbox 01
1:01
2 месяца назад
Block Building Preview | Liquid Crystal
0:59
2 месяца назад
Liquid Crystal Demo 2024
2:33
2 месяца назад
Multiphase Preview
1:01
2 месяца назад
Granular and Elastic Materials
2:46
3 месяца назад
Sandworm Simulation
0:46
3 месяца назад
Ocean-scale Noodle Simulation
1:46
3 месяца назад
Deep Water (6/6): Multigrid Pressure
1:58
3 месяца назад
Deep Water (5/6): Fixed Visual Glitches
2:45
3 месяца назад
Liquid Crystal Updated Demo
3:49
Год назад
Added Sea Foam 2
0:50
Год назад
Voxel Physics on Steam Deck
1:04
Год назад
Комментарии
@linovermac
@linovermac 9 дней назад
Please, source code github link ;)
@publicalias8172
@publicalias8172 9 дней назад
Amazing work Grant!
@MenkoDany
@MenkoDany 10 дней назад
UrbanTerror Abbey
@bcj
@bcj 10 дней назад
So cool!
@GrantKot
@GrantKot 10 дней назад
Thanks!
@aw_dev
@aw_dev 10 дней назад
Charge your phone 😂
@GrantKot
@GrantKot 10 дней назад
Demo: grantkot.web.app Trying to add in the sound-tweaking UI today.
@finglipa2001
@finglipa2001 10 дней назад
What song are you playing
@GrantKot
@GrantKot 10 дней назад
The fugue part of Bach’s Toccata and Fugue in D minor. You might enjoy smalin’s version on YT (fugue starts at 2:50)
@sjoerdev
@sjoerdev 10 дней назад
this is great! is there a native app for android also?
@GrantKot
@GrantKot 10 дней назад
I think mainly I will release as web app as this will let it be cross-platform more easily. It is available to try here: grantkot.web.app/gp/index.html
@WhipThenNaeNae
@WhipThenNaeNae 12 дней назад
cant wait for this to be released as a demo
@flameofthephoenix8395
@flameofthephoenix8395 13 дней назад
Nice. Why are the voxels in the water higher resolution than the voxels in the land?
@GrantKot
@GrantKot 13 дней назад
I think I can increase the land voxel resolution by 4x in each axis (or more) in the near future.
@flameofthephoenix8395
@flameofthephoenix8395 13 дней назад
@@GrantKot Hm, interesting.
@WhipThenNaeNae
@WhipThenNaeNae 13 дней назад
you should make some car crashing with this new system
@GrantKot
@GrantKot 13 дней назад
Yeah, I will try to do cars soon. There is a slight issue with wheels but I will try to figure it out and improve the game's structure system.
@timmygilbert4102
@timmygilbert4102 14 дней назад
Sand that's coarse and get everywhere, perfection
@Dan-Levi
@Dan-Levi 15 дней назад
Looking great! Can't wait to see the next upload
@fazin85
@fazin85 16 дней назад
this is awesome man!
@mikeb3172
@mikeb3172 18 дней назад
5:11 ... the fastest way to drop quality in any game engine... turn up gravity to cover poor programming.
@PedroGarcia-fl1fu
@PedroGarcia-fl1fu 19 дней назад
It's already Christmas and no one told me?
@ChipboardDev
@ChipboardDev 19 дней назад
The new Mesh Shader demo, the meshes are showing up black and jittery on Intel Arc A750 :( Other demos worked fine
@GrantKot
@GrantKot 19 дней назад
:( Could you put a screenshot onto imgur?
@theneonbop
@theneonbop 20 дней назад
Your blob demo doesn't seem to work properly on firefox
@GrantKot
@GrantKot 19 дней назад
Thanks for the catch. I think it should be working now.
@goshawk_fly
@goshawk_fly 20 дней назад
JS&WASM for so hard calculations? It's very interesting. As hobbyist I learn Defold. But for deep learning I would choos WASM and related things.
@TrippleXD545
@TrippleXD545 20 дней назад
dude i love the way you talk
@mister_r447
@mister_r447 20 дней назад
Imagine Minecraft, or other sandbox survival game, with phisics like these!
@sips3812
@sips3812 20 дней назад
props to you for doing this for so long. you've done great!
@CognosSquare
@CognosSquare 20 дней назад
Downloaded the EXEs. I'm in awe.
@GrantKot
@GrantKot 20 дней назад
Thanks for checking it out! :)
@sjoerdev
@sjoerdev 20 дней назад
your voice is very nice
@sanderbos4243
@sanderbos4243 20 дней назад
Looking forward to being able to play them in the browser!
@luigi.0533
@luigi.0533 20 дней назад
<3
@Dindonmasker
@Dindonmasker 20 дней назад
I wonder what the steam release will look like. Will it have some kind of oecake editing controls or will it be more like a linear experience with a pre-built world like noita where the player goes down through layers of biomes and beat a boss.
@GrantKot
@GrantKot 23 часа назад
Sorry for the late reply. I think initially kind of like oe-cake or other creative mode sandboxes. And then campaigns with time. Also, I went from planning some simple wasm demos to now thinking of going all in with it and WebGL/GPU webtech.
@section1621
@section1621 20 дней назад
You're so goated. I was here before whatever enormous thing you release gets released. (No pressure, obvi.)
@alleycatsphinx
@alleycatsphinx 19 дней назад
Yes, amazing work!
@ultraveridical
@ultraveridical 20 дней назад
Can it be done with webgpu compute shaders?
@GrantKot
@GrantKot 20 дней назад
Yeah I will look into webgpu as well as xr
@Metallian2112
@Metallian2112 20 дней назад
I remember! I also remember the puzzle game ideas you were posting too! Looking forward to being funnelled to your steam page in the future!
@ayyship
@ayyship 25 дней назад
this looks amazing! keep it up!
@pacukluka
@pacukluka 26 дней назад
Awesome, thank you! But it would be better if you had explained the paper ! Plenty of people prefer watching someone boil down and explain a paper rather than reading it themselves
@GrantKot
@GrantKot 26 дней назад
Yeah I think maybe I will cycle back to do some better tutorials. I got excited after doing this and wanted to work on the WebAssembly version. I have a set of demos I want to bring to the web.
@pacifiky
@pacifiky 28 дней назад
This is genuinely so cool I love how it looks
@voxelamateur
@voxelamateur 29 дней назад
So, what technique can [be better optimized to] simulate more particles? I assume MPM, because it doesn't involve costly closest neighbors searching. But this technique is much more easier to understand and implement for us mere mortals.
@GrantKot
@GrantKot 29 дней назад
For more particles or large scale scenes MPM. SPH is good for smaller scale, the surface tension looks good for things like drink commercials. Multiphase with bubbles is fairly easy to get with this.
@JerryKid72
@JerryKid72 29 дней назад
someone tell kitchen simulator about this!
@jeremymetzler72
@jeremymetzler72 29 дней назад
somehow made a sort of cellular automata out of it
@GrantKot
@GrantKot 29 дней назад
Yeah, I think there are definitely analogous concepts like keeping a target rest density and for example, something like the Game of Life rules. I was messing with the springs a bit yesterday and there were some cell-like things merging and dividing.
@Magabes_
@Magabes_ 29 дней назад
This looks so satisfying. I found this video while searching up what XeGTAO was.
@bcj
@bcj 29 дней назад
Legend. Thanks for sharing Grant!
@voteforhamsandwich1112
@voteforhamsandwich1112 Месяц назад
Why is there a "border" around the particles? Like a cell almost
@GrantKot
@GrantKot Месяц назад
The particles are trying to reach a set rest density. Because there are no particles outside the surface, it tries to reach the target rest density by pulling other particles from the surface closer.
@voteforhamsandwich1112
@voteforhamsandwich1112 29 дней назад
@@GrantKot is this programmed in or is an emergent behavior?
@GrantKot
@GrantKot 29 дней назад
I guess it could be considered emergent. If the rest density gets set as 0 they stop bunching up at surface. There's still some bunching up at the wall because there's some underestimation of neighborhood density there.
@toxiccan175
@toxiccan175 Месяц назад
What a time to be alive!
@toxiccan175
@toxiccan175 Месяц назад
Very cool work! Have you experimented with networked particle engines? I think there’s a lot to be done optimizing particle engines for networking and networking for particle engines; I haven’t seen any multiplayer games with advanced particle simulations which multiple players can interact with simultaneously. Maybe neural nets could be used to approximate chunks of the simulation with sparse data to stream and reconstruct on other clients. There are a lot of different ways it could be done
@GrantKot
@GrantKot Месяц назад
I haven't yet, only the cloud streaming Parsec thing. Syncing is pretty tough. Would be amazing if it was possible to patch multiple regions each simulated by a player. It may be possible to just sync grid chunks at the edges, like inflow/outflow. Maybe each player sends data to other players if they are in their simulated region. Perhaps if I extracted the fluid surface there would be less data to send.
@toxiccan175
@toxiccan175 Месяц назад
​@@GrantKot Those are all great ideas. Do you have a Discord server or anywhere viewers can meet and discuss simulation and rendering? Throwing around differing ideas and building off new perspectives can go a long way in finding innovative solutions. And it's fun.
@GrantKot
@GrantKot 29 дней назад
For the time being, I don't think I have the bandwidth to do Discord on top of YT and X, which I try my best to respond to comments and incorporate the suggestions & scene requests etc. I have a pretty giant list of things for the sandbox I need to focus and work on.
@toxiccan175
@toxiccan175 28 дней назад
@@GrantKot Understandable. Don't let us distract you too much! Haha
@PedroGarcia-fl1fu
@PedroGarcia-fl1fu Месяц назад
really!? for real!? thanks!!!
@lukepowers8122
@lukepowers8122 Месяц назад
this is really good stuff. i wish more people would include a working demo for papers they write since they're already explaining how it works.
@MichaelPohoreski
@MichaelPohoreski Месяц назад
I _really_ dislike professors who handwave _"Those are implementation details."_ *excuse.* The devil is in the details! Also, **Fred Books:** (Mythical Man-Month) _"Show me code and I'll have to see your data. Show me your data and I won't have to see your code, it will be obvious."_
@alleycatsphinx
@alleycatsphinx 27 дней назад
Grant is a master.
@GabeRundlett
@GabeRundlett Месяц назад
Absolutely amazing
@dragoons_net
@dragoons_net Месяц назад
Wow: very interesting & useful, thanks a lot! So you transposed that even in 3D, with 2 M particle (vs 2K here) from what I saw in all your incredible videos (but with a smaller Kernel size, to keep themn tighter together)? You are a CHIEF, Grant!
@GrantKot
@GrantKot Месяц назад
Thanks! My more recent simulations use MPM, which has an intermediary grid. I like this paper because people can implement from it even if they have no other papers about SPH. MPM might need a bit more piecing together.
@Metallian2112
@Metallian2112 Месяц назад
The demo was really fun! Thanks!
@Mark_Rober
@Mark_Rober Месяц назад
how would you goabout making theit a solid? do you think you can blend between a water and foam material based on how fast a particle is going relative to it's neighbours?
@GrantKot
@GrantKot Месяц назад
For something extremely rigid, you might still want to just integrate it with a rigid body solver or use shape matching. I'll try to figure foam out a little better.
@yashsaxena9
@yashsaxena9 Месяц назад
really awesome stuff!!! Can I suggest one idea, how about using a similar particle simulation to simulate FIRE next?
@GrantKot
@GrantKot 29 дней назад
Thanks! Yeah, I'll see if i can do that. I want to improve the speed a little so I'm going to see if I can get a rust webassembly thing set up.
@jsierra88
@jsierra88 Месяц назад
OMG this is so awesome. You are the best out there. Thank you so much!
@user-sn6fo6gb9d
@user-sn6fo6gb9d Месяц назад
1st
@Officialjadenwilliams
@Officialjadenwilliams Месяц назад
A true inspiration