
This texture generates a possible fractal interpretation of a Dyson sphere – an artificial megastracture around a star, porposed by Freeman Dyson. Click on a snapshot to open it online.
import { dysonSphere } from "tsl-textures";
model.material.colorNode = dysonSphere ( {
scale: 2,
complexity: 2,
variation: 0,
color: new THREE.Color(12636415),
background: new THREE.Color(0),
seed: 0
} );
position – coordinates used to map texture, default is TSL positionGeometry nodescale – level of details of the pattern, higher value generates smaller Dyson sphere details, [0, 4]complexity – number of levels of details, [0, 4]color – foreground color of the dyson-spherebackground – background color of the dyson-sphereseed – number for the random generator, each value generates specific pattern