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
/
lib
/
at
main
1 folder
3 files
Mihai
Switch hex coordinate system to axial (q, r)
6w ago
73622fb4
assets
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
export.js
Add drag painting for hex selection Allow users to click and drag across hexes to add or erase selections, update pointer handling for touch input, and add JS typings so pnpm check passes.
1 month ago
hex.js
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
index.js
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