Giter Club home page Giter Club logo

blinkblink's Introduction

blinkblink

Convert GIFs and strings to Blinkenrocket animations with this handy CLI tool!!11

WARNING

During execution the tool emits some very obnoxious modem-like sounds to program the rocket. Please make sure that you've connected your Blinkenrocket securely and the audio jack is set as your output device. The volume needs to be VERY high (110%!!1)

Install

$ npm -g install @maggo/blinkblink
$ # OR
$ yarn global add @maggo/blinkblink

--help

Usage: blinkblink [file|message..]}
Pass an array of either .gif files or strings and set their properties with
--[index].[speed|delay|repeat|direction]

GIFs must be 8x8 pixels, true black (#000000) or 0 alpha means OFF, everything
else ON. Maximum recommended framecount: 255

!!!!!PLEASE make sure that you have your Blinkenrocket safely connected to the
audio jack and your output is set correctly. The volume has to be VERY loud and
could blow away your eardrums (and everyone elses) if you play it on
speakers!!!!!!1

Options:
  --[0..].speed      Playback speed of animation
                     Range of 0 to 15; Default 8
  --[0..].delay      Delay of the animation before it starts to play.
                     Range of 0 to 7.5; Default 0
  --[0..].repeat     How many times should the animation repeat before jumping
                     to the next animation?
                     Range of 0 to 15; Default 0
  --[0..].direction  Animation direction (RTL for text)
                     0 or 1; Default 0
  -c, --clear        Clear the Blinkenrocket storage
  -h, --help         Show help                                         [boolean]
  -v, --version      Show version number                               [boolean]

Examples:
  blinkblink --0.speed=12 --1.repeat=1 "foo" foo.gif "bar" "baz"

How do the gifs look like?

Just 8x8 gifs with either black (#000000) or 0 alpha background. Then just draw with any color you like. Add frames as you please! See foo.gif for an example.

Debian/Ubuntu not working?

Seems like node-speaker needs some additional setup there. See their repository

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.