GithubHelp home page GithubHelp logo

sahwar / simpixel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maniacallabs/simpixel

0.0 2.0 0.0 306 KB

WebGL Pixel Art Visualizer

Home Page: http://simpixel.io

License: GNU General Public License v3.0

HTML 5.36% JavaScript 94.64%

simpixel's Introduction

SimPixel

A WebGL LED visualizer.

Usage

Unless you want to develop for SimPixel, it couldn't be easier! Just visit http://simpixel.io and enter your local SimPixel Server address and port. In most cases, the default value will be fine assuming you are running your SimPixel server on the same machine (hint: you should!).

SimPixel has a simple protocol and can be used by nearly any data source. However, it's recommended that you use BiblioPixel and the built in SimPixel driver.

Running from Source and Development

If you just want to run with the latest development code, the easiest way is to launch http://beta.simpixel.io, there's nothing to download or install!

However, if you would like to launch from local source code, there are two basic options.

Python

cd <SimPixel>/src/
python3 -m http.server 3000

Then load http://localhost:3000/ in your browser.

Node.js

If you need a full development environment however, you must have an up to date version of Node.js installed and use the following process.

Setup

cd <SimPixel>
npm install

Start Development Environment with BrowserSync

cd <SimPixel>
npm start

BrowserSync will automatically launch http://localhost:3000/ and reload your browser when files change. No more manual refreshing! You can open the visualizer in multiple browsers and they will all be refreshed together. Clicks will also be synchronized so you can test in several browsers at the same time.

Deployment

npm run build

This will run the source code through babel (converting modern JS into more widely-supported JS), and place the output into the dist directory. Copy the contents of dist to your favorite web server.

simpixel's People

Contributors

adammhaile avatar mwcz avatar rec avatar vingkan avatar

Watchers

 avatar  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.