Skip to content
twistcoderPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

⚡ Rampify™ — Next-Gen Municipal ADA Incline & Curb Hazard Radar

AI-Powered Civic Accessibility Intelligence & Real-Time ADAAG Compliance Auditor
Advancing UN SDG 11.2 (Accessible Public Transport & Walkways) and SDG 10 (Reduced Inequalities).

GitHub Repository License: MIT React 19 Vite UN SDG 11


🌟 Introduction

Over 75 million wheelchair users worldwide navigate urban environments where a mere 1-inch vertical asphalt lip or an improper 8° curb ramp can cause catastrophic front-caster lock, flipping a wheelchair forward into live vehicular traffic. While pedestrian curb ramps exist by law (ADAAG / Public Rights-of-Way Accessibility Guidelines - PROWAG), municipal audits remain slow, manual, paper-heavy, and under-reported.

Rampify™ transforms every smartphone into an enterprise-grade municipal accessibility auditor and civic hazard telemetry terminal. Combining real-time device gyroscope inclinometry, Google Gemini 1.5 Flash multimodal computer vision, holographic AR HUD camera telemetry, and a live crowdsourced City Pulse™ Hazard Radar, Rampify empowers citizens and municipal inspectors to detect, measure, and dispatch repairs for urban accessibility hazards in seconds.


📸 Visual Showcase & Interface Walkthrough

Place your screenshots in the screenshots/ directory using the filenames specified below.

1. Dual-Gauge Inclinometer & Wheelchair Physics Visualizer

Incline Sensor Telemetry Image Guidance: Place a screenshot of Tab 1 (Incline Sensor) showing the circular dial gauge, the anodized precision spirit level, active ADAAG 405 verdict badge, and the wheelchair stability physics simulator.


2. Gemini 1.5 Flash Vision AI Gutter Inspector

AI Gutter Inspector Image Guidance: Place a screenshot of Tab 2 (Gutter Inspector) displaying a curb photo with the laser scanning overlay, measured vertical lip height (inches/mm), the "Tiny Wheel" caster-trap visualizer, and the AI remediation breakdown.


3. Rampify City Pulse™ Hazard Radar & District Safety Index

City Pulse Hazard Radar Image Guidance: Place a screenshot of Tab 4 (City Pulse Map) showing the live crowdsourced municipal radar, active SF corner audit pins, district safety ratings, and the audit dossier.


4. AR RampVision™ Holographic Viewfinder HUD (Green Telemetry Mode)

AR RampVision HUD Image Guidance: Place a screenshot of the AR RampVision™ HUD modal (launched via the "⚡ AR HUD" button) displaying the holographic green perspective grid, ADA truncated dome tactile warning field overlay, live degree readouts, and camera viewfinder.


5. Official Municipal ADAAG Violation Ticket & 311 Dispatch Dossier

ADA Violation Ticket Image Guidance: Place a screenshot of Tab 3 (Violation Ticket) displaying the formal DPW work order, legal ADAAG (§405.2, §303.2, §302.3) violations, estimated contractor repair costs ($USD), and 311 export buttons (Print / PDF / JSON).


🚀 Key Advantages & Futuristic Capabilities

  • 🎯 Sub-Degree Dual-Axis Sensor Fusion: Measures running slope (e.beta) and cross-slope (e.gamma) with an Exponential Moving Average (EMA) low-pass filter to eliminate hardware jitter on physical ramps.
  • 🔬 The "Tiny Wheel" Physics Engine: Demonstrates why a standard 4–5" wheelchair caster wheel cannot overcome an un-beveled gutter lip > 0.25", computing the exact tipping moment and center-of-gravity deflection.
  • 👁️ Multimodal Computer Vision (Gemini 1.5 Flash): Sub-second visual analysis of curb cut photos to calculate vertical drop (in inches & mm), identify longitudinal caster-trapping storm grates, and prescribe concrete repair specs.
  • 📑 Instant Official 311 Municipal Work Orders: Automatically generates legal compliance reports complete with ADAAG (§405.2, §303.2, §302.3) citations, estimated repair costs ($USD), GPS coordinates, and exportable JSON/PDF format.
  • 📡 City Pulse™ Civic Crowdsourcing Radar: Aggregates community audits into a live municipal grid. Displays district accessibility indexes, hazard hot-spots, and allows one-click dispatch to local Department of Public Works (DPW).
  • 🥽 AR RampVision™ Holographic HUD: Uses the device camera via WebRTC with an overlaid holographic 3D slope grid, ADA truncated dome tactile warning field projection, and real-time inclinometer telemetry.
  • ⚡ Universal Hardware Support: Zero native app store downloads needed. Runs entirely in modern web browsers across iOS, Android, and Desktop PC/Mac.

🛠️ How It Works (System Architecture)

┌────────────────────────────────────────────────────────────────────────┐
│                        RAMPIFY CORE ARCHITECTURE                       │
└────────────────────────────────────────────────────────────────────────┘
                                     │
      ┌──────────────────────────────┼──────────────────────────────┐
      ▼                              ▼                              ▼
[Incline Sensor]             [Gemini Vision AI]             [City Pulse Radar]
• DeviceOrientationEvent     • Google Gemini 1.5 Flash      • Crowdsourced Pins
• Beta: Running Slope (1:12) • Vertical Lip Detection       • District Score Index
• Gamma: Cross-Slope (1:48)  • Grate Caster Traps           • 1-Click 311 Dispatch
• EMA Filter Smoothing       • Monolithic Collar Specs      • DPW Work Orders
      │                              │                              │
      └──────────────────────────────┼──────────────────────────────┘
                                     │
                                     ▼
                    [ADAAG & PROWAG Compliance Engine]
                     • §405: Ramp Slope (Max 4.76°)
                     • §303: Vertical Lip (Max 0.25")
                     • §302: Grate Slots (< 0.5" perp.)
                                     │
                                     ▼
                   [311 Municipal Violation Dossier]
                    Export to PDF, TXT, JSON, & City DPW
  1. Slope Audit (Tab 1): Lay the phone flat along the curb ramp. The dual-dial gauge displays slope in degrees, percentage grade, and ADA ratio (e.g. 1:12.0). Tap Lock Angle to capture the verified measurement.
  2. Gutter Inspection (Tab 2): Point your phone camera at the asphalt-concrete transition seam or pick a pre-loaded test curb scenario. Gemini 1.5 Flash analyzes the image and returns a structured JSON verdict.
  3. Legal Violation Ticket (Tab 3): Aggregates sensor telemetry, visual evidence, GPS coordinates, and legal statutes into a complete municipal work order with estimated contractor repair budgets.
  4. City Pulse Radar (Tab 4): Pin the audit to the municipal map with one click or dispatch a live DPW work order ticket (DPW-311-XXXX).

📱 Cross-Platform Compatibility

Platform Hardware Gyroscope Camera / Vision AI AR HUD Mode
Android (Chrome / Firefox) Native Instant Access — Streams live gyroscope telemetry immediately. Native Rear Camera via WebRTC Full Live Camera AR
iOS (Safari / WebKit) 1-Tap Authorization — Tap "Allow Sensor" (Apple iOS 13+ standard). Native Rear Camera via WebRTC Full Live Camera AR
Desktop (PC / Mac / Linux) Auto Slider Mode — Interactive angle sliders & 1-click ADA benchmark presets. Webcam & High-Res Image Upload Simulated 3D Street Perspective

💻 Tech Stack

  • Frontend: React 19, TypeScript, Vite 8
  • Styling: Vanilla Tailwind CSS, CSS3 Glassmorphism, Custom Keyframe HUD animations
  • Icons: Lucide React
  • Audio Engine: Web Audio API Procedural Synthesizer (custom sonar pings, hazard alert frequencies, haptic clicks)
  • Computer Vision: Google Gemini 1.5 Flash via @google/genai REST integration
  • Sensors: W3C DeviceOrientationEvent, WebRTC navigator.mediaDevices

🚀 Getting Started Locally

Prerequisites

  • Node.js (v18.0 or newer recommended)
  • npm or yarn or pnpm

Installation

  1. Clone the repository:

    git clone https://github.com/twistcoder/rampify.git
    cd rampify
  2. Install dependencies:

    npm install
  3. Start the local development server:

    npm run dev

    Open your browser and navigate to:

    http://localhost:5173/
    
  4. (Optional) Configure Gemini API Key:

    • Tap the Settings (Gear Icon) in the top navigation bar.
    • Enter your Google AI Studio Gemini API Key.
    • Note: Even without an API key, the app includes pre-loaded high-fidelity benchmark curb scenarios so judges and auditors can test the entire workflow with zero setup.

📦 Production Build

To test and compile the production bundle:

npm run build

To preview the built production bundle locally:

npm run preview

📜 Regulatory Standards Referenced

  • ADAAG §405.2: Maximum ramp running slope shall not exceed 1:12 (4.76° or 8.33%).
  • ADAAG §405.3: Cross slope of ramp runs shall not exceed 1:48 (1.19° or 2.08%).
  • ADAAG §303.2: Vertical changes in level shall not exceed 0.25 inch (6.4 mm) without a 1:2 bevel.
  • ADAAG §302.3: Grate openings in path of travel shall not permit passage of a sphere greater than 0.5 inch (13 mm) and must be oriented perpendicular to pedestrian travel.
  • PROWAG R304: Public Rights-of-Way Accessibility Guidelines for transition aprons and truncated dome detectable warnings.

🤝 UN Sustainable Development Goals (SDG) Alignment

  • SDG 11.2: Provide access to safe, affordable, accessible, and sustainable transport systems for all, improving road safety and public transit accessibility for persons with disabilities.
  • SDG 10.2: Empower and promote the social, economic, and political inclusion of all, irrespective of age, disability, or other status.
  • SDG 9.1: Develop quality, reliable, sustainable, and resilient infrastructure to support economic development and human well-being.

📄 License

This project is licensed under the MIT License — developed for the Acodemic X G.I.R.L.S. Global SDG Hackathon.

See the full LICENSE file for complete terms.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages