Skip to content

jasonsturges/three-low-poly

Repository files navigation

Three.js Low Poly

Procedurally generated low poly modeling for Three.js.

screen-capture Example Library scene

Getting Started

To install, execute:

npm i three-low-poly

Then, import into a project and use as:

import { MossyRocks } from "three-low-poly";

const rocks = new MossyRocks();
scene.add(rocks);

See the examples for more information.

screen-capture Example Graveyard scene

Usage

Assets are procedurally generated and customizable through parameters, typically based on a core geometry that combines a mesh with a material.

Alongside these geometries, there are prefabricated models that can be added directly to the scene, as well as factory methods for bulk creation.