---
title: "The Hadley Attractor · generative art"
description: "A Mathematical Model for Atmospheric Circulation. Generative art plate #10 by Theodore Vorillas, drawn live in your browser from its equations."
url: "https://vorillaz.com/lab/hadley-attractor"
---

![](https://vorillaz.com/_astro/hadley-attractor.CmxSRncq_1FQhoN.webp)

fig. #10 · rendered live in your browser from the equations below

# #10 the hadley attractor

A Mathematical Model for Atmospheric Circulation.

- date

  2019.05.02

- tags

  generative-art · javascript

- fork

  [codepen ↗](https://codepen.io/TheodoreVorillas/pen/rbXGZY)

## The algorithm

```javascript title="hadley-attractor.js"

const a = 0.2;
const b = 4;
const f = 8;
const g = 1;

const next = (x,y,z) => {
  const dx = -Math.pow(y, 2) - Math.pow(z, 2) - a * x + a * f;
  const dy = x * y - b * x * z - y + g;
  const dz = b * x * y + x * z - z;
  return {dx,dy,dz};
};
```

## References

- [Dynamical Analysis of the Lorenz-84 Atmospheric Circulation Model](https://www.hindawi.com/journals/jam/2014/296279/)
- [A model for atmospheric circulation](http://redshift.vif.com/JournalFiles/V19NO3PDF/V19N3LAK.pdf)
- [Dynamics of the Hadley circulation in an axisymmetric model undergoing stratification periodic forcing](https://www.nonlin-processes-geophys.net/24/167/2017/npg-24-167-2017.pdf)
