Implementing Irregular Building Models and Real-time Visitor Heatmaps with Three.js
This project creates a 3D WebGL-based visualization system for real-time visitor monitoring with in an exhibition complex. The primary technology stack includes Three.js for 3D rendering, ECharts for 2D charting, and WebSocket for live data transmission. The system displays visitor density, demographic analytics, and flow patterns across differ ...
Posted on Tue, 19 May 2026 15:14:36 +0000 by DeathStar
Basic Object Animations in Three.js: Translation, Rotation, Scaling, and Bouncing
Core Setup
Before implementing ainmations, initialize the essential Three.js components: a scene, perspective camera, WebGL renderer, a yellow cube mesh, and an axis helper for spatial reference.
import * as THREE from 'three';
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(
75,
window.innerWidth / window.inne ...
Posted on Tue, 19 May 2026 11:30:05 +0000 by hurricane
Developing 3D Fire Safety Simulations with Three.js and WebGL
Urban fire safety, particularly in high-rise environments, requires sophisticated monitoring and evacuation planning. A 3D simulation provides an intuitive interface for fire positioning, equipment tracking, and emergency drills. Using WebGL and Three.js allows developers to create these complex environments that run directly in the browser wit ...
Posted on Mon, 18 May 2026 22:20:36 +0000 by Reef
Implementing Indoor 3D Positioning with Three.js for BIM Visualization
Building Visualization Techniques
For effective 3D building vsiualization, proper model segmentation is crucial. Key components should be separated:
1. Floor Separation Implementation
class BuildingManager {
constructor() {
this.floorState = 'closed';
this.floorCache = {};
}
toggleFloors(buildingId, callback) {
const building ...
Posted on Mon, 18 May 2026 05:38:57 +0000 by satal keto
Implementing Real-Time Shadows in Three.js
Shadow rendering in Three.js relies on a specific pipeline involving the renderer, light source, geometry, and material configurations. By default, the engine skips shadow calculations to presreve performance. To activate this feature, four distinct components must be properly configured.
First, enable the shadow mapping system on the renderer ...
Posted on Fri, 15 May 2026 01:21:16 +0000 by tony-kidsdirect
Real-Time Animated Water Flow Visualization with CesiumJS
1. Viewer Initialization
<link href="path/to/cesium/Widgets/widgets.css" rel="stylesheet">
<script src="path/to/cesium/Cesium.js"></script>
<div id="cesiumContainer" style="width:100%;height:100vh;"></div>
<script>
const cesiumViewer = new Cesium.Viewer('cesi ...
Posted on Wed, 13 May 2026 23:28:00 +0000 by rbarnett
Understanding Three.js Core Concepts: Coordinate Systems and Lighting
3D Coordinate System Visualization
Visualizing Coordinate Axes
THREE.AxesHelper() accepts a parameter that determines the length of the coordinate axis lines. You can adjust this value based on your scene requirements.
// AxesHelper: Visual reference for 3D axes
const axisIndicator = new THREE.AxesHelper(200);
scene.add(axisIndicator);
Imple ...
Posted on Wed, 13 May 2026 20:13:09 +0000 by VanHagar
Building a Dynamic, Tech-Inspired Website Background
Introduction
In the previous article, we explored the overall design concept and discussed the visual presentation and user experience of a modern tech website.
Since the initial internal design leaned toward minimalism, the team began exploring ways to enhance the overall design aesthetic. This article delves into the implementation details of ...
Posted on Wed, 13 May 2026 12:23:12 +0000 by abduljan
Resolving Proxy Conflicts Between Vue 3 Reactivity and Three.js
Proxy Interference with Three.js Rendering
When using Vue 3's reactive() to wrap Three.js objects like scene, camera, renderer, and controls, a runtime error occurs during rendering:
three.module.js:24471 Uncaught TypeError:
'get' on proxy: property 'modelViewMatrix' is a read-only and
non-configurable data property on the proxy target but th ...
Posted on Sat, 09 May 2026 14:18:32 +0000 by spainsoccerfreak
Essential Texture Mapping in Three.js
Texture Fundamentals
Texture mapping in Three.js utilizes THREE.MeshBasicMaterial and THREE.TextureLoader. The basic materail renders objects without lighting influence, allowing direct color assignment or image application to surfaces.
The texture loader facilitates loading of image assets for use as textures.
Before proceeding, set up the ess ...
Posted on Fri, 08 May 2026 21:11:41 +0000 by mikep