Details
Generating spikes from a icosahedron geometry, and playing with smoothing functions to generate the spikes.
Built with three.js, Maf.js, dat.gui and isMobile.
Code available on GitHub.
Controls
Play with the params:
- points: number of spikes or holes to generate.
- distance: how wide the spike or hole is.
- force: how much the spike extends or the hole sinks from the sphere surface.
- mode: different equations to profile the spike or hole.
- bulge: makes spikes a little more bulgy.
- shadow: use custom shadow mapping.
- occlusion: use distance from center as occlusion.
- sss: use depth buffer info to simulate subsurface scattering.
- stripes: add stripes.