Well, you could record it and play a video or create an HTML page that somehow shows this... But JS ist probably not performant enough to render that in realtime. EDIT: Just bought Wallpaper Engine, HTML with JavaScript works. P5.js is possible too. Looking forward to create some nice backgrounds :)
@@kuwertzel8938 JS defineatly has performance to a lot of stuff with WebGL, it can even utilize GPU... And wallpaper engine supports unity games made in C# anyway
I'm now tempted to try to make an actual star simulation (eg. making radiation pressure, + make gravity be between individual particles instead of just towards the center, although that would cause more lag)
@@Релёкс84 i expected it to reach a critical mass where it starts emitting ‘radiation’, but i guess energy plays a big enough role that it can go straight to exploding
Why not make a version where every particle is attracted to every other particle (or the closest few particles to improve speed) instead of a single arbitrary point?
@@Joe-if8dn That's the point, different stars interacting and colliding like we see in the real-life galaxy would be more interesting than a single star.
A type 1a supernova simulation would be cool. A stable cluster (white dwarf) slowly feeding off of a constant stream of particles (mass from the orbiting companion) until the physics engine breaks (core reignites).
A few more ideas. Heat: Increases Instability/Overshoots. Fusion.Most Particles start as hydrogen.There however will be Helium,Lithium,And a few other trace elements. A Certain Amount of Pressure is needed for Fusion of Heavier Elements. Elements (Iron) that cannot Fuse together will have pressure resistance instead,Which will hopefully allow neutron stars in your simulations. Pressure Resistance has a limit though,making black holes hopefully possible. Gravity: Attraction is not limited to one spot,But to all particles which will cause particles clumping together to form a big mass that will keep fusing with other big masses Magnetism: Um.I think this is currently too complicated to explore
That would be computationally expensive. Instead, how about a gravitational “heightmap” for the particles to follow? It would calculate the total mass in each tile and determine its height that way, then invert it to create the gravitational plane that everything is based around. That would create a less computationally expensive simulation because each particle only has to calculate the immediate gravitational curvature at its current location, and the gravitational plane only has to calculate the total mass in each tile. After all, gravity is closely related to mass.
It is not a reupload, it is just another video about previous experimentations. But what I don't understand is how so many people see this video when I did not enable notifications, was it in you recommandations ?
it would be cool if, as in real life, to make it so that as particles gather at one point, then the attraction of gravity increases the rest of the particles, which can create a black hole. and in this simulation the particles are not accelerated towards other particles in the group
Wouldn't it be neat if some of these ejections fell into orbit instead of falling back into the star? I think the star would stabilize as it lost mass to the formation of a protoplanetary disk. :)
linear force law (attraction to the center only) with collision detection, collision detection is bugged, so for high pressures you get violation of conservation of energy and unreasonably high particle speeds, which acts as a surprisingly resourceful stand-in for nuclear fusion.
@@ecgwineicling2543 yes! And I'm finding that adding a constant into the denominator , to avoid divide by zero, is very similar to strong nuclear force of repulsion at 7 femto meters iirc. It's almost as if the Creator ran into the same issues in our universe!
the real question is how to incorporate this into the ant wars.
Omg
donn't he also has orbit simulation stuff? ant wars are on a planet orbiting the star
ant nukes
easy, make hormones that make the ants clump together when they see an enemy base and boom, literally
ants + the heat death of the universe
Would be soo cool to have live desktop backgrounds or screensavers with these simulations...
Maybe you can do it in wallpaper engine
Well, you could record it and play a video or create an HTML page that somehow shows this...
But JS ist probably not performant enough to render that in realtime.
EDIT: Just bought Wallpaper Engine, HTML with JavaScript works. P5.js is possible too. Looking forward to create some nice backgrounds :)
People still use screen savers?
@@BoredTruckn Not really xD
@@kuwertzel8938 JS defineatly has performance to a lot of stuff with WebGL, it can even utilize GPU... And wallpaper engine supports unity games made in C# anyway
I'm now tempted to try to make an actual star simulation (eg. making radiation pressure, + make gravity be between individual particles instead of just towards the center, although that would cause more lag)
Also, simulation the usage of fusion fuel, which could allow you to simulate a supernova as it runs out.
Me too
Some dedicated star simulations would be amazing.
Keep up with the good work :)
Wow this looks awsome, would love to see more star simulations.
The slow leak reminds me of hawking radiation in black holes. Great work, I could watch this for hours.
Or solar flares
weird that it produces pulses of increasing intensity before exploding
Imagine if that happened in real life and the sun was that unstable too
Actually you see that a lot in real life in all kinds of situations. It's basically a positive feedback loop spiraling out of control
@@Релёкс84 i expected it to reach a critical mass where it starts emitting ‘radiation’, but i guess energy plays a big enough role that it can go straight to exploding
Why not make a version where every particle is attracted to every other particle (or the closest few particles to improve speed) instead of a single arbitrary point?
That would form clusters... not a star.
@@Joe-if8dn That would still attract particles to one location eventually, depending on their position, and that would simulate real star.
@@Joe-if8dn That's the point, different stars interacting and colliding like we see in the real-life galaxy would be more interesting than a single star.
@le Yes, it would.
@le Yes, exponential computing power.
Makes me think, what if black holes were actually just bugs in the universe
No, they just remove unnecessary things.
*Removes Solar system*
@Hand Grabbing Fruits not all of them, some of them are necessary but they optimize the load
The whole universe is a divide by zero bug.
They’re infinite density, so basically yes
I wonder if all this randomness would induce any rotation in the star.
A type 1a supernova simulation would be cool. A stable cluster (white dwarf) slowly feeding off of a constant stream of particles (mass from the orbiting companion) until the physics engine breaks (core reignites).
Noice, love the way it flares every 2 seconds or so before exploding
A few more ideas.
Heat: Increases Instability/Overshoots.
Fusion.Most Particles start as hydrogen.There however will be Helium,Lithium,And a few other trace elements.
A Certain Amount of Pressure is needed for Fusion of Heavier Elements.
Elements (Iron) that cannot Fuse together will have pressure resistance instead,Which will hopefully allow neutron stars in your simulations.
Pressure Resistance has a limit though,making black holes hopefully possible.
Gravity: Attraction is not limited to one spot,But to all particles which will cause particles clumping together to form a big mass that will keep fusing with other big masses
Magnetism: Um.I think this is currently too complicated to explore
heat is actually particle speed, so i think we already have this
That will cause way too much lag
By the end, he'll have an entire simulated universe for the ants.
could you teach us how to make simulations? or does anyone know of any place where i can learn how to do this?
C++ tutorials on youtube
give it to me
woah is this christmas
now we need this, but 3D
Instead of having central gravity make it realistic so that each particle attracts other particles and forms clusters this way
That would be computationally expensive. Instead, how about a gravitational “heightmap” for the particles to follow? It would calculate the total mass in each tile and determine its height that way, then invert it to create the gravitational plane that everything is based around. That would create a less computationally expensive simulation because each particle only has to calculate the immediate gravitational curvature at its current location, and the gravitational plane only has to calculate the total mass in each tile.
After all, gravity is closely related to mass.
@@Operational117 that's a great idea! Did you think that up? I do gravity experiments on my channel. Maybe I'll implement that.
This needs some music!
Why a reupload? The previous title was pretty catchy.
It is not a reupload, it is just another video about previous experimentations. But what I don't understand is how so many people see this video when I did not enable notifications, was it in you recommandations ?
@@PezzzasWork It was in mine
Thank you for your answers :)
@@PezzzasWork it was in my recommendations and I keep checking videos from subscribed channels.
It was recommended to me too
I'd like to have this as desktop background, please :D
That's what PrtScn is for :3
He means as a moving bg
Now I want this as my screensaver
imagine the particles coming in would contribute to the angular momentum, turning the staionary star into a rotating one ;)
i like how every once in a while the star doesn't like to exist.
i feel ya, star
Is it possible to incorporate n-body physics into this instead of having everything fall towards the center?
it would be cool if, as in real life, to make it so that as particles gather at one point, then the attraction of gravity increases the rest of the particles, which can create a black hole. and in this simulation the particles are not accelerated towards other particles in the group
Wouldn't it be neat if some of these ejections fell into orbit instead of falling back into the star? I think the star would stabilize as it lost mass to the formation of a protoplanetary disk. :)
Tutorials on those projects when?
I can watch this forever
Reminds me of Space Simulation Toolkit.
It’s like a self-rebirthing star
I need this as a live wallpaper or a screensaver for android.
I want to see what happens when they are attracted to eachother and not just the center of the screen
POV: you're a star undergoing contraction
This is actually a really fun way of visualising coronal mass ejections but spread up!
What equations/forces are used here?
linear force law (attraction to the center only) with collision detection, collision detection is bugged, so for high pressures you get violation of conservation of energy and unreasonably high particle speeds, which acts as a surprisingly resourceful stand-in for nuclear fusion.
@@ecgwineicling2543 yes! And I'm finding that adding a constant into the denominator , to avoid divide by zero, is very similar to strong nuclear force of repulsion at 7 femto meters iirc.
It's almost as if the Creator ran into the same issues in our universe!
@@ecgwineicling2543 how/why are the colors varying?
@@TheRainHarvester blue is speed, red is pressure. green just scales with red+blue.
Bugs 👍
how to run this project?
it happens for infinityyyy
it would be really nice to give it some angular momentum, just saying
I love your videos
This but 3D 👀
Make ant nukes
Is there a black hole that emerges under some conditions?
💀
No music? 🤔
Epic!
I peed.
hi
Any additional instructions for running this? Upon running gcc main.cpp from the src folder, I get an error for
No such file or directory at #include
It looks like you dont have SMFL installed
@@homelikebrick42 ye, I didn't haha
damn that looks cool fellow chicken
now do it in RGB
youre actually a genius