Skip to content

gurtt/microbit-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microbit-export

Export/render microbit blocks as vector graphics. Try it out!

Usage

In the micro:bit workspace, switch to the JavaScript view by clicking the button at the top of the page. Then, paste the relevant code into the renderer and hit the button. A preview is shown on-screen, and the image is available for download as an SVG.

The renderer supports multiple code blocks. Multiple blocks will be rendered as a single image file; render single sections at a time for multiple images.

Animated image showing switching to JavaScript view, pasting into the editor and clicking the Download button

Acknowledgements

This project is inspired by Scratchblocks, a similar project for rendering Scratch block groups. Details for the MakeCode rendering engine can be found here.