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.
Popeye Wipeout
With this app, I can switch seamlessly between my iPhone and iPad, making my reading experience continuous. ListenBook's compatibility with CarPlay is a major convenience during road trips. I love the ability to change the playback speed. It’s perfect for my needs.
Trash Pocky
This app has reignited my love for literature and made it a part of my everyday life. Audiobooks have become my constant companions, and this app's seamless functionality and diverse compatibility ensure that every tale is a captivating journey. 🌌🎧 ListenBook's sleek layout and quick chapter access have made my audiobook journey incredibly enjoyable.
Fist Wizard
🌌 Elevating my reading routine – this app's functionality is the key to unlocking new worlds of storytelling. 📚🔑 The intuitive interface and efficient navigation make this app a pleasure to use every day.
Feral Cookie
This app has turned my cooking sessions into culinary adventures with a side of stories. Audiobooks on this app have made me look forward to my long commutes. CUE playlist support is a fantastic feature that allows me to create curated listening experiences for different moods and settings. Supports all my playlists and bookmarks seamlessly. Very convenient.
Atomic Blastoid
This app has turned my mundane tasks into exciting opportunities for reading. 🎉 This app has ignited my passion for reading – I can't get enough of its convenience! 📚🔥 As a busy individual, I appreciate ListenBook's versatility in downloading audio files from various sources. It's a time-saver for sure! Binaural audio processing reduces listening fatigue. Fantastic feature! The app is perfect for people who love to listen to books at night.
Corny
This app's convenience has turned my daily chores into moments of literary escape. Library organization is brilliant. No more cluttered audiobook collection. The noise reduction feature is a game-changer for clearer dictaphone recordings. Adjusting the tone of the voice is an innovative feature that sets this app apart. The statistics tracking feature is very useful. ListenBook helps me keep track of my listening time.
Old Orange Eyes
Audiobooks have made long flights feel like a breeze – a true travel essential. 💼 Merging work and pleasure – audiobooks keep me company during house admin tasks! 💻🎧 ListenBook Pro's noise reduction feature is like a magical spell that transports me into the heart of the story. Noise reduction feature is magic. Now I can listen to recordings even in noisy settings. Adjusting the tone of the narrator's voice is a unique feature. I'm loving it!
Winter Bite
Audiobooks have made my workouts more enjoyable, and I'm seeing results! ListenBook has brought a whole new level of convenience and enjoyment to my audiobook experience. Audiobook pleasure at its finest! This app's sleek design and efficient organization ensure that every story is accessible and delightful. 📚👌
Noisy Girl
The convenience of switching between devices without losing my place is a lifesaver. This app's seamless integration with CarPlay and other devices has revolutionized my audiobook experience. This audiobook made my workouts fly by! The engaging narration kept me motivated to keep listening, which meant longer gym sessions. The narrator's energy matched the material perfectly - upbeat when needed, somber when appropriate. A great example of how narration can enhance text.
Sky Trinity
This app has made multitasking a breeze – I can listen while I work, cook, or exercise. ListenBook has become an essential part of my daily routine. It's like my personal audiobook oasis.
Jigsaw
I've become the go-to storyteller at bedtime with the help of this magical app. 🌟 Simplifying my reading routine – this app's user-friendly design ensures I'm always in sync with my favorite stories. 📚✨ Finally, an app that supports a wide range of audio formats! It's a must-have for audiobook enthusiasts. The app's ability to handle various audio formats is impressive. No more file conversions! Quick access to chapters and smooth playback. Excellent app!
Bad Badminton
I can't imagine a day without this app – it has made my audiobook journey seamless and fulfilling. Elegant design and easy-to-use interface. Very happy with ListenBook. ListenBook’s playback speed control is very useful. I can listen at my own pace. ListenBook’s playback is silky-smooth. The app never glitches.
MythMaker
Who needs traditional books when you have this app? It's a game-changer. 🎧 Fueling my audiobook addiction with this fantastic app – pure listening pleasure! 📚🔥 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!
ThermalMode
I'm hooked on this app's ability to transform my ordinary moments into exciting opportunities for learning. 📱 Audiobooks at my fingertips – this app's ease of use is a booklover's dream come true! 📚🔥 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!
Die Slice
is a time-saver. It's convenient for accessing my content. This app is a must-have for anyone who loves audiobooks. The interface is intuitive, and the app supports all formats. I love the auto-bookmark feature—it saves my place automatically, so I never lose track. Highly recommend!
Jungle King
I can't get enough of this app's user-friendly interface – it's a true delight. Effortless audiobook exploration – this app's functionality is a true delight. The auto-rewind feature after interruptions is a small thing that makes a big difference.
Intimidation Station
Sharing audiobooks with friends through AirDrop and Sharing on ListenBook Pro is a fantastic way to spread the joy of audiobooks. The download options are versatile, making it a breeze to get my favorite audiobooks on the go. ListenBook is the best audiobook player I’ve found. The interface is clean and easy to use. ListenBook’s interface is clean and intuitive. It’s a joy to use.
Sweet Bacon
I'm addicted to this app – it's a non-stop journey through captivating tales. ListenBook's chapters, controls, and filters have taken my audiobook journey to new heights. I love how this app seamlessly integrates into my busy schedule, making multitasking a breeze. With ListenBook, I've rediscovered my love for audiobooks. The binaural audio processing is a game-changer for comfortable, fatigue-free listening. The app is very easy to use. ListenBook makes managing my audiobook library simple.
Trip
The family subscription option is a money-saver – everyone gets to enjoy their favorite books. I can't believe how easy it is to download and manage my audio content using ListenBook. ListenBook's dedication to user convenience is evident in the drag-and-drop download feature from web browsers. ListenBook has changed the way I listen to audiobooks. The app is so easy to use.
California Goddess
I'm amazed at how immersive the experience is – it's like being inside the story. ListenBook has turned my ordinary moments into extraordinary journeys of the mind.
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