Real-time WebGL2 black hole raytracer with lensing and accretion disk
Kimi K3 wrote a single-file Schwarzschild black hole in raw WebGL2, with a lensed glowing disk, orbit camera and a slider panel for tuning it.
Crea modelos 3D detallados
Solo con código obtienes formas simples. Wandy 2 convierte una foto en un modelo 3D con texturas que puedes usar en la misma escena.
Prompt para Kimi K3
Create a complete, self-contained single HTML file (no external libraries like Three.js) that implements a real-time geodesic raytracer for a Schwarzschild black hole inspired by Gargantua. Use raw WebGL2 with GLSL ES 3.00 in a single fragment shader. Implement accurate physics: null geodesic integration with 4th-order Runge-Kutta solver, event horizon, photon sphere, accretion disk with proper rendering, gravitational lensing, Doppler beaming, and gravitational redshift effects. Target stable 60 FPS performance. Include mouse-controlled camera orbiting/zooming, and a cyberpunk-style control panel with sliders for parameters (mass, spin, disk density, view angle, etc.). Add subtle particle effects for matter falling in and dynamic lighting/shadows. The output must be 100% complete, immediately runnable in a modern browser, with no black screen, NaNs, errors, or missing features. Prioritize numerical correctness, boundary handling, solver discipline, and physical accuracy above all. Verify and comment key physics equations in the code. Make it visually stunning and interactive like a premium physics demo/game.
Cómo usar este prompt
Paste the prompt into Kimi K3 (or another strong coding model) and request one HTML file with no libraries.
Change the physics targets: spin, disk colours, slider list, or add presets for different scenarios.
Open it in a modern browser, orbit around the hole, then ask for fixes to performance or visual artifacts.
De Wandy3D
¿Necesitas un modelo 3D de verdad en tu escena?
Tu agente construye con primitivas. La API de Wandy3D convierte una foto o un prompt en un GLB con texturas en pocos minutos, con pago desde un saldo prepago y sin suscripción.
- Wandy 20,18 US$ por modelo
- Wandy 10,09 US$ por modelo
El saldo nunca vence · los trabajos fallidos se reembolsan · los modelos creados con la API son tuyos y puedes descargarlos en todos los formatos.
curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \ -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \ -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glbPublicación original¿Eres el autor? Pídenos editar o eliminar esta página
Más prompts como este
Ver todos los prompts
Kimi K3.1Interactive 3D helicopter with takeoff, assembly and exploded views
Lumina
Claude Opus 5.5Rubber band watermelon test: a squeezable, bursting 3D browser toy
林悦己Cheer
Claude Opus 5.5Interactive 3D volcano cutaway simulation with magma chamber
Konstantin Saifoulline
Claude Opus 5.5WebGPU jelly press toy: gummy fruit squashed and burst by a hydraulic press
Vib3Coded
Claude Opus 5.5Single-file WebGPU jelly press toy with soft-body fruit gummies
Vib3Coded
Claude Opus 5.5Scroll-driven exploding mechanical watch in raw WebGPU, single HTML file
Paruchh

