Comments (5)
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.
IMHO Mixed mode is a waste of time. Probably < 0.001 % of projects on the web actually require it.
from samsara.
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.
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.
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)
- Not responsive to split view on iOS HOT 4
- [Question] Min & Max Opacity HOT 8
- EventEmitter incorrectly binds owner on `once`
- EventHandler never turns off upstream events HOT 1
- [Question] will-change size HOT 2
- [Question] How to populate the div within a Surface using Javascript HOT 8
- React Native HOT 3
- Manipulating StyleSheets instead of inline styles HOT 4
- Views added to context after context has been mounted need a resize event to be render HOT 2
- Question : Can Samsara leverage the capabilities of shadow-dom ?? HOT 1
- FYI - FastDom HOT 1
- SequentialLayout can't be align to bottom HOT 7
- Scrollview.goTo(x) goes bananas on iOS HOT 6
- Paginated Scrollview can't handle resize/orientation change HOT 1
- Scrollview bug IE11
- set/toggle/remove classes bug
- Awesome work HOT 2
- Non-nested CSS3D seems to be getting bad in Chrome. HOT 5
- Is Samsara viable when implementing animations designed in Framer? HOT 1
- misalignment with Cube demo HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samsara.