Questions tagged [famous-engine]

Famous Engine is a high-performance javascript library for animations & interfaces. This new engine was referred to as "**Mixed Mode**" prior to release.

This is the "Mixed Mode" release with a new MIT license.

Famous.org
The Famous engine abstracts the DOM & WebGL, allowing you to do custom layout and rendering. Centering objects and rotating them can be done with only a few lines of code.

The new Famous Engine produces almost no garbage at all. Transforms are now updated throug an event-based system, which avoids unnecessary matrix multiplications. The result is a renderer that delivers consistent, smooth, 60fps animations with even better performance than before.

Released to Beta on May 21, 2015

26 questions
0
votes
2 answers

When creating a scene in Famous Engine (2015), how can I set the selector? What are the rules?

So far, I can only attach it to body by default, or if I specify div, the famous-dom-renderer is attached to the first div it finds. How can I set the selector according to class, or id? var scene = FamousEngine.createScene('the div I am…
louis w
  • 117
  • 1
  • 1
  • 9
0
votes
1 answer

Why does my box disappear?

I am trying to track the position of 'myBox,' at the time of a click. It works when I attach the event to myBox, but that isn't what I want. I want to be able to click anywhere within the window. I thought that since Scene has a .onReceive()…
Alex
  • 3
  • 4
0
votes
1 answer

Why GestureHandler component blocks focus on ?

I have two nodes that I want to drag and I use GestureHandler for that. On nodes I have SignIn and SignUp forms. My GestureHandler blocks focus on my input fields. How can I fix that?
0
votes
1 answer

How to bounce a sphere off of a wall in Famous Engine?

I have created a Sphere and a Wall and added it to the physics engine. The Sphere was is also given a starting velocity. I then created a circle and wall Node, added DOMElement components, and set some dimensions and color. During the update loop,…
louis w
  • 117
  • 1
  • 1
  • 9
0
votes
1 answer

Transitionable callback not working in Famous Engine

Another question while learning the new Famous Engine: When setting a new state for a transitionable, you are allowed to set a callback for when the transition finishes. For me, the transition tweens to the final number for the specified duration,…
louis w
  • 117
  • 1
  • 1
  • 9
0
votes
1 answer

Why doesn't setting the size of a Node using Size Component in Famous Engine work?

Here's the code that should size my node to be 500x500px: 'use strict'; var famous = require('famous'); var DOMElement = famous.domRenderables.DOMElement; var Size = famous.core.Size; var FamousEngine = famous.core.FamousEngine; var Node =…
louis w
  • 117
  • 1
  • 1
  • 9
0
votes
1 answer

Uncaught TypeError: Cannot set property '_node' of undefined

Please see source code posted here https://github.com/codesdk/famous_engine_issue_debug_position Follow the steps in README.md I am getting the following error Uncaught TypeError: Cannot set property '_node' of undefined which traces to the…
Code SDK
  • 13
  • 5
0
votes
2 answers

Uncaught TypeError: this._queue[1] is not a function

My index.js looks like this 'use strict'; // Famous dependencies var DOMElement = require('famous/dom-renderables/DOMElement'); var FamousEngine = require('famous/core/FamousEngine'); var CustomNode = require('./CustomNode'); var Animation =…
Code SDK
  • 13
  • 5
0
votes
2 answers

This node does not have access to a size component

My code looks like this var FamousEngine = require('famous/core/FamousEngine'); var DOMElement = require('famous/dom-renderables/DOMElement'); var Position = require('famous/components/Position'); var Transitionable =…
Code SDK
  • 13
  • 5
0
votes
1 answer

Uncaught TypeError: object is not a function when inheriting from Node using Famous-Engine

My code looks like this var DOMElement = require('famous/dom-renderables/DOMElement'); var FamousEngine = require('famous/core/FamousEngine'); var Transitionable = require('famous/transitions/Transitionable'); var Node =…
Code SDK
  • 13
  • 5
-1
votes
1 answer

Can the new Famo.us Library be used without require?

I'm talking about the library here: http://famous.org/ It uses require() methods and I was curious if there's a different version with it.
1
2