texture-generator

Procedural Equirectangular Textures

Photosphere

This texture renderes the convection cells of plasma on the surface of a star. These granules are a phenomenon of the photosphere. The generated texture is intended for color 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/photosphere.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/photosphere.html

Source

src/patterns/photosphere.js

Back