Here you can see a swarm of icosahedrons randomly distributed in a three-dimensional space with usage of Fractal Brownian Motion Noise. And it looks quite cool :-).
🔗 https://marianpekar.github.io/fbm-space
I have to mention some references, I've found particularly helpful while working on this.
- Procedural Textures In JavaScript, an article posted June 10th, 2016 by Gio
- Procedural Terrain Generation with Unity, a Udemy course by Penny de Byl.
This microproject is powered by THREE.js. In case you've never heard of this JS library, check out threejs.org where you can find more about this awesome library plus a lot of way much cooler examples of usage than in this humble repository.
- Change properties via control panel ( 👍 https://github.com/dataarts/dat.gui)
- Look around using the mouse, press W/Up Arrow to move forward and speed up or S/Back Arrow to slow down or eventually speed up in the backward direction