JSFiddle - React, Tailwind, and code Playground
by Hunter Larco
HTML
<script src="http://voxelcss.com/dist/voxel.js"></script>
<link rel="stylesheet" href="http://voxelcss.com/dist/voxel.css">
JavaScript
var scene = new voxelcss.Scene();
scene.attach(document.body);
scene.rotate(-Math.PI/6, Math.PI/4);
scene.add(new voxelcss.Voxel(0, 0, 0, 100, {
mesh: voxelcss.Meshes.grass
}));