Ongoing side project - spiral arms sim
30k particles, Barnes-Hut Algorithm, central BH with 1M☉, exponential disk, and some initial rotational speed, 2-dimensional gravitational field.
Is that a bar forming? Curious what other astro nerds think.
#spiralarms #galaxysimulation #Nbody
Simulate stellar streams and galaxy collisions with GPU-accelerated N-body physics - watch 100,000 s
Simulate stellar streams and galaxy collisions with GPU-accelerated N-body physics - watch 100,000 stars dance through spacetime with CUDA kernels and Kahan precision corrections
https://github.com/appy2806/Nbody_streams
#Nbody #StellarStreams #ComputationalAstronomy
Still a *little* buggy - but you can now move through time in #teskooano! The #simulation always starts at todays date and changing it in the UI will jump forward or backwards to that time
#devDiary #gameEngine #gameDev #astronomy #nbody #threeJS #webGL #video
A screenshot of the performance screen in Teskooano showing the capability of the GPU and the current FPS - the target FPS is 60, it's showing 120fps with over a million triangles and 200 draw calls - the device is described as "cosmic" and hight settings
A screenshot of the chrome devtool profiler showing the call stack of the main application over 10 seconds, 70% is in the rendering pipelines
A more detailed screenshot of the chrome devtools showing the rendering callstack
A screenshot of Saturn in Teskooano casting a shadow across it's rings, around it moons orbiting with their labels showing name, distance from the camera and speed, and their trail lines
Some performance improvements incoming - focusing on a smooth multi-body space engine has been my focus as I took a few days to just clean up code, APIs and - happily running at 120fps (at 96x speed - where the n-body physics is still relatively […]
[Original post on mastodon.gamedev.place]
Lumen code
Lumen code is back!
www.attaccalite.com/lumen-is-back/
#lumen-code #nbody #opticalproperties