Giter VIP home page Giter VIP logo

divsugar's People

Contributors

kitao avatar muertet avatar vulpus avatar

Stargazers

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

Watchers

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

divsugar's Issues

insert / animate existing DIVs?

hi - i'm not sure if this is the best place to ask questions, but ...
お邪魔させて頂きます^^

is there a way to use DivSugar to animate existing elements on a page?
i looked at the source for Node and the following should work:

  // caption
  var capDiv = document.getElementById("cap1");
  console.log(capDiv);
  var cap1 = new DivSugar.Node().setPosition(400, 300, 0).appendTo(scn);
  cap1.append(capDiv);

but it doesn't work. I'd appreciate if you can teach me how to do this!

お手数ですが、やり方教えて頂ければ助かります。

よろしくお願いします!

New rotation method is needed?

The current rotation method rotates the object along x, y, and z axis in turn.

Because of that, when it is used in the onUpdate method of tasks or the playAnimation method of nodes, the result of the rotation depends on the interval of animations.

Other rotation method whose result is the same as expected may be necessary.
For example, the method uses a rotation axis and an angle.

README.md links to github.com are broken

Chrome 53's changes to CSS opacity break 3D transforms.

To see the problem, simply open your LightAndBillboard example in Chrome 53 or higher:

http://kitao.github.io/divsugar/examples/04.LightAndBillboard/

This is a bad design choice in the w3 css-transforms spec, here, which states that anything with opacity less than 1 should be flattened like paper.

Can you please put your input at

https://bugs.chromium.org/p/chromium/issues/detail?id=646993
https://bugs.chromium.org/p/chromium/issues/detail?id=650514

This opacity problem is wreaking havoc with my library at trusktr/infamous. It also breaks Famous/engine and the ReFamous fork, which is used in production by some people.

I've been also detailing the problem in the public-fx mailing list. If you look here, you'll see the threads titled [css-transforms] CSS3D breaks with opacity flattening. If you can please send an email to [email protected] with the same topic, that'd be great!

I hope we can reverse these breaking changes and spec out the correct opacity behavior.

new version?

are you planning to update div sugar at all? it's very interesting to see an only CSS based engine.

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.