MonkeyCodeMonkeyCode-AICommunity Gallery
Join GitHubStart Building
MonkeyCode Community Gallery›Games›Three.js

A* Pathfinding - Three.js

Author anonymousTotal Visits 3Visits in 7 Days 0
VisitStart Building
// preview
A* Pathfinding - Three.js cover
// description

Set start/end points and obstacles on a 3D grid, and observe the A* algorithm planning a path

This is a single-page interactive visualization demo themed around the A* pathfinding algorithm. The top of the page provides obstacle toggle, start point setting, end point setting, random map, and clear map controls; the bottom uses a legend to distinguish start point, end point, path, and obstacle, and reserves a path value display. Its core experience originally relies on a Three.js 3D grid to render the map and real-time path; during this actual visit, the external Three.js and OrbitControls modules timed out, so only the control panel and legend were visible, without an operable grid or calculated path.

Highlights

Map State Editing

Set start point, end point, and obstacles

Random Map Control

Generate or clear obstacle layouts

Path Status Legend

Distinguish path and map nodes

How to Use

  1. Select Editing Mode

    Select an editing state via the obstacle toggle, set start point, or set end point buttons at the top; the current mode shows an active style on the button, and then you should choose a target cell on the grid.

  2. Adjust Map Layout

    Use the Random Map button to generate a new obstacle layout, or use the Clear Map button to remove the existing layout, then combine the start and end point settings to prepare a pathfinding scene.

  3. View Planning Result

    After map conditions change, you can identify the planning result using the bottom start, end, path, and obstacle legend, and view the result values in the path status area. If no grid appears in the center of the page, refresh it or wait for the Three.js resources to recover before operating.

Project Rating5.0
1 ratings
// similar sites

Similar Sites

Grassland Football Battle
1
View Details

Grassland Football Battle

Author: LydiaCai

3D web football battle game, choose a position and work with AI teammates to complete a first-to-3-goals match.

Arcade3.3·1 ratings
CS FPS - Bomb Defusal Mode
1
View Details

CS FPS - Bomb Defusal Mode

Author: Andy

A web-based first-person shooter game built on Three.js, CS-style bomb defusal mode

Adventure3.7·AI score
Water Scooping Battle - 3D Farm Drainage Game
0
View Details

Water Scooping Battle - 3D Farm Drainage Game

Author: Ghost 1

A first-person 3D farm drainage sandbox game where you control the protagonist to scoop out standing water with tools, featuring fluid simulation, tool upgrades, rainfall system, and other gameplay.

Simulation1.6·AI score
VoxelCraft
3
View Details

VoxelCraft

Author: anonymous

A 3D voxel block mini-game running in the browser, built with Three.js.

Adventure3.1·AI score
Turbo Rush 3D
27
View Details

Turbo Rush 3D

Author: Sourav Banerjee

3D racing game - dodge traffic, grab nitro, and cross the finish line first

Three.js4.0·AI score
Infinite Bloom
15
View Details

Infinite Bloom

Author: Cat

A peony procedurally generated by Three.js, an eternal sea of flowers where particles and light intertwine.

Showcase3.5·AI score
// join the community

Share Your Project

Join the community to ask questions, share feedback, or submit a website you built with MonkeyCode. Join our Discord Server

GitHub
Discord
MonkeyCodeMonkeyCode · Community Gallery
{ Built with MonkeyCode }
Start BuildingGitHubJoin
Describe what you need, such as a board game, cover maker, or task manager
Can't find the app you need?Build one with MonkeyCode