Questions tagged [famo.us]

Famo.us is a JavaScript rendering and physics engine for creating web applications with high-performance 3D user interfaces.

Famo.us features a rendering engine that avoids slow DOM-layout and repaint calculations. Instead, it leverages the GPU using CSS3 transform.

Famo.us provides a JavaScript framework designed to build rich, interactive web applications. Famo.us takes an opinionated approach to web development, maintaining a tight control of rendering to achieve performance. The framework also maintains strict modularity for flexibility. Paired with server-side technology designed to match Famo.us on the front end, you can finally create high quality applications that were once reserved only for native development.

For more information see project website Famous.org

The prior version (v.0.3.5) site can be found at deprecated.famous.org

478 questions
0
votes
1 answer

Famo.us GridLayout not laying out surfaces vertically correctly

I expect that I am just missing something basic, but I cannot seem to get any famous surface to position itself correctly in the vertical plane when using any sort of layout (GridLayout or SequentialLayout). If I create a GridLayout with 1 column…
0
votes
1 answer

best way for using famous in mobile meteor apps?

I would like to create an example app (native iOS/android) with meteor and famous but I´m a little bit confused about the syntax of famous in some meteor projects. It looks like there are some projects that integrate famous packages into meteor like…
Dude
  • 1,045
  • 2
  • 15
  • 36
0
votes
1 answer

Scrollview with dynamic elements that have different height

I would like to create a scrollView with elements that have different heights. I think I am supposed to translate each views and apply an offset to each one of them but how I am supposed to do this if height is dynamic for each view (what's inside…
oxynad
  • 21
  • 1
  • 5
0
votes
2 answers

Famo.us: How can I programmatically animate the position of a Scrollview?

I can directly set the position with myScrollview.setPosition(y), or apply a motion manually with myScrollview.setVelocity(delta). However, is there a way to apply a smooth, precise easing transition to the position of a Scrollview? Thanks!
Luke Dennis
  • 14,212
  • 17
  • 56
  • 69
0
votes
1 answer

famo.us scale and rescale, save scale data from event to event

I have a simple problem I am stuck on. I want to implement a ScaleSync on an ImageSurface. Everytime I end the scale action the data value is reset to 1 and if I perform another scale the ImageSurfaces starts transforming from…
doemsche
  • 892
  • 2
  • 12
  • 25
0
votes
2 answers

Do famo.us layouts like SequentialLayout participate in the render tree?

When using a SequentialLayout in trying to apply StateModifiers to Surface objects that had been added to a layout, it looks like some unexpected behavior happens: When applying transformations via setTransform on a StateModifier, I expect to see…
zealoushacker
  • 6,766
  • 5
  • 35
  • 44
0
votes
2 answers

Capture Famo.us Scrollview "scroll" event?

I'm trying to add a listener to scrolling on a Famo.us Scrollview on mobile. From what I can find, the scrollview's sync emits start, update and end events. But in practice I'm finding that the end event is fired on touchend, not when the…
nicholas
  • 14,184
  • 22
  • 82
  • 138
0
votes
2 answers

Use of 'this' in famo.us slideshow tutorial

It's not covered in the tutorial, but I'm confused by how 'this' is impacting the behavior of surface placement in the slideshow tutorial. This is the 'slideView' view: /* SlideView */ define(function(require, exports, module) { var View =…
Tim Lindsey
  • 727
  • 1
  • 7
  • 18
0
votes
2 answers

How do parent famo.us modifiers influence their children?

It seems I'm a bit confused as to how the render tree works, or more specifically how modifiers affect their descendants. For example, if I have a render tree that looks like: ------------------- | Global…
nicholas
  • 14,184
  • 22
  • 82
  • 138
0
votes
1 answer

Javascript and Famo.us: Engine.removeListener() not working

Quick question, I've got a simple function that creates some surfaces and animates them through defining a function 'animate' to be called every Engine prerender. This behaves as it should, however, removing this listener on prerender with…
0
votes
1 answer

Is it possible to chain align and origin modifiers in famo.us?

I'm modifying align and origin values to animate views in and out of the screen. However, I also need to use align and origin to position a surface in one of the views. When this surface sets the align and origin values it seems to not take into…
Chris Nilsson
  • 488
  • 6
  • 11
0
votes
1 answer

ScrollViewContainer wont scroll when I use views to sequence from instead of surfaces using Famous

I am sequencing a ScrollViewContainer with some views I created. The views each have a surface but when I do this the ScrollViewContainer wont scroll anymore. When I use a list of surfaces to sequenceFrom([Surface, Surface, Surface]) the…
Subtubes
  • 15,851
  • 22
  • 70
  • 105
0
votes
1 answer

in Famo.us, how do you pipe events to parent view from inside parent view

I have a custom view that contains a surface. I am needing to pipe the surface events to the parent view. I can do this easily from outside the view, but how do I do this from inside the view? Here is my custom view with the code that does NOT…
Tyler Jones
  • 1,283
  • 4
  • 18
  • 38
0
votes
0 answers

Calling native code in hybrid application built using famo.us

I'm building a mobile application that uses a third party component which is only available in native languages (Android and iOS). I read a lot about Famo.us and how powerful and promising it is when it comes to building hybrid mobile apps but not…
Hamza
  • 53
  • 2
  • 5
0
votes
1 answer

surface selection in famo.us + angular

I'm wondering how I can select specific fa-surface elements so that I can deal with them in a controller as surface objects. I have this markup
rocketas
  • 1,679
  • 3
  • 18
  • 30