Generative Art, Physics and Non-Fungible Tokens

Chaotic Attraction Collection

Overview

Chaotic Attraction is an invitation to see, touch, and feel the natural state of the world, that of chaos and complex beauty.


This interactive physics simulations are the result of numerically integrating a Lorentz system of differential equations, resulting in what is better known as The Butterfly Effect.


Each images was taken manually from inside each simulation to try and capture the beautiful structures that emerge from chaotic systems.

Try playing with them! The code and simulations are minted and available as NFTs on the Ethereum Testnet Network.

Approach

In this project, we tackled the Lorentz system of equations numerically, creating striking visuals of the butterfly effect.


  • Python for generating parameter combinations for Lorentz equations.

  • Applied Euler and Runge-Kutta numerical integration methods for equation solutions.

  • Employed Flocc.js for system modeling and simulation with computational agents.

  • Used Three.js for interactive 3D scene rendering.

  • Created my own tool to navigate and capture images manually from inside the simulation scene.

  • Leveraged Vite to package simulations into single files for IPFS upload.

  • Minted simulations into NFTs via an ERC-721 smart contract on the Ethereum Blockchain, viewable on platforms like OpenSea.

Osvaldo Rosales 2023

Pacific Standard Time UTC-8