Actions for The nature of code
The nature of code / by Daniel Shiffman ; editor, Shannon Fry ; illustrations, Zannah Marsh
- Author
- Shiffman, Daniel
- Additional Titles
- Subtitle on cover: Simulating natural systems with processing
- Published
- [United States] : D. Shiffman, [2012]
- Copyright Date
- ©2012
- Edition
- Version 1.0.
- Physical Description
- xxi, 498 pages : illustrations ; 24 cm
- Additional Creators
- Fry, Shannon and Marsh, Zannah
- Contents
- Introduction -- ch. 1. Vectors -- ch. 2. Forces -- ch. 3. Oscillation -- ch. 4. Particle systems -- ch. 5. Physics libraries -- ch. 6. Autonomous agents -- ch. 7. Cellular automata -- ch. 8. Fractals -- ch. 9. The evolution of code -- ch. 10. Neural networks -- Further reading. and Introduction : Random walks ; The random walker class ; Probability and non-uniform distributions ; A normal distribution of random numbers ; A custom distribution ; Perlin noise (a smoother approach) ; Onward -- Vectors : Vectors, you complete me ; Vectors for processing programmers ; Vector addition ; More vector math ; Vector magnitude ; Normalizing vectors ; Vector motion: velocity ; Vector motion: acceleration ; Static vs. non-static functions -- Forces : Forces and Newton's laws of motion ; Forces and processing : Newton's second law as a function ; Force accumulation ; Dealing with mass ; Creating forces ; Gravity on earth and modeling a force ; Friction ; Air and fluid resistance ; Gravitational attraction ; Everything attract (or repels) everything -- Oscillation : Angles ; Angular motion ; Trigonometry ; Pointing in the direction of movement ; Polar vs. Cartesian coordinates ; Oscillation amplitude and period ; Oscillation with angular velocity ; Waves ; Trigonometry and forces: the pendulum ; Spring forces -- Particle systems : Why we need particle systems ; A single particle ; The ArrayList ; The particle system class ; A system of systems ; Inheritance and polymorphism: an introduction ; Inheritance basics ; Particles with inheritance ; Polymorphism basics ; Particle systems with polymorphism ; Particle systems with forces ; Particle systems with repellers ; Image textures and additive blending -- Physics libraries : What is Box2D and when is it useful? ; Getting Box2D in processing ; Box2D basics ; Living in a Box2D world ; Building a Box2D body ; Three's company: bodies and shapes and fixtures ; Box2D and processing: reunited and it feels so good ; Fixed Box2D objects ; A curvy boundary ; Complex forms ; Feeling attached: Box2D joints ; Bringing it all back home to forces ; Collision events ; A brief interlude: integration methods ; Verlet physics with toxiclibs ; Particles and springs in toxiclibs ; Putting it all together: a simple interactive spring ; Connected systems: part I. String ; Connected systems: part II. Force-directed graph ; Attraction and repulsion behaviors -- Autonomous agents : Forces from within ; Vehicles and steering ; The steering force ; Arriving behavior ; Your own desires: desired velocity ; Flow fields ; The dot production ; Path following ; Path following with multiple segments ; Complex systems ; Group behaviors (or: let's not run into each other) ; Combinations ; Flocking ; Algorithmic efficiency (or: why my $@(*%! run so slowly?) ; A few last notes: optimization tricks -- Cellular automata : What is a cellular automaton? ; Elementary cellular automata ; How to program an elementary CA ; Drawing an elementary CA ; Wolfram classification ; The game of life ; Programming the game of life ; Object-oriented cells ; Variations of traditional CA -- Fractals : What is a fractal? ; Recursion ; The cantor set with a recursive function ; The Koch curve and the ArrayList technique ; Trees ; L-systems -- The evolution of code : Genetic algorithms: inspired by actual events ; Why use genetic algorithms? ; Darwinian natural selection ; The genetic algorithm, part I. creating a population ; The genetic algorithm, part II. selection ; The genetic algorithm, part III. reproduction ; Code for creating the population ; Genetic algorithms: putting it all together ; Genetic algorithms: make them your own ; Evolving forces: smart rockets ; Smart rockets: putting it all together ; Interactive selection ; Ecosystem simulation -- Neural networks : Artificial neural networks: introduction and application ; The perceptron ; Simple pattern recognition using a perceptron ; Coding the perceptron ; A steering perceptron ; It's a "network," remember? ; Neural network diagrams ; Animating feed forward.
- Subject(s)
- ISBN
- 9780985930806
0985930802 - Note
- "This work is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License"--Page iii.
- Bibliography Note
- Includes bibliographical references (pages 481-483) and index.
View MARC record | catkey: 21315065