Hermite Data Helper
A Hermite data visualization tool for rabbit-hole and three.js.
Installation
This library requires the peer dependency three.
npm install three hermite-data-helper
Usage
;;; const scene = ;const data = ;const cellPosition = ;const cellSize = 1; const hermiteDataHelper = cellPosition cellSize data; // Render the helper.scene; // Access special geometry subgroups.console;console;console; // Use a different cell size, position and data set.hermiteDataHelper; try // Destroy the helper geometry and rebuild grid points and edges. hermiteDataHelper; catche // The provided position, size or data is invalid. // Destroy the helper geometry.hermiteDataHelper;
A full example can be found here.
Contributing
Maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.