The Nature of Code

The Nature of Code
Author: Daniel Shiffman
Publisher: No Starch Press
Total Pages: 642
Release: 2024-09-03
Genre: Computers
ISBN: 1718503717

All aboard The Coding Train! This beginner-friendly creative coding tutorial is designed to grow your skills in a fun, hands-on way as you build simulations of real-world phenomena with “The Coding Train” YouTube star Daniel Shiffman. What if you could re-create the awe-inspiring flocking patterns of birds or the hypnotic dance of fireflies—with code? For over a decade, The Nature of Code has empowered countless readers to do just that, bridging the gap between creative expression and programming. This innovative guide by Daniel Shiffman, creator of the beloved Coding Train, welcomes budding and seasoned programmers alike into a world where code meets playful creativity. This JavaScript-based edition of Shiffman’s groundbreaking work gently unfolds the mysteries of the natural world, turning complex topics like genetic algorithms, physics-based simulations, and neural networks into accessible and visually stunning creations. Embark on this extraordinary adventure with projects involving: A physics engine: Simulate the push and pull of gravitational attraction. Flocking birds: Choreograph the mesmerizing dance of a flock. Branching trees: Grow lifelike and organic tree structures. Neural networks: Craft intelligent systems that learn and adapt. Cellular automata: Uncover the magic of self-organizing patterns. Evolutionary algorithms: Play witness to natural selection in your code. Shiffman’s work has transformed thousands of curious minds into creators, breaking down barriers between science, art, and technology, and inviting readers to see code not just as a tool for tasks but as a canvas for boundless creativity. Whether you’re deciphering the elegant patterns of natural phenomena or crafting your own digital ecosystems, Shiffman’s guidance is sure to inform and inspire. The Nature of Code is not just about coding; it’s about looking at the natural world in a new way and letting its wonders inspire your next creation. Dive in and discover the joy of turning code into art—all while mastering coding fundamentals along the way. NOTE: All examples are written with p5.js, a JavaScript library for creative coding, and are available on the book's website.

The Nature of Code

The Nature of Code
Author: Daniel Shiffman
Publisher: Nature of Code
Total Pages: 498
Release: 2012
Genre: Computer programming
ISBN: 9780985930806

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. On the book's website (http: //www.natureofcode.com), the examples run in the browser via Processing's JavaScript mode.

Learning Processing

Learning Processing
Author: Daniel Shiffman
Publisher: Newnes
Total Pages: 566
Release: 2015-09-09
Genre: Computers
ISBN: 0123947928

Learning Processing, Second Edition, is a friendly start-up guide to Processing, a free, open-source alternative to expensive software and daunting programming languages. Requiring no previous experience, this book is for the true programming beginner. It teaches the basic building blocks of programming needed to create cutting-edge graphics applications including interactive art, live video processing, and data visualization. Step-by-step examples, thorough explanations, hands-on exercises, and sample code, supports your learning curve. A unique lab-style manual, the book gives graphic and web designers, artists, and illustrators of all stripes a jumpstart on working with the Processing programming environment by providing instruction on the basic principles of the language, followed by careful explanations of select advanced techniques. The book has been developed with a supportive learning experience at its core. From algorithms and data mining to rendering and debugging, it teaches object-oriented programming from the ground up within the fascinating context of interactive visual media. This book is ideal for graphic designers and visual artists without programming background who want to learn programming. It will also appeal to students taking college and graduate courses in interactive media or visual computing, and for self-study. A friendly start-up guide to Processing, a free, open-source alternative to expensive software and daunting programming languages No previous experience required—this book is for the true programming beginner! Step-by-step examples, thorough explanations, hands-on exercises, and sample code supports your learning curve

The Nature of Code

The Nature of Code
Author: Daniel Shiffman
Publisher: No Starch Press
Total Pages: 642
Release: 2024-09-03
Genre: Computers
ISBN: 1718503709

All aboard The Coding Train! This beginner-friendly creative coding tutorial is designed to grow your skills in a fun, hands-on way as you build simulations of real-world phenomena with “The Coding Train” YouTube star Daniel Shiffman. What if you could re-create the awe-inspiring flocking patterns of birds or the hypnotic dance of fireflies—with code? For over a decade, The Nature of Code has empowered countless readers to do just that, bridging the gap between creative expression and programming. This innovative guide by Daniel Shiffman, creator of the beloved Coding Train, welcomes budding and seasoned programmers alike into a world where code meets playful creativity. This JavaScript-based edition of Shiffman’s groundbreaking work gently unfolds the mysteries of the natural world, turning complex topics like genetic algorithms, physics-based simulations, and neural networks into accessible and visually stunning creations. Embark on this extraordinary adventure with projects involving: A physics engine: Simulate the push and pull of gravitational attraction. Flocking birds: Choreograph the mesmerizing dance of a flock. Branching trees: Grow lifelike and organic tree structures. Neural networks: Craft intelligent systems that learn and adapt. Cellular automata: Uncover the magic of self-organizing patterns. Evolutionary algorithms: Play witness to natural selection in your code. Shiffman’s work has transformed thousands of curious minds into creators, breaking down barriers between science, art, and technology, and inviting readers to see code not just as a tool for tasks but as a canvas for boundless creativity. Whether you’re deciphering the elegant patterns of natural phenomena or crafting your own digital ecosystems, Shiffman’s guidance is sure to inform and inspire. The Nature of Code is not just about coding; it’s about looking at the natural world in a new way and letting its wonders inspire your next creation. Dive in and discover the joy of turning code into art—all while mastering coding fundamentals along the way. NOTE: All examples are written with p5.js, a JavaScript library for creative coding, and are available on the book's website.

Generative Design

Generative Design
Author: Hartmut Bohnacker
Publisher: Princeton Architectural Press
Total Pages: 0
Release: 2012-08-22
Genre: Computers
ISBN: 9781616890773

Generative design is a revolutionary new method of creating artwork, models, and animations from sets of rules, or algorithms. By using accessible programming languages such as Processing, artists and designers are producing extravagant, crystalline structures that can form the basis of anything from patterned textiles and typography to lighting, scientific diagrams, sculptures, films, and even fantastical buildings. Opening with a gallery of thirty-five illustrated case studies, Generative Design takes users through specific, practical instructions on how to create their own visual experiments by combining simple-to-use programming codes with basic design principles. A detailed handbook of advanced strategies provides visual artists with all the tools to achieve proficiency. Both a how-to manual and a showcase for recent work in this exciting new field, Generative Design is the definitive study and reference book that designers have been waiting for.

Code/space

Code/space
Author: Rob Kitchin
Publisher: MIT Press
Total Pages: 305
Release: 2011
Genre: Business & Economics
ISBN: 0262042487

The authors examine software from a spatial perspective, analyzing the dyadic relationship of software & space. The production of space, they argue, is increasingly dependent on code, & code is written to produce space.

Supercharged Python

Supercharged Python
Author: Brian Overland
Publisher: Addison-Wesley Professional
Total Pages: 1077
Release: 2019-06-19
Genre: Computers
ISBN: 0135160790

“Brian Overland makes programming simple. . . . To my amazement, his books explain complicated code clearly enough for anyone to understand.” —Art Sedighi, PhD Tapping into the full power of Python doesn’t have to be difficult. Supercharged Python is written for people who’ve learned the fundamentals of the language but want to take their skills to the next level. After a quick review of Python, the book covers: advanced list and string techniques; all the ways to handle text and binary files; financial applications; advanced techniques for writing classes; generators and decorators; and how to master packages such as Numpy (Numeric Python) to supercharge your applications! Use profilers and “magic methods” to code like a pro Harness the power of regular expressions to process text quickly with a single statement Take advantage of 22 coding shortcuts, along with performance tips, to save time and optimize your code Create really useful classes and objects, for games, simulations, money, mathematics, and more Use multiple modules to build powerful apps while avoiding the “gotchas” Import packages to dramatically speed up statistical operations—by as much as 100 times! Refer to the five-part language reference to look up fine points of the language Supercharged Python demonstrates techniques that allow you to write faster and more powerful code, whether you’re manipulating large amounts of data or building sophisticated applications. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Processing

Processing
Author: Ira Greenberg
Publisher: Apress
Total Pages: 738
Release: 2007-12-31
Genre: Computers
ISBN: 1430203102

First Processing book on the market Processing is a nascent technology rapidly increasing in popularity Links with the creators of Processing will help sell the book

A Guide to the World Anti-Doping Code

A Guide to the World Anti-Doping Code
Author: Paul David
Publisher: Cambridge University Press
Total Pages: 415
Release: 2013-01-17
Genre: Law
ISBN: 1139619306

The laws relating to anti-doping change rapidly, and the World Anti-Doping Code has been at the centre of significant developments in this area over the last ten years. Since the first edition of this guide, the amended 2009 Code has come into effect and been applied in various decisions before national sporting tribunals and the Court of Arbitration for Sport. This second edition covers the significant changes introduced by the 2009 Code. More than forty summaries of recent cases illustrate the operation of the key provisions of the 2009 Code, in particular the articles relating to anti-doping rule violations and sanctions.

Processing

Processing
Author: Ira Greenberg
Publisher: Apress
Total Pages: 459
Release: 2013-05-13
Genre: Computers
ISBN: 1430244658

Processing: Creative Coding and Generative Art in Processing 2 is a fun and creative approach to learning programming. Using the easy to learn Processing programming language, you will quickly learn how to draw with code, and from there move to animating in 2D and 3D. These basics will then open up a whole world of graphics and computer entertainment. If you’ve been curious about coding, but the thought of it also makes you nervous, this book is for you; if you consider yourself a creative person, maybe worried programming is too non-creative, this book is also for you; if you want to learn about the latest Processing 2.0 language release and also start making beautiful code art, this book is also definitely for you. You will learn how to develop interactive simulations, create beautiful visualizations, and even code image-manipulation applications. All this is taught using hands-on creative coding projects. Processing 2.0 is the latest release of the open-source Processing language, and includes exciting new features, such as OpenGL 2 support for enhanced 3D graphics performance. Processing: Creative Coding and Generative Art in Processing 2 is designed for independent learning and also as a primary text for an introductory computing class. Based on research funded by the National Science Foundation, this book brings together some of the most engaging and successful approaches from the digital arts and computer science classrooms. Teaches you how to program using a fun and creative approach. Covers the latest release of the Processing 2.0 language. Presents a research based approach to learning computing.