Skip to content

An interactive 3D experience built using React Three Fiber (R3F) and Three.js.

Notifications You must be signed in to change notification settings

petrlipatov/3d-gallery

Repository files navigation

screencast.mp4

Desc

An interactive 3D experience built using React Three Fiber (R3F) and Three.js. The project showcases dynamic animations, smooth transitions, and responsive layouts optimized for various screen sizes.

Initial problem

When manipulating hundreds of objects in 3D space, libraries (eg GSAP, React-Spring) create long tasks up to 1000 ms. I solved the issue by using native Three.js methods, reserving spring animations for smaller tasks. This reduced performance bottlenecks and ensured smooth, responsive interactions.

Features

  • Navigate 3d gallery
  • Multiple sorting algorithms with lerp animations
  • Drag & Drop elements
  • Hires images available by clicking

Tech

  • React
  • TypeScript
  • Three.js
  • React Three Fiber (R3F)
  • React-Spring

Link to the application

About

An interactive 3D experience built using React Three Fiber (R3F) and Three.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published