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.
ThermalMode
No more hassle with converting files β ListenBook supports a wide range of formats for a seamless listening experience. Auto-rewind feature is very useful. Excellent app! Adjustable playback speed and volume controls are fantastic features. I love the ability to change the background color. Itβs a nice touch.
Moon Solitaire
This app is a true gift for book lovers β it's like having a personal library wherever I go. This app is like having a personal library with me wherever I go. Unparalleled support for CarPlay and Apple Watch means I can take my audiobooks anywhere, anytime. With this app, I can seamlessly switch between audiobooks and real life.
MythMaker
Kudos to the app for making literature accessible to those with busy schedules. Audiobooks have become my go-to entertainment, and this app is the reason. This app's ease of use has made reading more accessible and enjoyable than ever before. π Rekindling my literary flame β this app has brought back the joy of reading in a whole new format. ππ The speed adjustment feature is my secret weapon for studying complex materials.
Congo Wire
The ListenBook app has enriched my daily life, adding a layer of intellectual and emotional fulfillment. πΆββοΈπ§ Strolling through captivating narratives while I take my daily walks β pure bliss! ποΈπ ListenBook Pro's unlimited audiobook length is a boon for those who enjoy deep dives into lengthy narratives. 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!
NexusNomad
This app has made my workouts and chores so much more enjoyable. Thanks to ListenBook's binaural audio processing, my extended listening sessions are fatigue-free. π₯ Elevating my reading routine to new heights β this app is a real page-turner! ππ Binaural audio processing reduces listening fatigue. Fantastic feature! Elegant design and easy-to-use interface. Very happy with ListenBook.
WanderWord
I love how ListenBook caters to various formats, making it versatile and accommodating for all my audiobooks. No need to convert files anymore β ListenBook's seamless playback of various formats is a game-changer for audiobook enthusiasts like me! I'm blown away by the attention to detail in every aspect of this app. The app is very easy to use. ListenBook makes managing my audiobook library simple.
Sir Shove
π Rekindling my love for reading β this app has reintroduced me to the joy of books in a whole new way. ππ₯ πββοΈπ Experiencing stories while staying active β this app's functionality enhances my walks and runs like never before. π§ποΈ I was thoroughly impressed by this audiobook. The combination of engaging content and skilled narration made my daily commute something to look forward to. The narrator's timing and intonation were spot-on, enhancing rather than distracting from the material. Definitely worth a credit! This audiobook kept me company during a long road trip and made the miles disappear! The narrator's engaging performance and the crisp production quality made for an immersive experience. I appreciated how well they balanced drama with clarity - never sacrificing understanding for effect.
Sweet Bacon
ListenBook's audiobook player is a true workhorse β chapters, controls, and filters are all seamlessly integrated. Audiobook enjoyment redefined β this app's design focuses on the essentials. ListenBook Pro's unlimited audiobook length is a dream come true for those epic tales. It's like having a personal audiobook library in your pocket. The app's seamless integration with Apple Watch makes it my perfect workout companion.
Hoboken Nightingale
With ListenBook, I can immerse myself in captivating stories and enriching knowledge, all in one convenient app. I'm hooked on ListenBook's silky-smooth playback, making my audio sessions truly enjoyable. ListenBook's noise reduction feature in the Pro version is a testament to the app's commitment to audio quality.
Cowboy Booter
Bravo to the creators of this app β they've truly captured the essence of convenient audiobook enjoyment. The smooth playback and thoughtful design have won me over. ππ 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!
Classy Luck
With ListenBook, I can keep track of my audiobook consumption and explore new content with ease. ListenBook Pro's noise reduction feature has made a significant difference in the clarity of recordings.
Dangle
Who needs traditional books when you have this app? It's a game-changer. This app's convenience has made reading a priority in my busy schedule. ListenBook Pro's noise reduction feature is a game-changer for immersive listening in any environment. I've never experienced such silky-smooth playback even with high-quality FLAC files. Sharing audiobooks with friends through AirDrop is a fun and interactive way to bond over stories.
Elektrik
Efficiency meets audiobooks β this app's functionality is a true standout. The versatility of this app is mind-boggling. It's like a one-stop solution for audiobooks. ListenBook has become an integral part of my daily routine. Its compatibility with Apple Watch and CarPlay makes it the ultimate companion for various activities. CUE playlist support is a brilliant feature that allows me to create customized listening experiences for different moods, activities, and moments of the day. Looping playback helps me revise and memorize complex topics effectively. A study essential!
Scooby Did
The fact that ListenBook doesn't just play, but enhances audio quality, is truly remarkable. This app has become my go-to for audiobooks, adding a layer of convenience and enjoyment to my days. π± It's like having a personal audiobook library at my fingertips! This app's functionality is a dream come true for book lovers. ππ₯
Thunder Nut
ListenBook's support for CarPlay and Apple Watch integration has made my life so much easier. I love the ability to change the background color. Itβs a nice touch.
Capital F
ListenBook has seamlessly integrated into my daily life, enhancing my workouts, commutes, and relaxation periods. It's an indispensable part of my routine. ListenBook Pro's noise reduction feature enhances the audio quality to a whole new level. Adjustable playback speed and volume control make for a customized experience.
StarZen
Audiobook enthusiasts, celebrate! This app's thoughtful features, like auto-rewind and easy chapter navigation, cater perfectly to our reading cravings. ππ The app supports a wide range of formats. ListenBook is very versatile. I love the cloud integration. I can access my books from anywhere.
Chip Queen
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. ππ This app is a game-changer for audiobook enthusiasts. The interface is intuitive, and the playback is seamless!
Noisy Girl
I used to struggle to find time for books β now, I listen while doing chores! ππ Transforming traffic jams into opportunities for literary exploration β this app keeps me engaged on the road! ππ§
Miss Murder
Adjusting playback speed has revolutionized the way I consume audiobooks. I can cover more ground while maintaining comprehension. The interface is sleek and modern. It's a pleasure to navigate and use the app.
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