/ lab
  • Basic Brownian distributionBasic Brownian distribution
  • Space GameSpace Game
  • Dancing blobDancing blob
  • Glyph Cut OutNEWGlyph Cut Out
  • Portals RPG DifficultyNEWPortals RPG Difficulty
  • Rapier VehicleRapier Vehicle
  • Plexus ParticlesPlexus Particles
  • Gelatinous CubeGelatinous Cube
  • Rapier BasketballRapier Basketball
  • Rapier Wrecking BallRapier Wrecking Ball
  • Vue Fes Japan 2025Vue Fes Japan 2025
  • Rapier Object ClumpRapier Object Clump
  • Shadertoy MuseumShadertoy Museum
  • Particles MorphingParticles Morphing
  • Texture Particle CursorTexture Particle Cursor
  • Fireworks ShaderFireworks Shader
  • Coffee SmokeCoffee Smoke
  • Grainy Liquid BlobsGrainy Liquid Blobs
  • Cube Boy DancefloorCube Boy Dancefloor
  • Porsche 911 Car ShowcasePorsche 911 Car Showcase
  • WebGPUWebGPU
  • Wizard's Potion ClassroomWizard's Potion Classroom
  • Magical MarblesMagical Marbles
  • Portal JourneyPortal Journey
  • Synthwave LandscapeSynthwave Landscape
  • Repulsion EffectRepulsion Effect
  • Cult of the lamb ๐Ÿ‘Cult of the lamb ๐Ÿ‘
  • Phone with HTML insidePhone with HTML inside
  • Particle Pumpkin ShaderParticle Pumpkin Shader
  • Halloween Spooky-saur ๐ŸŽƒHalloween Spooky-saur ๐ŸŽƒ
  • Nuxt StonesNuxt Stones
  • Brickelangelo DavidBrickelangelo David
  • Galaxy Generator ๐ŸชGalaxy Generator ๐Ÿช
  • Array of camerasArray of cameras
  • Glass/Plastic MaterialGlass/Plastic Material
  • Haunted HouseHaunted House
  • Low Poly PlanetLow Poly Planet
/ lab
/embed/rapier-object-clump

Rapier Object Clump

A cluster of physics-driven spheres pulled toward the center, pushed around by a pointer-controlled kinematic body. Port of the pmndrs object-clump demo using @tresjs/rapier.

Code
Apr 11, 2026
alvarosabu
alvarosabu
physicsrapierinstancing

Port of the pmndrs object-clump demo to TresJS, using @tresjs/rapier for physics and a single InstancedMesh for the clump.