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

Subject
Computer Science
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

Reform and Revolt in the City of Dreaming Spires
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...
Humanities World Report 2015
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....
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...
The Future of Service Post-COVID-19 Pandemic, Volume 1
This open book is geared towards providing insights and stimulating new thinking about the changing nature of services, service work and workers, and service experiences during and after the COVID-19 pandemic in 2020, particularly focusing on digital service technology. This book serves as a useful resource for business practitioners and academics ...
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...