Flock XR - Creative coding in 3D
A project from: Flip Computing.
Current pilot version: app.flockxr.com
Flock XR is a free 3D coding and design tool to allow young people aged around 9-14+ to make interactive experiences, games, animations, VR experiences and more. Flock XR runs in a web browser with no accounts or downloads needed.
Flock XR has been designed as a bridge between Scratch and professional 3D tools, such as Babylon JS, UEFN, Unity and Godot. Flock XR builds on our experience working in schools and clubs to create engaging resources for young people to use and personalise.
A new version of our 3D block-based programming language is currently under development. Lots of features need more work and may change!
We are looking for funding to take Flock XR further so please get in touch if you can help.
Flock XR is based on Blockly, the Babylon JS library and the Havok physics engine. Most 3D assets have been created within the project using Blender, with some use of CC0 3D assets from Quaternius and Kenney.nl.
Please see our free resources for clubs.
View the current development version at flipcomputing.github.io/flock/
- Node.js (version 18 or higher)
- Git
- Fork the repo on GitHub
- Clone your fork to your local machine:
https://github.com/USERNAME/flock.gitor[email protected]:USERNAME/flock.git - Navigate to the project:
cd flock - Install dependencies:
npm install
- Create a feature branch:
git checkout -b your-feature-name - Make your changes
- Push to your fork:
git push origin your-feature-name - Create a Pull Request on GitHub
npm run dev
You should see it here: http://localhost:5173/
For detailed testing documentation including Playwright end-to-end tests and Mocha unit tests, see the Testing section in CONTRIBUTING.md.
Quick start:
- Mocha tests: http://localhost:5173/tests/tests.html (with dev server running)
- Playwright tests:
npx playwright test
This is a Vite-based project using:
- Blockly for visual programming blocks
- Babylon.js for 3D rendering
- Havok physics engine
- Mocha & Chai for testing
The development of Flock XR is supported by grants from Nlnet Foundation and UK Games Fund.