Skip to content

Latest commit

 

History

History
201 lines (144 loc) · 5.56 KB

README.md

File metadata and controls

201 lines (144 loc) · 5.56 KB

Contributors Forks Stargazers Issues MIT License


Logo

bin-image-machine

Scripts used to generate BitByteBin bins metadata and base64 images
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

Product Name Screen Shot

The purpose of the Bin project is to be as generic as possible so to not stifle creativity in building things around it.

By using binary bits which only have 2 options, users and devs of the community will have to decide how to get the values you want from it to use as they wish.

Each bit can be either 0 or 1, nothing more nothing less, 50/50 chance either way.

There are however some rules around these numbers, which does bring rarity into play.

Rules:

Bits/Byte:

  • 1%-1 Bits/Byte
  • 3%-2 Bits/Byte
  • 6%-3 Bits/Byte
  • 9%-4 Bits/Byte
  • 4%-5 Bits/Byte
  • 20%-6 Bits/Byte
  • 57%-7 Bits/Byte

Bytes/Line:

  • 1%-1 Bytes/Line
  • 39%-2 Bytes/Line
  • 60%-3 Bytes/Line

Lines:

  • 0.1%-7 Lines
  • 0.9%-8 Lines
  • 99%-9 Lines

(back to top)

Built With

  • Node.js
  • Probability.js

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • node & npm
    apt install nodejs npm

Installation

  1. Clone the repo
    git clone https://github.com/BitByteBin/bin-image-machine.git
  2. Install NPM packages
    npm install

(back to top)

Usage

To generate the Bins:

  • Generate Collection
node index.js

Product Name Screen Shot

To generate a Binary image used for logos and BitByteBin brand styling:

  • Generate logo
node logo.js

Logo

To generate rarity list:

  • Generate rarity rank list
node ranksort.js

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

0xStabby Twitter: @0xStabby

BitByteBin Twitter: @BitByteBin

Project Link: https://github.com/BitByteBin/bin-image-machine

(back to top)