This texture generates a pool full of protozoa organisms. The position and shape of protozoa depend on the viewing position. Thus a mere rotation of the scene or the camera induces motion of the protozoa. Click on a snapshot to open it online.
import { protozoa } from "tsl-textures/protozoa.js";
model.material.colorNode = protozoa ( {
scale: 1.5,
fat: 0.7,
amount: 0.4,
color: new THREE.Color(10526880),
subcolor: new THREE.Color(14739711),
background: new THREE.Color(15792383),
seed: 0
} );
scale
– level of details of the pattern, higher value generates finer details, [0, 4]fat
– the size of the largest protozoa, [0, 1]amount
– amount of protozoa organisms, [0, 1]color
– color of protozoasubcolor
– additional, secondary color of protozoabackground
– color of pool backgroundseed
– number for the random generator, each value generates specific pattern