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
The Evolution of Code
Books about Oxford have generally focused on the University rather than the city. This original book on the local politics of Oxford City from 1830 to 1980 is based on a comprehensive analysis of primary sources and tells the story of the city's progressive politics. The book traces this history from Chartism and electoral reform in the mid-ninetee...
The first of its kind, this Open 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....
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....
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...
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...
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...