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
8
votes
1 answer

Famous Engine Physics Collisions

I am building a site which requires a physics engine. Having worked with a number of SPA apps i feel pretty confident with. Unfortunately I am having trouble applying collision detection & walls to a physics simulation that famous has created. You…
MichaelBell
  • 890
  • 1
  • 10
  • 24
2
votes
0 answers

Famous Engine Mouse events

I would like to get the relative mouseX and mouseY position for some dynamic gravity positioning. I have noticed that events can only be applied to nodes. this.scene.addUIEvent('click'); console.log('scene', this.scene); …
MichaelBell
  • 890
  • 1
  • 10
  • 24
2
votes
4 answers

Weird rendering of components after Android System WebView update

A few days ago our two Cordova/famo.us based mobile apps started rendering the NavBar and Scrollview with unexpected behaviors. It took me sometime to get to the root of the issue, since this happened on different devices. As of Android 5+ Android…
bardu
  • 727
  • 2
  • 8
  • 24
2
votes
1 answer

How do we set 3D perspective in the new Famous Engine

Famo.us has now released the new Famous Engine (v0.5.0). It has a whole new architecture in how to build 3D transforms. The prior (v0.3.5) API created a context and on that context you would setPerspective. var mainContext =…
talves
  • 13,993
  • 5
  • 40
  • 63
1
vote
0 answers

2D sprite using webgl and Famo.us

I'm trying to render my 2D sprite sheet into a WebGL mesh. Currently I have it setup like this: var char = game.addChild(); char.setSizeMode('absolute', 'absolute') .setAbsoluteSize(x, y) .setPosition(0,0,0) .setAlign(0,1); var charMesh…
RenaissanceProgrammer
  • 404
  • 1
  • 11
  • 30
1
vote
0 answers

Meteor + Famous-Views, how to create swipe navigations?

Using Meteor and Famous together (and Famous-Views), how can I create a swappable navigation/route? I want to go to a new page when I swipe left/right but I want that to be done by way of "swipe-in" effect. Are there any examples of this somewhere?
Mcope
  • 781
  • 8
  • 22
1
vote
1 answer

Can Mesh.setGeometry pass through an image using Famo.us Engine

So I am very new to Famo.us this could be a stupid question (I hope not). var Mesh = require('famous/webgl-renderables/Mesh'); ..... var mesh = new Mesh(meshNode).setGeometry('Circle'); I can pass through multiple types of shapes through the…
pourmesomecode
  • 4,108
  • 10
  • 46
  • 87
1
vote
1 answer

Implement a draggable element with inertia

I've just stumbled upon the new famous 0.5 release and things seem to be quite different (looking good). I want to implement a draggable element with inertia, but I can't figure it out by looking at the new docs. Can anyone give me some tip on how…
Antonio Brandao
  • 1,353
  • 13
  • 19
0
votes
1 answer

Famous/FamousEngine js using CDN

I'm trying to use the current version of Famous in a browser, and can't find any way of doing it. I can get version 0.3.0 working fine, but when I include:
Darren Oakey
  • 2,894
  • 3
  • 29
  • 55
0
votes
0 answers

Famous Engine Collision while dragging

I have a scene, with a a number of nodes / Dom elements that have a string physics applied. I have also added in a gesturehandler on the drag event. Unfortunately it seems the collisions dont seem to work as well when dragging. i.e shapes overlap…
MichaelBell
  • 890
  • 1
  • 10
  • 24
0
votes
1 answer

Famous Engine Bruteforce collisions

I have a famous engine setup and working with physics / drag etc. But it appears there are other physics options, BruteForce, SweepAndPrune etc. I suspect these may be what i need to improve the collision detection between the elements. I've tried…
MichaelBell
  • 890
  • 1
  • 10
  • 24
0
votes
0 answers

Famous, drag over surface

Is there a way in Famous, how to contact surface that another was dragged over him but event is still active and no ended ? Something like mouseover but for touch events.
0
votes
1 answer

Using (NEW) Famo.us Engine with RequireJS and EJS Templates

Before Famo.us completely changed their architecture I was developing some Apps using Famo.us, RequireJS, EJS Templates, Node and some other stuff. But now when I come to replace the old Famo.us architecture with the new Famo.us 'Engine' I am…
Pandafinity
  • 713
  • 2
  • 7
  • 19
0
votes
0 answers

How do I put a dynamic number of nodes in a Famo.us Engine scene graph?

I'm trying to add an arbitrary number of nodes onto a FamousEngine Scene Graph. And I need the number of child nodes to be mutable as elements are added and removed. Think lazy loading list... In the old paradigm, any object with a render function…
nicholas
  • 14,184
  • 22
  • 82
  • 138
0
votes
1 answer

Stopping Famo.us GestureHandler event propagation on mobile

Famo.us' GestureHandler doesn't seem to be catching on mobile devices. Even with the very simple test: var FamousEngine = require('famous/core/FamousEngine'); var DOMElement = require('famous/dom-renderables/DOMElement'); var GestureHandler =…
nicholas
  • 14,184
  • 22
  • 82
  • 138
1
2