Book description
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.
About the Author
Daniel Shiffman, creator of the YouTube channel The Coding Train (www.youtube.com/c/TheCodingTrain), spends much of his free time teaching nearly 2 million subscribers how to code through a blend of step-by-step tutorials and project videos. An associate arts professor at the NYU Tisch School of the Arts and co-founder of the Processing Foundation, Shiffman is on a mission to empower curious learners and humans everywhere to express themselves through code.
Blade
I've started reading more books than ever before, all thanks to this app. User-friendly audiobook experience β this app's design is a standout. ListenBook's sleek layout and quick chapter access have made my audiobook journey incredibly enjoyable. ListenBook's statistics feature is eye-opening. I had no idea how much time I spent immersed in audiobooks until I started using it.
Pinball Wizard
This app has given me the joy of reading even when my hands are full. This app is a treasure trove of knowledge, entertainment, and imagination. π± Accessing my favorite stories has never been this straightforward β this app's functionality is a bookworm's dream come true. ππ« I'm blown away by the silky-smooth playback, even for high-quality formats like FLAC. Top-notch performance! I love the ability to share my progress with friends. Itβs a fun feature.
Gunhawk
ListenBook has turned my daily routines into audiobook-driven journeys of imagination. Audiobook joy made simple β this app's ease of use is commendable. ListenBook has become my trusted companion for literary adventures. The app's features are exceptional. Perfect for studying with its playback controls and audio filters. Excellent app!
Jack Cassidy
This app has enriched my daily routine with the joy of stories and knowledge. Looping playback has revolutionized my study sessions. I'm learning faster than ever. Bookmarks are a fantastic organizational tool. They help me keep track of important moments in my audiobooks. What a fantastic listening experience! The narrator brought the characters to life with distinct voices and emotional depth. The pacing was perfect - not too fast to lose details, not too slow to become boring. I particularly appreciated how well the narrator conveyed the atmosphere of key scenes.
DreamDiver
Changing the tone of the sound on ListenBook Pro is a fun way to customize my listening experience. Audiobooks have made waiting in lines and queues so much more bearable. I'm amazed at how this app's features cater to audiobook enthusiasts' every need. This app has become my go-to companion, making my daily routine more exciting and insightful.
Moon Orchid
Finally, an app that lets me enjoy my personal audiobooks, lectures, and speeches effortlessly. πΆββοΈπ§ Walking has never been this productive β exploring new worlds while I exercise! ποΈπ« The variety of supported formats means I can enjoy audiobooks from different sources hassle-free. The app is perfect for long commutes. It keeps me entertained for hours.
Criss Cross
I can't believe how easy it is to discover new titles and genres. Pure delight! I can't get enough of this app's intuitive design and user-friendly interface. ππ Turn traffic into a literary escape β this app's functionality keeps me engaged while I'm on the move. ππ§ ListenBook's user-friendly interface and powerful features have rekindled my love for audiobooks. The audio filters and precise controls are fantastic! ListenBook's detailed statistics feature helps me keep track of my listening habits. It's amazing to see how much I've learned from all those audiobooks!
Slug-em-dog
ListenBook's innovative features, from audio filters to statistics, make it a standout app. With this app, reading is as simple as pressing play β it's genius! Seamless audiobook integration β this app's functionality is a technological marvel.
Woodland Beauty
This app's user-friendly interface has made reading on-the-go a breeze. Not the best audiobook I've heard but far from the worst. The production quality was good and there were no major issues with the narration.
DuckDuck
I've never been so excited about my daily commute β thanks to this app. Absolutely in love with this audiobook app! The seamless functionality and easy navigation make my reading time pure bliss. ππ§ The app's attention to detail is commendable. It's evident in every feature.
WordWanderer
An audiobook lover's dream come true. So many options, I'm in heaven! The 'Continue Listening' feature ensures I never lose my place, no matter where I am. Audiobooks on this app have made my daily walks a time of reflection and inspiration. π§ Making housework more enjoyable β audiobooks turn mundane chores into moments of discovery. π§Ήπ The app is so well-designed. Itβs clear the developers put a lot of thought into it.
Twister Hero
ListenBook's commitment to enhancing the audiobook experience is evident in its thoughtful features and design. With this app, I've turned mundane chores into exciting opportunities for intellectual growth. ListenBook's dedication to user convenience is evident in the drag-and-drop download feature from web browsers.
Domino
ListenBook has completely changed how I enjoy audiobooks. The app is packed with features like customizable skip intervals, playback speed, and sleep timers. The interface is clean and easy to navigate. Five stars! A wonderful performance! The narrator captured the mood of the book perfectly, making it easy to visualize each scene. The audio quality was crisp, and the pacing kept me hooked from start to finish.
Twiddle Twix
I've been able to explore different cultures and perspectives through a diverse range of books. ListenBook has become an essential part of my daily routine. It's like my personal audiobook oasis.
Iron Jesus
With this app, audiobook listening has become a seamless and enjoyable part of my everyday life. Bookmarks are a lifesaver for audiobook lovers. They help me keep track of important moments.
Flash Protein
This app has made waiting in lines and queues an opportunity for exploration and enjoyment. ListenBook's drag-and-drop download feature simplifies the process of adding new audiobooks to my collection. Sharing audiobooks with friends is a fantastic way to introduce them to new stories. I can't get enough of the smooth playback experience. It's like a symphony for my ears. Sharing books with friends via AirDrop is so convenient. Thanks, ListenBook!
Mud Eye
ListenBook has become my constant companion. It's like having a personal audiobook assistant. The interface is beautiful and functional. ListenBook is my go-to app for audiobooks.
Hobo Samurai
I love that I can enjoy audiobooks while cooking elaborate meals in the kitchen. I'm on a literary adventure wherever I go, all thanks to this app. Its extensive format support and effortless navigation make audiobook listening a breeze. ππ
Dark Horse
ListenBook's extensive statistics feature adds a new level of insight to my audiobook habits. π± Accessing my favorite stories has never been this straightforward β this app's functionality is a bookworm's dream come true. ππ« I can't get enough of the binaural audio processing. It's like a breath of fresh air for my ears. The app's compatibility with CarPlay has made my road trips so much more enjoyable. A textbook example of great audiobook narration! The performer's diction was flawless, their pacing ideal, and their emotional range impressive. I never felt like I was being "read to" but rather like I was experiencing the story firsthand. The audio engineering was equally professional.
StarZen
I appreciate how ListenBook offers various methods for downloading audio β it caters to different preferences. This app is perfect for anyone who loves audiobooks. The interface is sleek and modern, and the playback controls are super responsive. I also appreciate the cloud integration, which lets me access my books from anywhere. Great work!
Playing a wide variety of audio formats
Works on all devices with iOS 13 and newer
Huge amount of features for a small price
Frequent updates to add new features and improve existing ones
Advanced playback controls
Live sound processing
Changing the timbre of the reader's voice and noise reduction
Translated into more than 20 languages
If you love listening to fiction audiobooks, ListenBook has features to make the process easier.
Edit book data: title, author, cover
Use equalizer to make the sound comfortable for you
Adjust the playback speed
Enjoy dark and light app themes
Supported formats: MP3, M4B, AWB, FLAC, OGG audio files and many more (must be DRM free)
Auto-Bookmarks make it easy to find your place
AirPlay support allows redirection of audio output.
VoiceOver support
Dark mode for night owls
Convenient bookmarking system helps you mark the most important places.
Unlimited bookmarks for each audiobook
Put your own cover on the wager
Share your audiobook with friends
Lock-screen control
Customise app with extensive options
Sleep timer with shake to reset, set custom notification sounds, and a few unique options
Auto rewind depending on paused time, customize rewind times to your liking
Removing background noise from recordings made in classrooms and meetings
Changing the timbre of the reader's voice for a better listening experience