Skip to main content
100%

Untitled

✓ Published0🌍 Public
Jjorelchan
Last edited Jan 27, 2021
Created on Jan 27, 2021
Forked from 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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes