✳ Web Tattva Labs

3D Raycast Surface Picking.

Sub-millisecond pointer raycasting against multi-polygon 3D meshes with dynamic spatial normals and cursor hovering.

View code

Run the JavaScript as a module. Keep the import map from the HTML panel.

<script type="importmap">{"imports":{"three":"https://cdn.jsdelivr.net/npm/three@0.180.0/build/three.module.js","three/addons/":"https://cdn.jsdelivr.net/npm/three@0.180.0/examples/jsm/"}}</script>
<canvas tabindex="0" aria-label="Animation demo"></canvas>