What problem does it solve?
This Skill eliminates the difficulty of building native 3D data visualizations in SwiftUI apps, removing the need for complex custom 3D rendering code or unmaintained third-party chart libraries.
Core Features & Use Cases
- Math and data-driven surface rendering: Generate 3D surfaces from mathematical functions or arrays of data points.
- Interactive camera controls: Support for drag-to-rotate viewing, preset camera angles, and custom azimuth/inclination settings.
- Customizable surface styling: Apply solid colors, gradients, height-based coloring, and roughness adjustments to 3D surfaces.
- Flexible camera projection: Choose between perspective (depth-aware) and orthographic (precision) rendering modes.
- Use Case: Visualize terrain elevation data for a hiking app, or plot 3D sensor readings from a scientific monitoring tool.
Quick Start
Use the charts-3d skill to build an interactive 3D surface plot of the function sin(x) * cos(z) with height-based gradient coloring and perspective projection for my SwiftUI macOS app.