Learn Three.js - Fourth Edition

By Jos Dirksen
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies

About this book

WebGL allows us to create 3D graphics in the browser without having to use plugins such as Flash and Java. However, programming in WebGL can be complex and challenging. With Three.js, you can create stunning 3D graphics intuitively using JavaScript without having to learn WebGL. In this book, you'll learn how to create and animate immersive 3D scenes directly in your browser using the full potential of WebGL and modern browsers.

This latest edition of Learn Three.js starts with extensive examples and code samples of the basic concepts and building blocks of Three.js, before diving headlong into more advanced concepts, such as DecalGeometry. You’ll also learn how to create, or load from externally created models, realistic 3D objects using materials and textures. You’ll learn how to use morph target and skeleton-based animation, before adding physics, such as gravity and collision detection, to your scene. In this new edition, we’ll show you how to use Cannon.js to add realistic physics to your scenes, and you’ll see how easy it is to integrate Blender, React, and TypeScript with Three.js, as well as WebXR, which we’ll use to create virtual reality and augmented reality scenes.

By the end of this book, you'll have gained the skills you need to create impressive 3D animated graphics using Three.js.

Publication date:
March 2023

About the Author

  • Jos Dirksen

    Jos Dirksen has worked as a software developer and architect for more than a decade. He has a lot of experience in a large range of technologies, ranging from backend technologies, such as Java and Scala, to frontend development using HTML5, CSS, and JavaScript. Besides working with these technologies, Jos also regularly speaks at conferences and likes to write about new and interesting technologies on his blog. He also likes to experiment with new technologies and see how they can best be used to create beautiful data visualizations.

    He is currently working as a freelance full-stack engineer on various Scala and JavaScript project.

    Previously, Jos has worked in many different roles in the private and public sectors, ranging from private companies such as ING, ASML, Malmberg, and Philips to organizations in the public sector, such as the Department of Defense.

    Browse publications by this author
Learn Three.js - Fourth Edition
Unlock this book and the full library FREE for 7 days
Start now