See: Simulacra and Simulation.
Study of The Nature of Code by Daniel Shiffman.
This project is organized around the following constructs:
simulation- a self-contained p5.js sample; encapsulates a discrete computational model that explores how fundamental principles manifest into a controlled environment.axiom- fundamental principles upon which different simulations are built; used to categorizesimulations.pattern- patterns define common metadata parameters and are used to connect asimulationto anaxiom.theme- theme provides helpful functions for retrieving colors that respect the current preferred color scheme.
- Create a class that extends from
Simulation.- Example:
RandomNumberDistribution.
- Example:
- Once the simulation is complete, create an instance of
SimulationPatternwithin the appropriate axiom pattern.- Example:
RandomnessPatterns.
- Example:
- Create a class that extends from
Axiom.- Example:
Randomness.
- Example:
- Create a pattern array for the axiom that will define the associated
SimulationPatternobjects.- Example:
RandomnessPatterns.
- Example:
- Add the axiom to the
Axiomsarray.
This project was generated using Angular CLI version 19.2.7.
To start a local development server, run:
npm run startOnce the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.