3d-assets

3D Assets

Plate

This generator creates a 3D traditional or flat plate. A set of parameters control the size and the shape of the plate. It is possible to generale low-poly plate by reducing its complexity, removing edges and using flat shading. Click on a snapshot to open it online.

Code example

import { Plate } from "3d-assets/plate.js";

var model = new Plate ({
	plateHeight: 1.6,
	plateSize: 18,
	plateShape: 25,
	plateWidth: 0.3,
	plateComplexity: 50,
	simple: false,
	flat: false
});

Parameters

Plate parameters

Complexity parameters

Internal structure

An instance of Plate is a THREE.Group with one submesh called body.

Minimal example

demos/minimal-plate.html

Online generator

online/plate.html

Source

src/plate.js

Home