Build a standalone passenger-aircraft crash simulator using Three.js, WebGL, and custom shaders.
The simulator will serve as a testing environment for an aircraft model that I intend to reuse in my game. Produce clean, carefully structured code in one new file. Complete and verify each phase before proceeding to the next.
MANDATORY DIRECTORY BOUNDARIES
READ-ONLY REFERENCE PROJECT:
C:\Users\Max\Documents\Claude\FarCry Lagoon\farcry-lagoon
You may ONLY inspect and read files in this directory to understand the existing game, rendering conventions, and island design.
Changing anything in this directory is strictly forbidden. This restriction applies to every file and subdirectory.
DO NOT:
- Create, edit, overwrite, rename, move, or delete files there.
- Install dependencies there.
- Run commands that generate caches, build output, logs, lockfiles, or other files there.
- Change configuration, package manifests, assets, source code, or Git state.
- Start project tools that could write into this directory.
Treat this project exclusively as read-only reference material. The request to create a simulator does not authorize any modification to it.
WRITABLE WORKSPACE:
C:\Users\Max\Documents\ChatGPT\SOL 6.1 Outputs\plan
Perform all implementation work in this directory. Create the simulator here:
C:\Users\Max\Documents\ChatGPT\SOL 6.1 Outputs\plan\passenger-aircraft-crash-simulator.html
Keep any necessary temporary files, verification output, or supporting work inside this writable workspace. Do not overwrite unrelated existing files.
FILE AND IMPLEMENTATION CONSTRAINTS
- Keep the simulator’s JavaScript, styles, interface, and shader source in one standalone HTML file.
- Do not modify the reference project to integrate or launch the simulator.
- Use compatible, explicitly versioned Three.js imports.
- Explain any network dependency required to run the file.
- Generate the aircraft and a small test island procedurally.
- Do not require unavailable models, textures, or private assets.
- Use the reference island to guide the appearance of a small representative test area.