alpha
Login
or
Join now
mihaizaurus.at
/
hexabounds
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
funky vibe-coded app to test out hex-grid based outlines
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
hexabounds
/
src
/
at
main
2 folders
3 files
Mihai
Switch hex coordinate system to axial (q, r)
6w ago
73622fb4
lib
Switch hex coordinate system to axial (q, r) Replace the doubled-offset ID system with standard axial coordinates. The same (q, r) pair now identifies the same hex in both flat-top and flat-sides orientations, so shapes port correctly between layouts and the 30° visual rotation on mode switch is expected behaviour. - hexNeighborIds: drop flatTop param; 6 directions are layout-invariant - generateGrid: compute axial IDs from offset loop counters - buildHexesFromIds: use axial pixel projection formulas - translateHexId deleted; shape moves are plain (q+dq, r+dr) addition - originQ/originR replace originCol/originRow throughout - saveShape stores {q, r} positions; fmtPos outputs axial coords - migrateItem converts old {column, row} localStorage data on first load
1 month ago
routes
Switch hex coordinate system to axial (q, r) Replace the doubled-offset ID system with standard axial coordinates. The same (q, r) pair now identifies the same hex in both flat-top and flat-sides orientations, so shapes port correctly between layouts and the 30° visual rotation on mode switch is expected behaviour. - hexNeighborIds: drop flatTop param; 6 directions are layout-invariant - generateGrid: compute axial IDs from offset loop counters - buildHexesFromIds: use axial pixel projection formulas - translateHexId deleted; shape moves are plain (q+dq, r+dr) addition - originQ/originR replace originCol/originRow throughout - saveShape stores {q, r} positions; fmtPos outputs axial coords - migrateItem converts old {column, row} localStorage data on first load
1 month ago
app.css
Switch hex coordinate system to axial (q, r) Replace the doubled-offset ID system with standard axial coordinates. The same (q, r) pair now identifies the same hex in both flat-top and flat-sides orientations, so shapes port correctly between layouts and the 30° visual rotation on mode switch is expected behaviour. - hexNeighborIds: drop flatTop param; 6 directions are layout-invariant - generateGrid: compute axial IDs from offset loop counters - buildHexesFromIds: use axial pixel projection formulas - translateHexId deleted; shape moves are plain (q+dq, r+dr) addition - originQ/originR replace originCol/originRow throughout - saveShape stores {q, r} positions; fmtPos outputs axial coords - migrateItem converts old {column, row} localStorage data on first load
1 month ago
app.d.ts
Initial commit: hexabounds hex grid app SvelteKit + Vite app: clickable hex grid that merges outlines around touching hexes, settings panel for radius and angle, persistent shape library, and SVG/PNG export. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 month ago
app.html
Initial commit: hexabounds hex grid app SvelteKit + Vite app: clickable hex grid that merges outlines around touching hexes, settings panel for radius and angle, persistent shape library, and SVG/PNG export. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 month ago