Git Product home page Git Product logo

Comments (5)

dmvaldman avatar dmvaldman commented on May 18, 2024

Currently, WebGL support is not being investigated. This project began from v0.3 of Famous which had no support for "mixed mode." Perhaps down the road it can be added, but the focus for now is DOM. If you're a WebGL person, feel free to experiment! I imagine one would create a new kind of Surface and Context (which would be a canvas tag with a WebGL context) where the CSS3 transform would position things in the context. Other nodes, in addition to SizeNode and LayoutNode, can be added that correspond to GL properties, such as light sources, etc.

I'm currently working on a small physics engine, and that's a very important missing feature. I created the physics engine for Famous, so I have experience here. The main thing I never got to building, was just how physics and other transitions, like tweens, could interoperate. Other physics engines can be added, though it's best if they make no opinions on rendering and instead just export numbers. You could then take these numbers and map them to transforms or opacity etc. Stay tuned, though, I'll have physics up in a week or so.

from samsara.

steveblue avatar steveblue commented on May 18, 2024

IMHO Mixed mode is a waste of time. Probably < 0.001 % of projects on the web actually require it.

from samsara.

erikkaplun avatar erikkaplun commented on May 18, 2024

Not a place for a debate, but I don't think any percentage of current and past projects requiring something that has been unheard of by 99.9999% of web devs, UX designers, interaction designers, data visualization experts, 2D/3D gaming, cross platform mobile apps, etc etc, is indicative of that something being "a waste of time" @steveblue

from samsara.

steveblue avatar steveblue commented on May 18, 2024

Don't get me wrong @eallik, I am a huge proponent of WebGL, but the problem of Mixed mode is not necessarily a priority for development teams. How many web apps really need WebGL? The problem that needs to be solved IMHO is providing a way to display graphics accelerated Views that gives web apps close to near native performance. This should be one the main goals of a project like this one, not figuring out how to mix WebGL and DOM.

from samsara.

dmvaldman avatar dmvaldman commented on May 18, 2024

Personally, there are some impressive examples of webGL and DOM cohabiting, such as http://aaron-meyers.com/

However, this is not the direction I have in mind for this project.

from samsara.

Related Issues (20)

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.