tsl-textures

TSL Textures

Dyson sphere

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.

Code template

import { dysonSphere } from "tsl-textures/dyson-sphere.js";

model.material.colorNode = dysonSphere ( {
	scale: 2,
	complexity: 2,
	variation: 0,
	color: new THREE.Color(12636415),
	background: new THREE.Color(0),
	seed: 0
} );

Parameters

Online generator

online/dyson-sphere.html

Source

src/dyson-sphere.js

Home