This is a great book to understand and implement the programming strategies and techniques behind computer simulations of natural systems. The book examples are in processing. And I wanted to learn more about cinder. So I just try to reimplement every book example with Cinder.
Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
You should have CINDER_PATH defined as a environment variable
cd into the example folder
make
It should build and run the example
- Introduction
- Traditional random walk
- Random number distribution
- Non uniform distribution
- Normal distribution random numbers
- Custom Distribution of random numbers
- Perlin Noise Walker
- 2D Perlin Noise
- Vectors
- Bouncing ball with no vectors
- Bouncing ball with vectors
- Vector substraction
- Vector multiplication
- Vector magnitude
- Vector normalization
- Vector Motion : Acceleration
- Interactivity with acceleration
- Forces
- Creating forces
- Gravity on earth
- Friction
- Air and fluid resistance
- Gravitational attraction
- Everything attracs everything
- Oscillation
- Angular motion
- Forces with angular motion
- Pointing in the direction of motion
- Polar to cartesian
- Simple harmonic motion
- Oscillator objects
- The wave
- The pendulum
- Spring forces
- Particle systems
- Single particle
- Array List (Std vector)
- Simple single particle system
- A system of systems
- Particles with inheritance
- Polymorphism basics
- Particle systems with forces
- Particle systems with repellers
- Image texture and additive blending
- Physics Libraries
- Box2D
- Fixed objects
- Curvary boundary
- Feeling attached
- Windmill
- Mouse Joint
- Forces
- Collision listening
- Simple spring with verlet integration
- Soft swinging pendulum
- Cluster
- Attraction / Repulsion
- Autonomous Agents
- Vehicles and steering
- Arrive steering behaviour
- Flow fields
- Path following
- Path following with multiple segments
- Complex systems
- Seek and separate
- Flocking
- Optimized flocking
- Cellular automata
- Elementary CA
- Game of life
- Fractals
- Recursive circle
- Recursion twice
- Recursion four times
- Cantor set
- Kock curve
- Recursive tree
- Scholastic tree
- Simple L-system
- The Evolution of Code
- Evolving Shakespeare
- Smart Rockets
- Smart Rockets With Obstacles
- Interactive Selection
- Ecosystem Simulation