Adding your own three.js objects
This page will explain how to combine a chart with your own three.js content.
Planned topics:
chart.addObject(object3D, { subplot, coords, followZoom })- Converting between data and world coordinates with
chart.dataToWorldandworldToData - Accessing
chart.three.scene,chart.three.renderer, and a trace's objects withchart.getTraceObjects - Render hooks:
beforerenderandafterrender - Making custom objects hoverable
- Using the same
threeinstance as Holochart (whythreeis a peer dependency)
See also Core concepts.