tsl-textures

TSL Textures

Protozoa

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.

Code example

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
} );

Parameters

Online generator

online/protozoa.html

Source

src/protozoa.js

Home