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.
Crie modelos 3D detalhados
Só com código, você tem formas simples. A Wandy 2 transforma uma foto em um modelo 3D texturizado para usar na mesma cena.
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.
Como 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.
Da Wandy3D
Precisa de um modelo 3D de verdade na sua cena?
Seu agente monta cenas com primitivas. A API da Wandy3D transforma uma foto ou um prompt em um GLB com textura em poucos minutos — pago com saldo pré-pago, sem assinatura.
- Wandy 2US$ 0,18 por modelo
- Wandy 1US$ 0,09 por modelo
O saldo nunca expira · tarefas com falha são reembolsadas · modelos feitos pela API são seus para baixar em qualquer formato.
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=glbPost originalVocê é o autor? Peça para editarmos ou removermos esta página
Mais prompts como este
Ver todos os 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

