swiftui-charts-3d
CommunityCreate interactive 3D charts with Swift Charts
AuthorAutisticAF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Helps Apple platform developers build and customize interactive 3D surface visualizations in SwiftUI using the Charts framework, removing guesswork around plotting mathematical functions, rendering data-driven surfaces, styling surfaces by height or normals, and controlling camera pose and projection.
Core Features & Use Cases
- Math-driven surfaces: Plot z = f(x, y) functions as continuous 3D surfaces for scientific and demo visualizations.
- Data-driven surfaces: Render surfaces from arrays of sampled points for terrain, heatmaps, or measured datasets.
- Interactive pose control: Bind a Chart3D pose to state for drag-to-rotate interactions or use fixed poses for static views.
- Styling and rendering: Apply solid colors, gradients, height-based coloring, normal-based shading, and roughness to tune appearance.
- Camera projection modes: Choose perspective for visual appeal or orthographic for accurate measurements.
- Use case example: Create a terrain viewer with height-based coloring, interactive rotation, and perspective projection to explore elevation data.
Quick Start
Render an interactive 3D surface in SwiftUI that uses height-based coloring, a draggable camera pose, and perspective projection.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: swiftui-charts-3d Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#swiftui-charts-3d Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.