Home▸Articles▸Generative Art & Algorithmic Patterns

Lattice Fire: A Visual Symphony of Thermal Dynamics

A generative art simulation that captures the essence of flame behavior through intricate lattice patterns.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Lattice Fire Is

Lattice Fire is an interactive generative art simulation that uses the principles of thermal dynamics to create visually stunning patterns resembling flames. The simulation employs a lattice structure where each node represents a point in space, and the state of these nodes changes over time based on predefined rules.

By leveraging Three.js, Lattice Fire provides users with a 3D environment where they can observe the complex interplay between heat, light, and motion, offering insights into how real flames behave.

How It Works

The simulation begins by defining a lattice grid in three-dimensional space. Each node on this grid represents a point that can be either hot or cold. The state of each node changes over time based on the states of its neighboring nodes, mimicking the diffusion and convection processes found in real flames.

Heat is transferred between adjacent nodes according to predefined rules, often inspired by physical laws such as Fourier's law of heat conduction and Newton's law of cooling.

live demo · related simulation● LIVE

Why It Matters

Lattice Fire not only provides a visually captivating experience but also serves as an educational tool for understanding the principles of thermal dynamics. By observing the patterns generated by the simulation, users can gain insights into how heat spreads and how flames propagate.

Moreover, the techniques used in Lattice Fire have applications beyond generative art, such as in computer graphics, fluid dynamics simulations, and even in modeling complex systems like traffic flow or crowd behavior.

Real-World Applications

The principles underlying Lattice Fire are applicable to various fields. For instance, in the field of combustion science, similar lattice models can be used to simulate and optimize the performance of engines and furnaces.

In computer graphics, these techniques are employed to create realistic fire effects for movies, video games, and virtual reality experiences.

Frequently asked questions

How does Lattice Fire differ from real flames?

Lattice Fire simplifies the complex physics of real flames into a lattice structure, focusing on visual patterns rather than exact physical behavior. It uses mathematical rules to mimic flame dynamics.

Can I use this for educational purposes?

Absolutely! Lattice Fire can be used as an educational tool to help students understand the principles of thermal dynamics and heat transfer in a visual and interactive manner.

What is Three.js, and why is it important?

Three.js is a JavaScript library that allows developers to create 3D graphics on web pages. It's crucial for Lattice Fire as it enables the creation of dynamic and visually rich 3D environments.

Are there other similar simulations available?

Yes, there are many other generative art simulations that use lattice models to create patterns resembling flames or other natural phenomena. Examples include cellular automata and agent-based modeling.

Try it live

Everything above runs in your browser — open Lattice Fire | Three.js and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Lattice Fire | Three.js simulation

What did you find?

Add reproduction steps (optional)