Learn Three.js
eBook - ePub

Learn Three.js

Program 3D animations and visualizations for the web with JavaScript and WebGL, 4th Edition

  1. 554 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learn Three.js

Program 3D animations and visualizations for the web with JavaScript and WebGL, 4th Edition

About this book

Become a creative JavaScript professional by creating and animating stunning 3D, browser-based graphics with Three.js from beginning to endPurchase of the print or Kindle book includes a free eBook in PDF formatKey Features• Enhance your 3D graphics with light sources, shadows, advanced materials, and textures• Load models from external sources, visualize and, animate them directly using JavaScript• Create your own custom WebGL shader, explore Three.js' postprocessing feature, and learn how to integrate with Blender, React, and TypescriptBook DescriptionThree.js has become the industry standard for creating stunning 3D WebGL content. In this edition, you'll learn about all the features of Three.js and understand how to integrate it with the newest physics engines. You'll also develop a strong grip on creating and animating immersive 3D scenes directly in your browser, reaping the full potential of WebGL and modern browsers. The book starts with the basic concepts and building blocks used in Three.js and helps you explore these essential topics in detail through extensive examples and code samples. You'll learn how to create realistic-looking 3D objects using textures and materials and how to load existing models from an external source. Next, you'll understand how to control the camera using the Three.js built-in camera controls, which will enable you to fly or walk around the 3D scene you've created. Later chapters will cover the use of HTML5 video and canvas elements as materials for your 3D objects to animate your models. You'll learn how to use morph targets and skeleton-based animation, before understanding how to add physics, such as gravity and collision detection, to your scene. Finally, you'll master combining Blender with Three.js and creating VR and AR scenes. By the end of this book, you'll be well-equipped to create 3D-animated graphics using Three.js.What you will learn• Implement the different camera controls provided by Three.js to navigate your 3D scene• Discover working with vertices directly to create snow, rain, and galaxy-like effects• Import and animate models from external formats, such as glTF, OBJ, STL, and COLLADA• Design and run animations using morph targets and bone-based animation• Create realistic-looking 3D objects using advanced textures on materials• Interact directly with WebGL by creating custom vertex and fragment shaders• Make scenes using the Rapier physics engine, and integrate Three.js with VR and ARWho this book is forThis book is for JavaScript developers looking to learn the use of Three.js library.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learn Three.js by Jos Dirksen in PDF and/or ePUB format, as well as other popular books in Informatique & Visualisation de données. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Learn Three.js
  2. Fourth Edition
  3. Preface
  4. Part 1: Getting Up and Running
  5. 1
  6. 2
  7. 3
  8. Part 2: Working with the Three.js Core Components
  9. 4
  10. 5
  11. 6
  12. 7
  13. Part 3: Particle Clouds, Loading and Animating Models
  14. 8
  15. 9
  16. 10
  17. Part 4: Post-Processing, Physics, and Sounds
  18. 11
  19. 12
  20. 13
  21. 14
  22. Index
  23. Other Books You May Enjoy