texture-generator

Procedural Equirectangular Textures

Polka dots

This texture arranges dots similar to the Polka dots in fashion design. There are 20 layouts for the dots ranging from a single dot, then vertices of Platonic soids derivatives and vertices of a sunflower seeds arragement (also known as Fibonacci lattice) with up to 5000 dots. Click on a snapshot to open it online.

Code example

Code template of parameters with their default values.

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

Parameters

The parameters of the texture generator are:

Additional system parameter:

API

All texture modules share the same API.

Online generator

online/polka-dots.html

Source

src/patterns/polka-dots.js

Back