I am working on converting:
https://github.com/spacejack/poaceae/blob/master/ts/grass.ts
to a playground.
I have gotten to this part:
const geo = new THREE.InstancedBufferGeometry()
// Make a giant bounding sphere so the mesh never goes out of view.
// Also, because there are no position vertices, we must create our own bounding sphere.
geo.boundingSphere = new THREE.Sphere(
new THREE.Vector3(0,0,0), Math.sqrt(opts.radius * opts.radius * 2.0) * 10000.0
)
geo.addAttribute('