ladunjexa / reactjs18-3d-portfolio

incredible 3D developer portfolio website with awesome graphics - built with React & Three.js 🪄
https://threejs-3-d-portfolio.vercel.app
MIT License
381 stars 153 forks source link

[bug-fix] THREE.BufferGeometry #6

Closed CameronBeneteau closed 1 year ago

CameronBeneteau commented 1 year ago

Stars.jsx throws a runtime error [non-breaking].

Fix: Stars array should have a size divisible by 3. The threejs vector takes 3 points (x, y, z) from array. 5000 leaves the last point without a z value.

Screen Shot 2023-05-13 at 9 11 33 PM

References:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
threejs-3-d-portfolio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2023 1:20am