94b0393abb
Wire material properties texture into AntsComputeScene
2026-03-11 15:22:25 -04:00
cb43ebfe83
Remove food from side-view world initialization
2026-03-11 15:15:57 -04:00
37d615e87a
Fix gravity logic and revert y-flip
2026-03-11 15:15:46 -04:00
7003e074c5
Fix startup world init and inverted sand gravity
2026-03-11 14:55:40 -04:00
8909dc6390
Wire side-view world init into Renderer reset
2026-03-11 14:35:43 -04:00
cd8a4ade82
Spawn ants on sand surface in side view mode
...
Add VIEW_MODE_SIDE define to common shader defines so shaders can
branch on view mode via preprocessor. In side view, ants init by
scanning downward from the top to find the first non-air cell, then
spawn one pixel above it facing downward. Top view keeps the original
center spawn with random angle.
2026-03-11 14:35:43 -04:00
e89ee1afa2
Add side-view world initialization with sand and sky
2026-03-11 14:35:43 -04:00
e8e5691d83
Add gravity direction and view mode to Config
2026-03-11 14:25:40 -04:00
568bfe83e3
Fix import order in App.ts after lint
2026-03-11 14:18:29 -04:00
bf34de9816
Wire sand physics pass into render pipeline
2026-03-11 14:18:29 -04:00
66d5f6b251
Add SandPhysicsScene for Margolus block CA
2026-03-11 14:18:29 -04:00
9e5af09476
Add Margolus block CA sand physics shader
2026-03-11 14:18:29 -04:00
3787dbbc3a
Add Margolus block offset utility with tests
2026-03-11 14:05:17 -04:00
89f963f9a6
Render world colors from material color lookup texture
2026-03-11 14:01:33 -04:00
29e5dbeb06
Extend draw tools to support material palette
...
Replace bit-flag draw modes with direct material ID painting. draw.frag
now writes the material ID float directly instead of toggling individual
cell flag bits. ScreenScene drops the PointerState enum in favor of
numeric material IDs from constants.ts, and adds Digit1/Digit2 bindings
for sand and dirt.
2026-03-11 14:01:33 -04:00
e6af97f402
Update ant compute shader for material IDs
2026-03-11 14:01:33 -04:00
e210ebc72d
Update world shader to use material IDs
...
Replace bit-packed cell flags in the R channel with a direct material ID float pass-through. Food clearing now writes MAT_AIR instead of clearing a bit.
2026-03-11 14:01:33 -04:00
0f9c1b47f2
Replace bit-packed cell flags with material ID constants
2026-03-11 14:01:33 -04:00
f5b04f08c6
Wire material lookup textures into Renderer
2026-03-11 13:43:04 -04:00
a1e164454d
Add GPU lookup texture data generation for materials
2026-03-11 13:43:04 -04:00
bc2c8fa270
Add material registry with built-in materials
2026-03-11 13:43:04 -04:00
dd27634f0c
Add material type definitions
2026-03-11 13:43:04 -04:00
4457368636
Add ant farm sand physics implementation plan
2026-03-11 12:44:24 -04:00
de010adf44
Add ant farm sand physics design doc
...
Covers GPU Margolus block CA for particle sand, hybrid material
system (shader behaviors + data-driven registry), ant digging/carrying
mechanics, dual camera (side view primary, top-down secondary), and
tiered gravity model (basic -> angle of repose -> pressure propagation).
2026-03-11 12:39:47 -04:00
1c74aabd53
Change from blue to red
2026-03-10 11:04:28 -04:00
a187ccded2
Fix zooming
2026-03-10 11:04:13 -04:00
8ad5130466
Persist config changes in local storage
2026-03-10 10:53:52 -04:00
14208e17fb
Move panels to the left
2026-03-10 10:53:52 -04:00
8dfc6f54bc
Disable culling
2026-03-10 10:53:44 -04:00
eddef83e5b
Add neocities deploy
2026-03-10 10:53:44 -04:00
b2fb120b6b
Add richer ant documentation
2026-03-09 12:12:28 -04:00
a3476d8ea7
Fix all linting checks
2026-03-09 11:26:06 -04:00
2c303b61f2
Document new ant behaviors
2026-03-09 11:26:06 -04:00
451e187032
Add colony stats readback for aggregate ant state
2026-03-09 11:15:57 -04:00
862cbfc3b7
Add ant presence texture for future spatial neighbor queries
2026-03-09 11:15:57 -04:00
bdf42a3176
Add cell metadata bit layout for terrain type and food quality
...
Reserve bits 3-5 for terrain type (0-7) and bits 6-13 for food quality
(0-255) in the world texture R channel. Adds shared TS constants and
matching GLSL defines. world.frag now preserves upper bits when writing
cell data. Infrastructure only — no behavior changes.
2026-03-09 11:15:57 -04:00
5899330f5c
Add repellent pheromone channel with per-channel blur parameters
2026-03-09 10:48:14 -04:00
cff99b7f08
Add second ant texture with MRT for extended ant state
2026-03-09 10:45:26 -04:00
221606b527
Fix pre-existing typecheck errors
2026-03-09 10:39:35 -04:00
03679622a3
Add tooling setup with biome, justfile, and check pipeline
2026-03-09 10:39:31 -04:00
a3bbc258be
Add ant docs
2026-03-09 10:22:03 -04:00
d90a6784c5
Add an agent config
2026-03-09 09:57:05 -04:00
2910f692a8
Organize as an updated bun project
2026-03-09 09:55:24 -04:00
StrandedKitty
d7715f7da7
Update README.md
2022-08-11 16:47:12 +03:00
vHawk
8968d6c2b7
Fix canvas size
2022-07-11 08:41:32 +03:00
vHawk
9ecb9f55aa
Add pheromone settings to GUI
2022-07-11 05:43:33 +03:00
vHawk
c84a3b46b7
Update GUI
2022-07-11 03:05:09 +03:00
vHawk
a3c03cafef
Fix world texture sampling
2022-07-11 02:19:01 +03:00
vHawk
9e80ac2c96
Resize FBs and recompile materials after config change
2022-06-30 00:35:59 +03:00
vHawk
a2b5d45a52
Add obstacles
2022-06-29 15:45:31 +03:00