GithubHelp home page GithubHelp logo

magneval / brainbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jbulow/brainbox

1.0 1.0 0.0 209.16 MB

Teaching-focused digital circuit simulator. Allows anyone to graphically connect objects within a awesome web-browser application without knowing coding or hacking.

Home Page: https://www.brainbox-demo.de

JavaScript 98.66% HTML 0.53% CSS 0.80% Shell 0.01%

brainbox's Introduction

Brainbox - working with real device

Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between the input and the output is based on a certain logic. Based on this, logic gates are named as AND gate, OR gate, NOT gate etc.

Now you can edit and run your digital circuit simulation designs online on PCs, Macs, thin clients, tablets, smart phones, smart TVs and e-book readers without any installation. You can use BrainBox in the office, classroom or at home and connect even your RaspberryPi to drive real physical devices.

Test the program on http://www.brainbox-demo.de

image

How to install it

You can start and run brainbox for different user groups.

Single User

Ideal for your own use. Simply start and get started. No user administration or login and full access to all features.

npm install -g brainbox
brainbox

Shared

Everyone has access to the simulator without registration. Drawings and documents can also be saved and you always get a unique URL when saving to access the document again later. Ideal to play with the simulator in smaller or larger groups and share your work with others.

npm install brainbox
brainbox --storage shared-public

Multi User

Simulator is available for everyone in a read only mode. However, only logged in persons can save or change documents. Private files are not publicly accessible. Working groups and tasks can be created and distributed. Ideal for schools and in education.

npm install brainbox
brainbox --storage multiple-user

As mention before you must install brainbox via npm. But what is npm?

NPM is the package manager for NodeJS applications.

It's the world's largest software registry, with approximately 3 billion downloads per week. Open-source developers from every continent use npm to share and borrow packages, and many organizations use npm to manage private development as well.

If you didn't have installed NodeJS and npm - go ahead and install it

See the running example on YouTube: https://www.youtube.com/watch?v=fUkAIjTaNXI

On Desktop

You can install the application even in your local intranet for training purpose. Just install and run the backend server (to store and load the circuit files) on every computer which can run a simple node.js server.

On a Raspberry Pi

You have full access to the GPIO pins on you RaspberryPi with the browser based digital circuit simulator. If node.js already running on your raspi you need just to install the simulator like on your desktop

Run from source code

I develop the project with yarn to build my webpack. YARN runs on Node.js, so if you don't have npm installed already, go ahead and install it.

Install dependencies with npm

yarn install

Run the backend server

node ./app/backend/index.js

Run the webpack builder in dev mode

open a second console and run

yarn dev

brainbox's People

Contributors

dependabot[bot] avatar freegroup avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.