Code Monkey home page Code Monkey logo

shatter.js's Introduction

Hi there ๐Ÿ‘‹

shatter.js's People

Contributors

cdgugler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

shatter.js's Issues

Does not work reliably (or at all) in Firefox and IE 11

Because of this reason: http://stackoverflow.com/questions/4776670/should-setting-an-image-src-to-data-url-be-available-immediately

shatter.js sets the src and expects the image to be ready to use directly afterwards. That's not the case, yielding blank images.

I've not found a quick hack to keep the synchronous way of shatter.js, the only working solution to this seems to be to use callbacks as described in the playing it save part of the stackoverflow post.

Add debug mode

Should be able to visibly see how image will be split, or was split.
Add to examples.

examples broken?

Hi, I was looking to use shatter.js for a project, but I can't tell from the examples on the site if it fits my need. Can you take a look at the site and confirm that the interactive examples are working as expected? When I go to this page, I am unable to type anything in the "number of pieces" input box for unknown reasons-- so I used the dev console to change the input box's value to 1 programmatically and clicked "Create another," but then the page starts glitching and jumping without any other apparent result. Likewise, the Phase Example just links to a black box.

Am I doing something wrong?

Thanks.

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.