Skip to content
 
 

Repository files navigation

Mini Singapore 3D

License: MIT Version

Mapbox Three.js deck.gl

A real-time 3D visualization of Singapore's MRT and LRT network. Watch trains move across all 9 lines on an interactive 3D map.

Forked from Mini Tokyo 3D by Akihiko Kusanagi

Features

  • 9 rail lines, 215 stations - Complete MRT and LRT network coverage
  • Real-time train simulation - Trains follow accurate timetables throughout the day
  • 3D interactive map - Tilt, rotate, and zoom with smooth animations
  • Accurate track geometry - Curved rails from OpenStreetMap data
  • Station details - Exit locations, interchange connections, and station codes
  • Multi-language - English, 中文, Bahasa Melayu, தமிழ்

Quick Start

Prerequisites

Get API keys from:

Setup

# Clone the repository
git clone https://github.com/geledek/mini-singapore-3d.git
cd mini-singapore-3d

# Configure environment
cp .env.example .env
# Edit .env with your API keys

# Install and build
npm install
npm run build-all

# Start local server
npm start

Note: npm run build-all builds the app (JS/CSS bundles, static pages, and data) but does not build the VuePress docs site. Docs are built separately via npm run docs:build — as of VuePress 1.x, that command can crash with an SSR error in vue-server-renderer (known upstream issue, unrelated to the app build).

Open http://localhost:8080 in your browser.

Tech Stack

Layer Technology
3D Map Mapbox GL JS
Data Visualization deck.gl
3D Meshes Three.js
Build Rollup
Deployment Vercel

Documentation

Data Sources

Contributing

Contributions are welcome! Areas that need help:

  • Real-time train arrival integration (when LTA provides it)
  • Bus route visualization
  • Malay and Tamil translations
  • Performance optimizations

License

MIT License - see the LICENSE file for details.

Credits

This project is a fork of Mini Tokyo 3D by Akihiko Kusanagi.

Special thanks to:

About

A real-time 3D digital map of Singapore's public transport system

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages