Git Product home page Git Product logo

bblocks.js's Introduction

BBlocks.js (alpha version)

BBlocks is lightweight, flexible, simplist and hackable graphical library for building GUIs based on SVG components. This project is mainly inspired in Blockly and Snap-BYOB awesome projects.

The main idea is make a graphical library with some advanced features for use in a block editor, but can be used in anything. The goal is construct an advanced visual programming editor in top of this project. The editor should be able to be used in production, either individually or as embedded editor, see the BB editor project.

A [live demo][livedemo]. [livedemo]: https://carloslfu.github.io/BBlocks.js/demos/basic/demo.html

example1 example2

Features

  • SVG based (uses SVG.js).
  • All is nestable.
  • Zoomable, resizable and pannabble workspaces.
  • Touch Gestures support (uses polymer-gestures).

Core components

  • Workspace.
  • Block (An abstraction similar to Blockly and Snap blocks).
  • Field.

Workspaces

  • Basic Workspace: resize box, drag box and some styles.

Fields

  • Svg.
  • Button.
  • Text.
  • Text input.

Blocks

Some examples and test blocks:

  • test: Simple block with a text field.
  • test_dev: Block with an animation.
  • example: Block with many fields.

Getting started

See the demos folder. All documentation is in construction... (github wiki coming soon). Visit the BBlocks group for get some feedback.

Features that will be implemented

  • Interaction between objects (Workspaces, blocks ...).
  • Menu component.
  • Dropdown field.
  • SVG contextmenu.
  • Multiple blocks selection.
  • SVG textarea input field.
  • Pugins API.
  • Styling API.

Future

Last year I learned a lot about web development. I developed web applications with fascinating and very promising technologies. My aim now is to apply this knowledge in the project, build a simple and powerful tool that meets all the objectives of this project. It will simplify their development and much of the complexity associated to the construction of this tool.

This will be done in a new branch and when it has the same functionality of the current branch will replace the master. Here are some advances in architecture to be implemented:

Development

Feel free to suggest anything or submit a pull request. Visit the contributing page and the documentation page.

Board on trello BBlocks.

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.