Prompt
0 copies · 0 said it worked
Design a Three.js and Cannon.js 3D physics sandbox with click impulses
Asks the model to act as a WebGL game architect and produce modular JavaScript for a bounded 3D physics sandbox with click-driven impulses, friction, restitution, damping, and an explanation of the impulse math.
People use this for
- threejs cannon physics sandbox prompt
- click impulse 3d physics javascript
- threejs cannonjs game physics code
- bouncy 3d objects restitution friction code
Imported on Nov 29, 2026 from 3D Physics Sandbox Architect . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
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.
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Design system architectures and produce a trackable TODO plan
A system-architect role prompt that guides the model through requirements analysis, architecture options, component and API design, risk planning, and a checkbox-based TODO_system-architect.md deliverable.
Coding · @wkaandemir
- Design a 3D physics block-stacking game that teaches sentence structure
Prompt asking the model to act as a graphics engineer and design a Three.js and Ammo.js block-stacking game where parts of speech balance only when a Subject-Verb-Object sentence is grammatically ordered.
Coding · @loshu2000
- Expert agent role for designing REST, GraphQL, and gRPC APIs into a tracked TODO plan
A senior API design expert role that guides designing RESTful, GraphQL, or gRPC APIs covering conventions, security, versioning, errors, and docs, with output written as checkable tasks in TODO_api-design-expert.md.
Coding · @wkaandemir
- Build a 3D racing game in Three.js with physics, AI, and race modes
A prompt asking the model to create an exciting 3D racing game in Three.js and JavaScript, covering vehicle physics, car customization, tracks, AI opponents, split-screen multiplayer, HUD, particle effects, day/night cycle, race modes, and replays.
Coding · @f
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.