The Nature of Code

by Daniel Shiffman

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital worlds? This book focuses on a range of programming strategies and techniques behind computer simulations of natural systems, from elementary concepts in mathematics and physics to more advanced algorithms that enable sophisticated visual results. Readers will progress from building a basic physics engine to creating intelligent moving objects and complex systems, setting the foundation for further experiments in generative design. Subjects covered include forces, trigonometry, fractals, cellular automata, self-organization, and genetic algorithms. The book's examples are written in Processing, an open-source language and development environment built on top of the Java programming language.

This open book is licensed under a Creative Commons License (CC BY-NC). You can download The Nature of Code ebook for free in PDF format (16.9 MB).

Table of Contents

Chapter 1
Vectors
 
Chapter 2
Forces
 
Chapter 3
Oscillation
 
Chapter 4
Particle Systems
 
Chapter 5
Physics Libraries
 
Chapter 6
Autonomous Agents
 
Chapter 7
Cellular Automata
 
Chapter 8
Fractals
 
Chapter 9
The Evolution of Code
 
Chapter 10
Neural Networks
 

Book Details

Publisher
Self-publishing
Published
2012
Pages
519
Edition
1
Language
English
ISBN13 Digital
9780985930806
ISBN10 Digital
0985930802
PDF Size
16.9 MB
License
CC BY-NC

Related Books

Humanities World Report 2015
The first of its kind, this Open Access 'Report' is a first step in assessing the state of the humanities worldwide. Based on an extensive literature review and enlightening interviews the book discusses the value of the humanities, the nature of humanities research and the relation between humanities and politics, amongst other issues....
The Condition of Digitality
David Harvey's The Condition of Postmodernity rationalised capitalism's transformation during an extraordinary year: 1989. It gave theoretical expression to a material and cultural reality that was just then getting properly started - globalisation and postmodernity - whilst highlighting the geo-spatial limits to accumulation imposed by our planet....
Digital Technology and the Practices of Humanities Research
How does technology impact research practices in the humanities? How does digitisation shape scholarly identity? How do we negotiate trust in the digital realm? What is scholarship, what forms can it take, and how does it acquire authority? This diverse set of essays demonstrate the importance of asking such questions, bringing together establis...
Long Narrative Songs from the Mongghul of Northeast Tibet
Containing ballads of martial heroism, tales of tragic lovers and visions of the nature of the world, Long Narrative Songs from the Mongghul of Northeast Tibet: Texts in Mongghul, Chinese, and English is a rich repository of songs collected amongst the Mongghul of the Seven Valleys, on the northeast Tibetan Plateau in western China. These songs rep...
Information-Consciousness-Reality
This book chronicles the rise of a new scientific paradigm offering novel insights into the age-old enigmas of existence. Over 300 years ago, the human mind discovered the machine code of reality: mathematics. By utilizing abstract thought systems, humans began to decode the workings of the cosmos. From this understanding, the current scientific pa...
Science as Social Existence
In this bold and original study, Jeff Kochan constructively combines the sociology of scientific knowledge (SSK) with Martin Heidegger's early existential conception of science. Kochan shows convincingly that these apparently quite different approaches to science are, in fact, largely compatible, even mutually reinforcing. By combining Heidegger...