Generate the immersive 3D deep-scroll Flutter module
generate_spatial_moduleGenerate spatial canvas code with scroll-driven Z-axis camera, Matrix4 parallax layers, starfield, and snap-point rooms. Optionally include flutter_scene/flutter_cube mesh stages and Rive HUD overlay.
Instructions
Emit the spatial canvas code (scroll-driven Z-axis camera, Matrix4 perspective parallax layers, CustomPainter starfield, snap-point rooms, reduced-motion fallback; optional flutter_scene/flutter_cube mesh stage and Rive HUD) into an existing project or a fresh module directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rive | No | Include the Rive HUD overlay seam. | |
| project_dir | No | Existing devuniverse project to write into (files land under app/). Omit to create a standalone module. | |
| depth_layers | No | ||
| project_name | No | Display name used inside the demo journey. | Spatial Canvas |
| mesh_renderer | No |