🌍 Public
Viewing a saved revision (read-only)
fe3a02221aa14db18d3187b2bccd9199
Untitled
An interactive 3D surface plot visualizes a mathematical function of two variables, rendered as animated SVG polygons that respond to drag gestures for rotation. The code uses the d3-3d library with d3.v4 to project points into 3D space, while `d3.drag()` handles mouse interaction to update rotation angles. Surface color varies by height using `d3.interpolateSpectral`. A button triggers `d3.randomUniform` to generate new function parameters, transitioning the surface over one second via D3 transitions.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.