3dstreet

🚲🚶🚌 Web-based 3D visualization of streets using A-Frame

3d-visualization · aframe · streetmix · threejs · urban-planning
入门
GitHub在线演示
Stars:310
License:Other
更新:2025/12/23

README

3DStreet

Version License Build Status

3DStreet is an open-source geospatial design application for creating urban planning scenes with detailed street configurations. Based on three.js and A-Frame, 3DStreet empowers users to rapidly prototype custom urban design scenarios using procedural street design tools combined with a rich library of accurately scaled and oriented creative-commons licensed 3D models.

3DStreet creates immersive 3D visualizations using built-in street generation templates, or from 2D Streetmix.net street cross-sections and supports real-world context through built-in integrations to geospatial data sources such as Google 3D Tiles, Open Street Map, and on-site Augmented Reality using WebXR. 3DStreet has an active global user base and has been used by tens of thousands of students, professionals, and advocates worldwide to create visualizations of proposed scenarios for street safety improvements.

Our long-term vision is to improve street safety and address climate change by empowering community-led planning, made possible by open-source tools like 3DStreet that provide a level playing field for geospatial design for both community members and engineering professionals.

Online Tool

Start 3DStreet

(or visit https://3dstreet.app)

Educational Use & Partnerships

3DStreet is actively used in educational settings, including partnerships with universities across Europe and North America. The application serves as a teaching tool for urban planning and transportation design courses, helping students learn about street safety and sustainable transportation through hands-on 3D design experiences.

WebXR and Augmented Reality

3DStreet supports immersive experiences through WebXR, including augmented reality visualization for on-site street design review. The companion Bollard Buddy application provides web-based AR capabilities for measurement, geolocated object placement, and 3DStreet scene visualization without requiring separate native applications.

Open-Source Geospatial Design Platform

3DStreet addresses the critical need for open-source alternatives to proprietary civil engineering software. While most 3D geospatial design tools used by professional engineers are closed-source applications from companies like ESRI and Autodesk, 3DStreet provides a browser-based, cross-platform solution that works on any device.

This approach ensures equitable access to geospatial design tools for users worldwide, including those in developing regions who cannot afford traditional commercial civil engineering software.

The rest of this README is for developers and contributors. For info on using 3DStreet, please refer to our full user-facing documentation at 3dstreet.com/docs.

A-Frame component

3DStreet is a customized fork of the A-Frame Inspector with similarities to the C-Frame community A-Frame Editor (https://github.com/c-frame/aframe-editor/) maintained by Vincent Fretin. Our projects attempt to coordinate in bug fixing and feature development on 3DStreet/A-Frame Editor and to share these changes across these 3 repositories when feasible.

3DStreet Editor interface is a React application, and the core internals are a series of A-Frame Components which could also available for developers under AGPL to customize for their own custom applications, however external use of the internal 3DStreet libraries are not actively supported or tested.

Automatic Asset Loading

When aframe-street-component.js is included on a page it automatically loads 3D models and other assets using the A-Frame asset loader by adding them to the scene's a-assets block and defining mixins pointing to these assets. The street component itself simply places entities with appropriate mixin names. For more information on the asset loader see this docs link.

List of Supported Segment Types

3DStreet does not yet support all of the street segments found in Streetmix. You may find some segments don't display at all or are missing 3D elements. Here is a complete list:

Streetmix Segment Type3DStreet Support?VariantsNotes and Model Source
sidewalkYes - PartialemptyAll variants show empty sidewalk, no pedestrian 3d models or density variants.
sidewalk-lampYes - AllVariants: right, left, both Subvariants: modern, traditional, prideModern Lamp Post, License Google Poly CC Attrib; Traditional Lamp Post, License Google Poly CC Attrib
bike-laneYes - AllVariants: regular, red, greenNo bikes shown
drive-laneYes - Partialcar-type: "car" and "sharrow"Not supported: car-type truck and autonomous vehicle
turn-laneYes - Allleft right left-right-straight shared both left-straight right-straight straightNote: there appears to be a bug with Streetmix.net rendering of turn-lane-orientation variant in street cross section for inbound - it appears to be inverted from the street's json database value. https://github.com/streetmix/streetmix/issues/683. Note: Shared turn lane does not exhibit proper segment lane markings.
bus-laneYes - Partialshared (sharrow) variant not supportedModel Credits: New Flyer XD40 Bus
dividerYes - Partialstriped-buffer, bollardstriped-buffer is rendered for all variants. Original model credit: Flexi Guide 300 Safe Hit Post
parking-laneYes - Partialparking-lane-direction and parking-lane-orientation unsupported, parking delimiter markings unsupported
sidewalk-treeYes - Allpalm-tree, bigSupports palm tree and normal ("big") street tree. Palm Tree: License Google Poly CC Attrib, Model Source, Street Tree: License Sketchfab "Standard", Polygon City Pack
sidewalk-benchYes - Partialleft, right"center" bench not supported.
sidewalk-bike-rackYes - PartialDoesn't support height -- always at sidewalk level. No bike model yet, just the rack. Model credits: Bike Rack by illustrationlogic, License CC BY NC SA 4.0
sidewalk-wayfindingYes - Partialsmall, medium, large variants all render same objectAll size variants render the same simple wayfinding obelisk shape with texture based on original NYC design from Pentagram..
parkletNo
light-railYes - Allgrass variant displays as green color asphaltModel credits: Siemens Avenio, License CC BY NC SA 4.0; Train track 2 black, License Google Poly CC BY
streetcarYes - Allgrass variant displays as green color asphaltModel credit: Godarville Tram, License Turbo Squid Royalty Free
transit-shelterYes - PartialDoesn't support height -- always at sidewalk level.
trainNoNo support planned, not a public Streetmix segment type.
scooterYes - AllVariants: regular, red, greenNo scooters shown. (Treated identically to a bike lane.)
scooter-drop-zoneNo
bikeshareYesleft rightRendered every 100 meters. Original model credit
food-truckNo
flex-zoneNo
flex-zone-curbNo

List of Building Variants

"Buildings" are lots and/or objects rendered on either side of the street to add to the setting.

Streetmix Building Variants3DStreet Support?Notes
grassYeshttps://www.textures.com/download/grass0052/12094
fenceYesFence Model: Paid Royalty Free License CGTrader.com T&Cs Paragraph 21 for construction fence Low-poly 3D model
parking-lotYeshttps://www.textures.com/download/roads0111/53096
waterfrontYesCredit to @Lady_Ada_King for a-ocean-plane; @threejs for water normal jpeg; cgskies for sky image (paid license). Seawall Models: License Sketchfab "Standard" from Polygon City Pack
residentialYesBuildings: License Synty Store EULA from Polygon Town Pack. Does not support varying floors as specified by Streetmix JSON.
narrowYes - partial
wideYes - partial

License

The 3DStreet codebase is offered under the GNU Affero General Public License v3, as specified in the LICENSE file.

Assets such as 3D models, textures, and audio are offered under the Creative Commons By Attribution Non-Commercial License, unless a more specific license is specified for each asset in the documentation on this page.

Contact [email protected] for commercial licensing.

Developer Docs

See this link for more information about the custom components developed and modified for the project.

Model Credits

Audio Credits

Skybox credits