Go to file
Michael Mainguy 942c0a1af0
Some checks failed
Build / build (push) Failing after 18s
Distribute asteroids in 3D spherical pattern around base
- Use spherical coordinates (theta, phi) instead of circular (2D)
- Apply equal-area distribution formula for even spacing on sphere
- Convert spherical to Cartesian: (r, theta, phi) -> (x, y, z)
- Asteroids now surround player from all directions (above, below, around)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 08:46:54 -05:00
.github/workflows increased heap space. 2025-10-28 12:01:29 -05:00
public Add JSON-based level editor with localStorage persistence 2025-10-29 08:24:55 -05:00
server Initial Commit 2025-02-15 11:19:24 -06:00
src Distribute asteroids in 3D spherical pattern around base 2025-10-29 08:46:54 -05:00
.gitignore Initial Commit 2025-02-15 11:19:24 -06:00
CLAUDE.md Add JSON-based level editor with localStorage persistence 2025-10-29 08:24:55 -05:00
index.html Add JSON-based level editor with localStorage persistence 2025-10-29 08:24:55 -05:00
package-lock.json Optimize WebXR performance and add procedural planet generation 2025-10-28 11:50:18 -05:00
package.json Add difficulty levels and upgrade BabylonJS 2025-10-17 09:05:18 -05:00
styles.css Add difficulty levels and upgrade BabylonJS 2025-10-17 09:05:18 -05:00
tsconfig.json Initial Commit 2025-02-15 11:19:24 -06:00
vite.config.ts Add difficulty levels and upgrade BabylonJS 2025-10-17 09:05:18 -05:00