Skip to content

feat: add ambient heat, pressure boil, and glass - #13

Merged
chowjiaming merged 1 commit into
feat/pixel-velocityfrom
feat/ambient-heat
Aug 14, 2026
Merged

chowjiaming merged 1 commit into
feat/pixel-velocityfrom
feat/ambient-heat

Conversation

@chowjiaming

Copy link
Copy Markdown
Owner

Summary

  • Coarse ah on the air grid (Empty pixel heat stays 0). Gases dump heat into air; solids take heat from hotter air. Hot air above room temperature gets a Boussinesq upward vy bias.
  • Boil point is WATER_BOIL + max(pv,0)/40. Steam still condenses in still air.
  • Sand at heat 180 becomes locked Glass (id 15), dirty green-gray, palette button.

Test plan

  • just verify
  • High-pv water needs more heat to boil than still water
  • Isolated steam still condenses to water
  • Sand next to trapped fire becomes glass; add_heat(180) is one-way
  • Empty heat() stays 0 next to fire
  • from_u8(15) round-trips; from_u8(16) is None

Occupied cells couple to a coarse air-heat field so hot air rises; pressure raises water's boil point, and sand bakes into locked glass.
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chowjiaming
chowjiaming merged commit 8c5d0f0 into feat/pixel-velocity Aug 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant