Skip to content

Maxime-J/papillote-stars

Repository files navigation

A 3D animated constellation representing a papillote (french candy name),
designed for a web agency project named Papillote.

Stars positions are precomputed in JS, raycasting within multiple workers (see coordinates folder).
49152 32-bit floating point numbers, corresponding to 16384 stars coordinates, are saved in a binary file for size consideration.

Demo: https://papillote.vercel.app

References:
- ladunjexa/reactjs18-3d-portfolio: rotating stars randomly placed in a sphere.
- nicoptere/volume_distribution: raycasting concept to compute random points inside a model.
Written here in an optimized manner, with distinct raycasting and point computing logic for better point distribution.

About

3D animated papillote made of stars

Resources

Stars

Watchers

Forks