texture-generator

Procedural Equirectangular Textures

Zebra lines

This texture renders a pattern of regularily spread white and black lines. They are used in the zebra analysis to examine the second derivative of smooth surface. The generated texture is intended for color or environment maps. Click on a snapshot to open it online.

Code example

Code template of parameters with their default values.

import * as PET from "pet/patterns/zebra-lines.js";
:
model.material.map = PET.texture( );
PET.material( model.material );

Parameters

The parameters of the texture generator are:

API

All texture modules share the same API.

Online generator

online/zebra-lines.html

Source

src/patterns/zebra-lines.js

Back