Giter VIP home page Giter VIP logo

dunkonit / cubing.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cubing/cubing.js

0.0 0.0 0.0 30.13 MB

๐Ÿ›  A set of libraries for displaying and working with twisty puzzles. Current home to the code for Twizzle.

Home Page: https://tydvirtaal.github.io/cubing.js/

License: GNU General Public License v3.0

JavaScript 1.38% Makefile 0.14% TypeScript 91.52% CSS 1.34% HTML 5.61% Shell 0.01%

cubing.js's Introduction

cubing.js

make test
make build

cubing.js is a collection of Javascript libraries, still under development.

Twizzle

Twizzle is based on cubing.js, and is currently being developed at src/sites/alpha.twizzle.net.

Documentation

If you want to display algs or solves, the following code is a good way to get started:

<script
  src="https://cdn.cubing.net/esm/cubing/twisty"
  type="module"
  defer
></script>
<twisty-player alg="R U R' U R U2' R'"></twisty-player>

You can find more documentation at js.cubing.net/cubing/.
The source for the documentation site is currently inside the docs folder of this repository.

Development

Development relies on node and npm. Once you have installed those, you can run:

git clone https://github.com/cubing/cubing.js && cd cubing.js
make dev

This should run npm install and then open the sites root file at http://localhost:3333/ automatically. Any source code changes will refresh the browser. We don't yet have a development guide, so you'll have to search the code to find where features are implemented.

The core library code for cubing.js is in src/cubing To test changes, use:

make test

License

This project is licensed under the GPL license (version 3 or later). This means that this library is free to use, although you must publish any code that uses it (e.g. also put it on GitHub). See the full license for exact details.

We've selected this license in order to encourage the cubing community to work on software in a way so that everyone can contribute and extend each other's work.

cubing.js's People

Contributors

lgarron avatar rokicki avatar dependabot[bot] avatar preethamrn avatar sachinh19 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.