The Nature of Code



Download free course The Nature of Code, pdf file on 519 pages by Daniel Shiffman.
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.

Table of contents

  • Vectors
  • Forces
  • Oscillation
  • Particle Systems
  • Physics Libraries
  • Autonomous Agents
  • Cellular Automata
  • Fractals
  • The Evolution of Code
  • Neural Networks
Pages519
Size16.9 MB
File typePDF
Downloads822
Created2022-02-03
LicenseCC BY-NC
Author(s) Daniel Shiffman
Cover of The Nature of Code

Download

  • The Little Book of Semaphores

    Download free course The Little Book of Semaphores, pdf file on 291 pages by Allen Downey....

  • Learning Go

    Download free course Learning Go, pdf file on 305 pages by Stack Overflow Community....

  • Applied Psychology: On The Driving Power Of Thought And The Habits You Must Attain for Unbounded Personal and Business Success

    This book is a classic psychology essay that explains why a successful business man in his eighties still wakes up early and reads the papers. It is a matter of developing good habits that makes people successful. This book will teach you how to develop the habits that lead to success....

  • Don't Just Roll the Dice

    Download free course Don't Just Roll the Dice, pdf file on 74 pages by Neil Davidson....

  • A Problem Course in Mathematical Logic

    A Problem Course in Mathematical Logic is intended to serve as the text for an introduction to mathematical logic for undergraduates with some mathematical sophistication. It supplies definitions, statements of results, and problems, along with some explanations, examples, and hints. The idea is for...

  • Developing Reactive Microservices: Enterprise Implementation in Java

    With microservices taking the software industry by storm, traditional enterprises running large, monolithic Java EE applications have been forced to rethink what they’ve been doing for nearly two decades. But how can microservices built upon reactive principles make a difference? ...

  • Rust tutorial in PDF

    Download free Rust tutorial course in PDF, training file in 50 chapters and 184 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Thinking Forth: A Language and Philosophy for Solving Problems

    Thinking Forth is a book about the philosophy of problem solving and programming style, applied to the unique programming language Forth. Published first in 1984, it could be among the timeless classics of computer books, such as Fred Brooks' The Mythical Man-Month and Donald Knuth's The Art of Comp...

  • Games and Rules

    Download free course Games and Rules, pdf file on 323 pages by Beat Suter, Mela Kocher, René Bauer....

  • Denial of service attacks and network defense

    This PDF tutorial will examine various denial of service attacks and network defense measures taken against them....