Giter VIP home page Giter VIP logo

many-squares's Introduction

many-squares

Build Status Coverage Status Dependency Status

This project is deployed onto GitHub Pages. Deployable assets are in docs, rather than the usual dist; this is because docs is the default location for GitHub Pages. The project's tests run on Travis after each commit.

Browser support

As the project currently uses client-side ES6 without transpilation, it's unlikely to work in older browsers. It has been verified as working correctly in the latest desktop versions of Safari and Chrome. In Firefox and in mobile browsers, drag-and-drop does not work, though the initial rendering and calculation does.

Possible improvements

  • improve layout
  • fix drag-and-drop in Firefox
  • better mobile/touch support
  • support different viewports

Getting started locally

Install

Clone the repo, and then:

brew install nvm
nvm install
npm install

Build

npm run build

Run tests

npm test

Open page locally

npm run open

Watch local filesystem for changes and rebuild

npm run watch

Configuration

  • options.sideLength: the length of each side of each square
  • options.squareCount: the number of squares to be shown
  • options.dragEventThrottlePeriod: the minimum period, in milliseconds, between the recalculation of areas

many-squares's People

Contributors

danyalaytekin avatar dependabot[bot] avatar

Watchers

 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.