Playing with Particle Flow Fields

Categories

I’ve been working on a new little side project: a Particle Flow Fields app. It’s a tool where you can watch particles drift around in invisible currents, like dust in the wind. The “wind” comes from simple maths formulas that describe how particles should move in the x and y directions.

*

Each preset in the app is just two equations, but the results can be surprisingly complex. Some look smooth and wavy, while others spiral or scatter into chaotic patterns. I’ve included a mix of classic attractors (like Lorenz, Clifford, De Jong, Henon, and Ikeda) along with more experimental flows. They’re not mathematically exact — more like artistic remixes of the originals — but they capture the same flavour of chaos.

*

The fun part is that you can also write your own formulas. By combining x, y, and t with functions like Math.sin(), Math.cos(), and Math.hypot(), you can invent new flow fields and instantly see how particles behave. A few tweaks can completely change the feel of the system, from gentle waves to violent storms.

*

You can try it out here: Particle Flow Fields

This project sits alongside my other experiments like beep8, a retro game engine, and of course Brush Ninja. They’re all part of me exploring the space between creativity, code, and play.

*

How was it for you? Let me know on BlueSky or Mastodon

Link to this page

Thanks for reading. I'd really appreciate it if you'd link to this page if you mention it in your newsletter or on your blog.

Related Posts

29 Jan 2010

Building WPVote Part 7: Almost Done

Building WPVote has been a really interesting process for me. I have learnt stacks of new things, and through developing WPVote have added a stack of improvements to my WordPress Elemental.From start to finish I have: Building WPVote Part 1:...
15 Aug 2005

The Free Sound Project

Over at the Free Sound Project they are collecting royalty free sound samples using the Creative Commons license. You can use them commercially (in video games for example…) as long as you give credit to the original authors. You’re not...
22 May 2024

Enhance Your Website with my Free Embeddable Drawing App

Over on Brush Ninja I’ve been working on a free embeddable drawing app called Paint Ninja. If you’ve ever used Procreate or the classic MS Paint from the ’90s, you’ll feel right at home with this.A Fun Creative ToolBrush Ninja...
16 Jul 2007

Ratatouille Review: Part 1

As I have mentioned a couple of times now, I was recently invited to a press screening for the new film Ratatouille.Initially, I was skeptical, but I decided I’d regret it if I didn’t at least try – and I...
25 Jun 2018

Brush Ninja

4 years ago I uploaded a video of an animation creator website I was building called Brush Ninja. Then mostly forgot about it. A video of the original version of Brush Ninja from over 4 years ago. The project was...