Skip to content

LEDCube Simulator based on ThreeJS. It's an electron app!

Notifications You must be signed in to change notification settings

squarewavedot/CubeSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart

Do these steps once

Install Node modules

$ npm install

Protobuf

To use the .proto files, the following steps need to be executed.

create the JS file

chmod +x ./node_modules/protobufjs/cli/bin/pb*
./node_modules/protobufjs/cli/bin/pbjs -t static-module -w commonjs -o model.js matrixserver.proto

create the TS file

./node_modules/protobufjs/cli/bin/pbts -o model.d.ts model.js

copy the files in the appropriate folders

cp model.js src/ && mv model.js out-tsc/ && mv model.d.ts src/

compile & start

$ npm start.

start via electron (if above doesn't start the app)

$ electron .

Packaging

install packager

npm install electron-packager -g

Packaging

electron-packager . test --platform=win32 --arch=x64 --out=build
electron-packager . test --platform=darwin --arch=x64 --out=build

About

LEDCube Simulator based on ThreeJS. It's an electron app!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published