No longer maintained. This repository is no longer maintained. The live site is at https://engine.digitaleducationsafety.org. Active development now happens in the foundation monorepo on GitLab.
DESF.Engine.Mobile.Frame.mp4
Engine is an open-source, block-based 3D coding environment designed to make spatial programming intuitive and accessible. By leveraging a visual interface, it allows users to build and manipulate 3D worlds without needing to master complex syntax first.
- Visual 3D Logic: Use familiar block-based programming (Blockly) to control objects and logic in a 3D space.
- Physics Engine: Integrated physics support for gravity, collisions, forces, and impostors (boxes, spheres, etc.).
- VRM Avatar Support: Import and interact with VRM format 3D avatars seamlessly.
- GUI System: Build interactive user interfaces, buttons, and dynamic popups directly within your project.
- Audio Integration: Add sound effects and play musical notes to enhance the 3D experience.
- Real-time Rendering: See your code come to life instantly with high-performance 3D rendering in the browser.
- Modular Design: Built with extensibility in mind, allowing for custom blocks and workspace configurations.
- Web-Based: Runs entirely in the browser using JavaScript and Babylon.js, requiring no installation.
For detailed guides on how to use the tool, create custom workspaces, or contribute to the engine, please visit our Wiki.
- Assets & Free Resources Guide: Discover free-to-use/open-source 3D models, textures, audio tools (including audio.digitaleducationsafety.org), and guidelines on creator attribution and licensing.
- Explore the Editor: Open
index.md(or the hosted GitHub Pages site) to launch the environment. - Pick a Workspace: Choose from pre-configured layouts in the
_workspacesdirectory, such asspace-shooterorvirtual-pet. - Run Your Code: Snap blocks together and hit play to see your 3D creation move.
We strongly encourage exploration and attributing open-source creators who share their work for free! Check out our Assets & Free Resources Guide to find:
- 3D Models & Avatars: Poly Pizza, Sketchfab, Kenney.nl, VRoid Hub.
- Textures & Materials: AmbientCG, Poly Haven.
- Audio & Sound Effects: Freesound, OpenGameArt, and Digital Education Safety Audio Tools.
- Licensing & Attribution Guidance: Best practices for attributing creators and respecting open license terms.
The engine is built using a combination of Python for logic verification and JavaScript for the frontend experience.
- 3D Engine: Powered by Babylon.js for robust 3D rendering and physics.
- Visual Programming: Utilizes Blockly for the drag-and-drop logic interface.
- Validation: Uses
verify_collision.pyandverify_popup_variables.py(Python/Playwright) to ensure workspace integrity. - Layouts: Managed via Jekyll-style
_layoutsand_config.ymlfor easy web deployment.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request