Table of Contents
About
Additions
Demonstration
Code
About
This is a tweaked version of the threejs Voxels template.
Additions
The voxel brush is hidden when holding down
Shift
- even when the cursor intersects a voxel.
Uses
W
S
A
D
for navigation as well as
E
for up and
C
for down.
Parametrised the grid size and the voxel size allowing for cuboids instead of cubes.
Demonstration
Voxels Demonstration
Code
js
cube.js
plane.js
threecanvas.js
voxels.html