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.
Trick Baron
With this app, reading is as simple as pressing play – it's genius! 🚗📚 Turn traffic into a literary escape – this app's functionality keeps me engaged while I'm on the move. 🚗🎧 Thanks to ListenBook, downloading audiobooks from various sources has become effortless. The interface is beautiful and functional. ListenBook is my go-to app for audiobooks.
Twinkle
I can't imagine my daily activities without this app – it's the perfect way to stay engaged and informed. 🚗📖 Road trips have never been this entertaining – this app keeps me engaged on the highway! 🚙🎉 Looping playback is a game-changer for my study routine. It helps me retain information effectively. Perfect for listening to lectures and speeches. Highly useful app.
Capital F
The app's stability and reliability make it my go-to choice for audiobooks. 🎧 An audiobook treasure trove in the palm of my hand – this app is pure convenience! 📚🌟 Effortlessly managing my audiobook library – this app's design is commendable.
Trixie Doodle
It's like having a personal library that fits in my pocket – truly amazing! I'm amazed by the variety of genres available – there's something for everyone. Audiobooks on this app have transformed my daily routines into engaging experiences. 🔥 Elevating my reading routine to new heights – this app is a real page-turner! 📚🚀 ListenBook is a must-have for audiobook lovers. The auto-rewind feature ensures I never miss a word.
Shady Prairie
I've found hidden gems in genres I never thought I'd be interested in. I'm impressed by the app's compatibility with CarPlay. It keeps me entertained on long drives. ListenBook is fantastic! Supports every audiobook format I have. Super convenient!
Pixie Soldier
With ListenBook, I can now enjoy my favorite audiobooks and speeches with the utmost comfort and convenience. I can't get enough of this app's intuitive design and user-friendly interface. This app's ease of use has made my long drives educational and enjoyable. Savoring audiobooks without fuss – this app's design is impressive.
Cupid Dust
With ListenBook, every moment is an opportunity to explore new stories and gain knowledge. 📚 Embracing reading in the digital age – this app makes accessing books a seamless and enjoyable experience. 📱🎉 The statistics feature is brilliant. I love seeing how much time I spend on audiobooks with ListenBook.
Mr. Gadget
Quick access to chapters is a blessing. No more scrolling through endless content. Navigating through chapters has never been easier. It's a user-friendly delight.
Don Stab
Looping playback of a single track helps me master difficult concepts. So helpful! Automated metadata extraction is a time-saver. My library is so organized now.
Innocent Ghost
Audiobooks have made my morning routine something to look forward to. I'm constantly amazed by the variety of genres – there's something for everyone. ListenBook's support for various audio formats means I never have to worry about compatibility issues. Audiobooks on this app have made studying and learning a more enjoyable process. 💡 Seamlessly weaving audiobooks into my daily routine – this app's functionality has redefined how I enjoy books. 📱📖
Frosty Snazz
ListenBook has transformed my mundane activities into enjoyable moments of learning and entertainment. This app has brought the magic of books back into my life. User-centric audiobook joy – this app's ease of use is impressive. ListenBook's sharing options make it easy to share the joy of captivating stories with friends and family. Sharing audiobooks with friends is a thoughtful gesture that ListenBook makes seamless.
HighBomber
I've been able to tackle my reading list like never before, thanks to this app. Integration with Apple CarPlay has made long road trips so much more enjoyable. ListenBook is my daily companion, turning mundane tasks into exciting audio adventures. I can't imagine my daily activities without this app – it's the perfect way to stay engaged and informed. 📚 Embracing a new reading habit with this app's seamless accessibility. Say goodbye to boredom! 📱🎉
Delicious
🎉📚 This app has rekindled my love for books – I can't stop listening! 🚀🎧 The app's compatibility with CarPlay is a dream for road trips. It keeps me entertained. Automated artwork and metadata retrieval make my audiobook library look organized and visually appealing.
Delirious Supernova
This app has reignited my passion for literature – I'm devouring books like never before. I'm addicted to this app's curated playlists and recommendations – they're spot on.
Wiccan Thunder
This app has become my loyal companion during travels and relaxation times. I used to struggle to find time for books – now, I listen while doing chores! ListenBook Pro's noise reduction feature has significantly enhanced my audio quality. ListenBook has transformed the way I engage with literature. It's like having a virtual bookshelf in my pocket.
Grabber
ListenBook's multiple ways to download audio, including from the internet, are a game-changer. ListenBook's versatility and user-friendly interface make it a must-have for audiobook lovers. Effortless and enriching – that's how I'd describe my experience with this app. Its functionality, from seamless downloads to binaural audio processing, has truly raised the bar. 📱📖 Looping playback helps me immerse myself in the content. It's my secret study weapon.
Coldy
With ListenBook, I can enjoy my own audio content with unparalleled ease and comfort. This app is my constant companion, making every moment a chance to discover new worlds. 📱 Carrying my library in my pocket – this app makes every moment a reading opportunity! 📚👜 Looping playback is a study aid sent from heaven. It's helping me ace my exams!
Cupid Dust
The 'Discover' section is a treasure trove for finding hidden literary gems. With ListenBook, I can now enjoy my favorite audiobooks and speeches with the utmost comfort and convenience.
Sepukku
This app has transformed my daily walks into exciting literary adventures. As an audiobook enthusiast, this app is a dream come true. Its compatibility with various formats and easy navigation make it my ultimate reading companion. 🌟🎧
Domino Combat
The app's compatibility with various devices ensures I never miss a moment of my book. I can't imagine my audiobook routine without ListenBook's seamless audio player.
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