This texture attempts imitate the curves from the famous painting “The Scream” by Edvard Munch. Click on a snapshot to open it online.
import { scream } from "tsl-textures/scream.js";
model.material.colorNode = scream ( {
scale: 2,
variety: 1,
color: new THREE.Color(15790176),
background: new THREE.Color(13668496),
seed: 0,
} );
scale
– level of details of the pattern, higher value generates finer details, [0, 4]variety
– hue variety of colors, [0, 1]color
– main colorbackground
– secondary colorseed
– number for the random generator, each value generates specific pattern