Initial board SVG and basic simulator

This commit is contained in:
Sam El-Husseini
2017-07-11 11:15:17 +03:00
parent 7e8a053f3a
commit 46c18af461
28 changed files with 4390 additions and 8 deletions

10
sim/visuals/boardview.ts Normal file
View File

@ -0,0 +1,10 @@
namespace pxsim.visuals {
mkBoardView = (opts: BoardViewOptions): BoardView => {
return new visuals.EV3BoardSvg({
runtime: runtime,
theme: visuals.randomTheme(),
disableTilt: false,
wireframe: opts.wireframe,
});
}
}