All Projects → wavedrom → Bitfield

wavedrom / Bitfield

Licence: mit
🍰 bit field diagram renderer

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Bitfield

Across Tabs
Easy communication between cross-origin browser tabs. Simplified "CORS"ing!
Stars: ✭ 1,575 (+1190.98%)
Mutual labels:  hacktoberfest
Commandblocks
Mindustry Command Mod: A highly utilitarian mod with fun and useful blocks such as Command Blocks, Dash Panels and Pistons; New features such as Skills; And an upcoming new Gamemode!
Stars: ✭ 123 (+0.82%)
Mutual labels:  hacktoberfest
Patternlab Edition Node Webpack
The webpack wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Defold
Defold is a completely free to use game engine for development of desktop, mobile and web games.
Stars: ✭ 1,938 (+1488.52%)
Mutual labels:  hacktoberfest
Gamedev4noobs
Olá, sejam bem-vindos ao repositório _gamedev4noobs_ do Estúdio Vaca Roxa. O propósito desse repositório, além de contribuir para o projeto 4noobs, é ensinar o básico do desenvolvimento de jogos para iniciantes. Apresentando boas práticas e insumos para criar games incríveis.
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Shell completion
Write shell completion scripts in pure Rust
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Pyorbital
Orbital and astronomy computations in python
Stars: ✭ 119 (-2.46%)
Mutual labels:  hacktoberfest
Vanessa Runner
утилита автоматизации базовых операций разработчика 1С
Stars: ✭ 120 (-1.64%)
Mutual labels:  hacktoberfest
Aws Faq
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Water Monitoring System
Water Monitoring System is an IOT based Liquid Level Monitoring system that has mechanisms to keep the user alerted in case of liquid overflow or when tank depletes.
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Inav
INAV: Navigation-enabled flight control software
Stars: ✭ 1,830 (+1400%)
Mutual labels:  hacktoberfest
Rustc codegen gcc
libgccjit AOT codegen for rustc
Stars: ✭ 116 (-4.92%)
Mutual labels:  hacktoberfest
Fabric Gateway Java
Hyperledger Fabric Gateway SDK for Java https://wiki.hyperledger.org/display/fabric
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Okteto
Develop your applications directly in your Kubernetes Cluster
Stars: ✭ 1,937 (+1487.7%)
Mutual labels:  hacktoberfest
Pathlengthchecker
Path Length Checker is a stand-alone app that returns the paths and length of all files and directories in a given directory.
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Puppet Mcollective
MCollective Server and Client Puppet Module
Stars: ✭ 121 (-0.82%)
Mutual labels:  hacktoberfest
Cluster.dev
Kubernetes-based Dev Environments with GitOps
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Js Nightwatch Recorder
🌙 ⌚️ NightwatchJs recorder for Chrome
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Ansible Openwisp2 Imagegenerator
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest
Https Localhost
HTTPS server running on localhost
Stars: ✭ 122 (+0%)
Mutual labels:  hacktoberfest

NPM version Travis Coverage Status

Install

npm i bit-field

Library usage

var render = require('bit-field/lib/render');
var onml = require('onml');

var reg = [
  {bits: 8, name: 'data'}
];

var options = {
  hspace: 888
};

var jsonml = render(reg, options);
var html = onml.stringify(jsonml);
// <svg...>

CLI Usage

npx bit-field [options] > alpha.svg

options

Options:
  --version     Show version number                                    [boolean]
  --input, -i   path to the source                                    [required]
  --vspace      vertical space                            [number] [default: 80]
  --hspace      horizontal space                         [number] [default: 640]
  --lanes       rectangle lanes                            [number] [default: 2]
  --bits        overall bitwidth                          [number] [default: 32]
  --fontsize    font size                                 [number] [default: 14]
  --fontfamily  font family                              [default: "sans-serif"]
  --fontweight  font weight                                  [default: "normal"]
  --compact     compact format                        [boolean] [default: false]
  --hflip       horizontal flip                       [boolean] [default: false]
  --vflip       vertical flip                         [boolean] [default: false]
  --help        Show help                                              [boolean]

alpha.json

[
    { "name": "IPO",   "bits": 8, "attr": "RO" },
    {                  "bits": 7 },
    { "name": "BRK",   "bits": 5, "attr": "RW", "type": 4 },
    { "name": "CPK",   "bits": 1 },
    { "name": "Clear", "bits": 3 },
    { "bits": 8 }
]

alpha.svg

Heat Sink

Online Examples

https://observablehq.com/collection/@drom/bitfield

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].