Kimi K3Autor: Harsh

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.

Claude Code + Three.js (solo código)Wandy 2
Modelos reales · 360°Ambos a partir de la misma foto: a la izquierda, una ejecución sin editar de Claude Code (Opus 5.5) que lo modeló con código Three.js; a la derecha, Wandy 2.

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

  1. Paste the prompt into Kimi K3 (or another strong coding model) and request one HTML file with no libraries.

  2. Change the physics targets: spin, disk colours, slider list, or add presets for different scenarios.

  3. 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=glb

Publicación original¿Eres el autor? Pídenos editar o eliminar esta página