
The ClojureScript Playbook
Description
Embark on a guided tour through the Grand ClojureScript Hotel, where each "floor" presents a curated suite of interactive projects that teach you both the art and science of ClojureScript.
Your journey begins in the lobby. Here, you'll learn foundational skills like setting up a live-reloading workflow, driving Canvas animations, and handling user input. From there, you'll move up through floors devoted to generative art, reactive UIs, data visualization, multimedia processing, 3D graphics, machine learning, and mobile apps.
On every floor, you'll work through bite-sized, hands-on demos: from a classic Pong game and fractal renderers to real-time audio wave viewers, PixiJS arcade games, and a wellness-focused "better-sleep" mobile app. Along the way, you'll integrate popular JavaScript libraries (like Reagent, Re-frame, Nivo, Recharts, Tone.js, and Three.js) using idiomatic ClojureScript. This hands-on approach ensures you gain practical expertise in state management, interop patterns, and modern rendering pipelines.
By the end of your stay, you'll have built a diverse portfolio of projects-each fully explained step by step and you'll know exactly how to launch your own robust ClojureScript applications on the web and mobile. Whether you're a seasoned Clojure developer branching into browser-based interactivity, or a front-end engineer eager to explore functional programming, this book delivers the recipes, patterns, and creative spark to craft truly delightful user experiences
You Will Learn To:
- Master REPL-driven development, tooling, and elegant namespace organization in ClojureScript.
- Create dynamic graphics and generative art using Canvas, Quil and Motion.js.
- Build state-driven interfaces with Reagent and Re-frame, and seamlessly integrate third-party widget libraries.
- Visualize data and multimedia with Nivo/ Recharts, Tone.js audio analyzers, and Canvas video filters.
- Develop 2D/3D games (PixiJS, Three.js), implement neural networks in the browser, and build mobile-native applications.
This Book Is For:
JavaScript Developers curious about functional programming and the ClojureScript ecosystem. Clojure Enthusiasts branching from the backend into dynamic, browser- and mobile-based inter activity. Front-End Engineers seeking a hands-on, project-centric path to mastering graphics, visualization, and games. Creative Coders looking for a robust language to build state-driven, delightful user experiences
More details
Person
Nicolas Modrzyk has over 20 years of IT experience in Asia, Europe, and the United States and is currently the CTO of an international consulting company in Tokyo, Japan. He is the author of seven other published books, focusing on the Clojure language and expressive code. When not bringing new ideas to customers, he enjoys spending time with his two fantastic daughters, Mei and Manon, and playing a mix of guitar, saxophone, keyboard, and laid-back beach-friendly tunes.
Content
Introduction: Entering the Grand ClojureScript Hotel:.- Chapter 01: Building Pong in ClojureScript: A Late-Night Tutorial.- Chapter 02: Pulsating Tiles: The Art of Animated Decomposition.- Chapter 03: Abstract Art with Quil: Dancing Shapes.- Chapter 04: Reactive UI with Reagent: The Reception Desk.- Chapter 05: Mind Map: Thinking in Trees.- Chapter 06: Recharts: Data Visualization Made Simple.- Chapter 07: Video Filters & Pixel Alchemy: The 7th Floor Studio.- Chapter 08: The Game Corner: PixiJS and the Golden Age of Arcade.- Chapter 09: Neural Networks: From Perceptrons to Deep Learning.- Chapter 10: Building an Audio Visualizer with ClojureScript and Tauri: The Penthouse Suite.