Category: Programming
Getting Started with Three.js in Vue 3
Three.js is a powerful JavaScript library that makes working with WebGL simpler and more accessible. Combined with Vue’s reactive system and component-based architecture, you can create impressive 3D visualizations with clean, maintainable code. This is the first of six tutorials on Three.js Complete code for the series of blog posts is available on GitHub. In…
Three.js Lighting and Textures
In this article, we’ll explore how to implement advanced lighting and textures in Three.js within a Vue 3 application. Building on our previous overview of Three.js, we’ll dive deeper into creating realistic scenes with proper illumination and surface details. This is the second article in a series on Three.js: Complete code for the series of…
Physics and Collisions in Three.js
Physics simulations add a new dimension of realism to 3D web applications. In this tutorial, we’ll explore how to implement realistic physics and collision detection in Three.js using the cannon-es physics engine. You’ll learn how to create interactive 3D objects that respond to gravity, collisions, and user input. This is the third article in a…
Enhancing Three.js Scenes with Shadows and Fog
Introduction Three.js is a powerful 3D library that makes WebGL accessible for web developers. One of the key aspects of creating realistic 3D scenes is the implementation of environmental effects like shadows and fog. In this tutorial, we’ll explore how to add these effects to enhance the visual quality and depth perception in your Three.js…
Creating Three.js Characters with Skeletons
Introduction Character animation is a crucial aspect of interactive 3D games. Three.js provides robust support for skeletal animation through its SkinnedMesh and related classes. This tutorial explores how to load, display, and control animated 3D characters with skeletons in Three.js. This is the fifth in a series of tutorials on Three.js: Complete code for the series of…
Full 3D Scene Example with Three.js
Introduction Welcome to the final part of our Three.js tutorial series! In this comprehensive tutorial, we’ll tie together everything we’ve learned about Three.js and build a complete interactive 3D scene with: This example demonstrates how to combine various Three.js features into a cohesive application, showing how these individual components can work together to create an…
Using TensorFlow.js ML Models for Pose Detection in the Browser
Machine learning has traditionally required specialized knowledge and powerful servers, but TensorFlow.js now brings these capabilities directly to web browsers. By leveraging TensorFlow.js pretrained models we can quickly perform a variety of machine learning tasks. Browser-based machine learning offers several compelling advantages: In this tutorial, we’ll build a real-time gesture control application that uses your…
Classifying Technical Documentation with TensorFlow: Building a GitHub README Classifier
In this tutorial, I’ll walk you through how to build a machine learning system that automatically classifies GitHub README files by programming language. This practical application of natural language processing demonstrates how to use TensorFlow to analyze and categorize technical documentation. To provide a simple development environment we’re going to use a Jupyter Notebook. Each…
Interactive Mapping with Python: Building a Transit Visualization using Folium
Folium makes it easy to create beautiful interactive web maps in Python by combining the power of Python’s data handling with the Leaflet.js mapping library. While there are many ways to showcase Folium’s capabilities, building a transit system visualization provides a perfect practical example – combining real world data and various layer types. In this…