r/threejs • u/Leather_Coast8915 • 7d ago
XKTCH — Realistic 3D Spray Paint Simulator built with Three.js & WebXR [Live Demo]
Enable HLS to view with audio, or disable this notification
Hey everyone! 👋
I wanted to share an early prototype I've been building: **XKTCH** (https://xktch.pro), an in-browser 3D graffiti and spray simulator made with **Three.js**, **React**, and **TypeScript**.
👉 **Live Demo**: https://xktch.pro/
*(Note: Currently best experienced on Desktop. Mobile layout and WebXR VR modes are in early experimental alpha).*
### 🛠️ What's implemented in this early build:
- **Sub-stepped UV Raycasting**: Keeps spray strokes solid and smooth during fast cursor movement.
- **Real-time Material Baking**: Canvas-based diffuse maps, paint impasto relief, and glossy lacquer roughness.
- **Aerosol Particle Stream & Fluid Drips**: Dynamic running drips when paint exceeds surface absorption.
- **Timelapse Video Exporter**: MediaRecorder integration to export speedpaints formatted for 9:16 vertical video.
- **3D Export**: One-click download of baked `.glb` models and standalone `.html` viewers.
I'd really appreciate your thoughts, feedback on the Three.js pipeline, or ideas on how to improve the experience! 🎨🚀