Babylon.js Big Bang

1 million points universe https://www.babylonjs-playground.com/#WZNWVG#17

9 Likes

I can control time :slight_smile: https://www.babylonjs-playground.com/#WZNWVG#18

3 Likes

Nice Math!

Just a little space color tweaking :smiley: https://www.babylonjs-playground.com/#WZNWVG#19

Why don’t use GPUParticles?

2 Likes

Just wanted to have a play with a point cloud.

This PG https://www.babylonjs-playground.com/#H6Q4X3#0 reads an individual pixel by

loading image into a dynamicTexture lines 20 to 31

picking a point on the mesh lines 80 to 83

and the important one getting the color at that point lines 42 to 51

Using code from Pixel manipulation with canvas - Web APIs | MDN

Hope this is what you are after.

1 Like

with a little acceleration https://www.babylonjs-playground.com/#WZNWVG#20

1 Like

Using code from this page:

https://karthikkaranth.me/blog/generating-random-points-in-a-sphere/

https://www.babylonjs-playground.com/#WZNWVG#21
https://www.babylonjs-playground.com/#WZNWVG#23

6 Likes

Project Genesis

Of course the Earth should be the center of the universe! :crazy_face:

2 Likes

project genesis is good for your cool hidden playground list

rabbit big bang with reversible time https://www.babylonjs-playground.com/#W92WT0#5

6 Likes

LOL!! this is excellent