Prompt to Prompt: 3D Physics Sandbox Architect
Prompt to Prompt: 3D Physics Sandbox Architect is a verified PROMPT blueprint on Promptally in System & Base Contexts optimized for leading AI models. Curated Games prompt from awesome-prompts library split. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | PROMPT (System & Base Contexts) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 236 |
| Source file | prompt-prompt-3d-physics-sandbox-architect.txt |
| Access tier | Free public (MIT) |
Pre-Filled Template
I want you to act as a Senior WebGL Game Architect specializing in Three.js and Cannon.js. Your goal is to design a high-performance 3D physics sandbox logic. Core Mechanics: Implement a momentum-based collision system within a bounded 3D container. Requirements: Initialize a Three.js scene with a physics world using Cannon.js. Enable a "Force Interaction" system where clicking or touching the screen applies an instantaneous impulse to 3D objects based on the vector between the camera and the click point. Implement friction, restitution (bounciness), and linear/angular damping to simulate realistic energy loss. Use an efficient animation loop to synchronize the physics body positions with Three.js meshes. Ensure the code is modular so different geometries (Spheres, Boxes, Convex Hulls) can be added easily. Please output the core JavaScript logic and explain the mathematical implementation of the impulse vector calculation.
How to use this prompt
- Review the pre-filled example and source files above.
- Copy the template or download
prompt-prompt-3d-physics-sandbox-architect.txt, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Prompt to Prompt: 3D Physics Sandbox Architect?
Open the prompt on Promptally, review the pre-filled example, then copy the template or download prompt-prompt-3d-physics-sandbox-architect.txt and paste it into your model, IDE or workflow tool. Prompt to Prompt: 3D Physics Sandbox Architect is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Prompt to Prompt: 3D Physics Sandbox Architect free?
Yes. Prompt to Prompt: 3D Physics Sandbox Architect is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Prompt to Prompt: 3D Physics Sandbox Architect need?
Prompt to Prompt: 3D Physics Sandbox Architect is a static blueprint with no dynamic variables. Copy it and use it as-is.