Skip to content

PedalSG

The project imports data for all cycling paths and parking spots from LTA, let's the user figure out a cycling path from point A to point B depending on what kind of path they want (safe,scenic, sheltered etc), and then

Core trick

Sends route coordinates plus live weather and time of day to an image model to render the expected view along each cycling path.

Tags

Description

The project imports data for all cycling paths and parking spots from LTA, let's the user figure out a cycling path from point A to point B depending on what kind of path they want (safe,scenic, sheltered etc), and then simulate the kind of view they are expected to see based on the coordinates of the path, timing and weather. I use nanobanana to enhance to generate the images by sending in the geo-coordinates + the weather fetch + the time.
satviksinha/PedalSG★ 00 forksTypeScriptCreated Mar 7, 2026 · last push Mar 7, 2026

README excerpt

# Geo Singapura — Interactive 3D Singapore Cycling Map

A premium single-page web application that renders Singapore in fully interactive 3D, featuring a complete cycling infrastructure layer, immersive route simulation with AI-powered scenery generation, and real-time weather and time-of-day context awareness. Built entirely with free, tokenless data sources.

---

## ✨ Key Features

### 🗺️ 3D Map Engine
- Full-screen interactive 3D map of Singapore with smooth pan / zoom / rotate / pitch
- Overture-powered 3D building layer with automatic release fallback across multiple snapshots
- Terrain relief from free DEM tiles (Mapzen Terrarium) for realistic elevation
- Greenspace overlays (parks, reserves, woodland) with canopy-like 3D effects
- Stadium/arena massing extrusion from source polygon data

### 🚴 Cycling Infrastructure
- **6,758 cycling path segments** rendered on the map with color-coded type indicators:
  - 🟢 Dedicated cycling paths
  - 🟠 Shared paths
  - 🔴 On-road segments
- **588 bike parking locations** with toggle overlay
- Route planning with four preference modes: **Safest**, **Scenic**, **Shortest**, and **Sheltered**
- Live route statistics: distance, climb, estimated time

### 🎮 Route Simulation
- Animated first-person cycling simulation along planned routes
- Navigation arrow marker with real-time bearing alignment
- Playback speed control (1×, 2×, 5×) with scrub bar
- Live simulation stats: distance covered, distance remaining, elapsed time, speed, elevatio

Team