shkartmaz / cellular-magma

Visualizing crystallisation in a magma chamber using cellular automata & little to no actual thermodynamics
MIT License
0 stars 0 forks source link

Add cooling #1

Open shkartmaz opened 1 year ago

shkartmaz commented 1 year ago
shkartmaz commented 1 year ago

Indiscriminate heat transfer worked once during debug, but then I changed something, and it never did again.
Formula has been verified, but there's an error somewhere
Using this formula for each three vertically adjacent cells:
new_T = old_T + delta_T * k