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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_spatial_module"
}
}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 |