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

How to work with the input and output handers in famo.us?

In order to build clean code, Famo.us is using events to communicate to modules. Most of the Event guide shows example about EventHandler. Now we are supposed to build robust view with input and output events, how to actually work with it ? i.e.…
Flavien Volken
  • 19,196
  • 12
  • 100
  • 133
0
votes
3 answers

Famo.us fit parent size

Not providing any size for a surface will make the surface taking the size of it's parent, for an image we call this a "fill". But this distord the image, now how to make a surface (or whatever element with a size) to fit it's parent height or…
Flavien Volken
  • 19,196
  • 12
  • 100
  • 133
0
votes
1 answer

Difference between Timer.setTimeout and Timer.after

I was testing Timer of famo.us here http://famo.us/docs/0.2.0/utilities/Timer I am confused about the after(). Look like it's an internal engine tick of famo.us but how does it translate to second? Because 5000 was about 9 seconds. It doesn't line…
HP.
  • 19,226
  • 53
  • 154
  • 253
0
votes
1 answer

How to disable overshoot in famo.us app?

When reading the famo.us docs in desktop Chrome, I see an overshoot effect when scrolling past the top or bottom of the center container (i.e. below the header). It seems famo.us emulates the overshoot to resemble the native overshoot of iOS…
nikola
  • 2,241
  • 4
  • 30
  • 42
0
votes
1 answer

Infinite parallax scrolling with famo.us

I have a scrollview and an image as a background in different surface with lower z-index. I want to scroll the image with half the speed of the scrollview. Any ideas on how to implement it ?
user732456
  • 2,638
  • 2
  • 35
  • 49
0
votes
2 answers

Calling web service using Famo.us framework

I just want to Connect to database and call Web Services to get dynamic data from database. is there any tutorial for Connecting Famo.us and Webservice?? Thanks
ghanshyam.mirani
  • 3,075
  • 11
  • 45
  • 85
0
votes
1 answer

how to fix scrollviews height when transitioning them

I recently started to play with Famo.us framework, and trying to build a simple HeaderFooterLayout for switching between different Scrollviews. The issue I have is when page is loading we can see the Scrollview pass in front of the bottom…
TwystO
  • 2,456
  • 2
  • 22
  • 28
0
votes
1 answer

Getting the surface from Draggable

Please guys, help me out. I have this code: var image = new ImageSurface({ size: [300, 300], properties: { border: '4px solid white' } }); image.setContent('/img/' + _.random(1,7) + '.jpg'); var draggable = new…
Lombo Agridoce
  • 117
  • 2
  • 7
0
votes
2 answers

How to access grunt site from another box

I'm running grunt/node/famo.us for a demo app on my Windows dev box. Everything works fine on that machine when I go to localhost:1377 using Chrome. Now I am trying to access the site from my other box on the same network using ipaddress:1377 but…
skb
  • 30,624
  • 33
  • 94
  • 146
0
votes
0 answers

Paginated Scrollview would scroll again with a touch

I followed the answer here How to Swipe between surfaces in Famo.us? var Engine = require("famous/core/Engine"); var Surface = require("famous/core/Surface"); var Scrollview = require("famous/views/Scrollview"); var…
HP.
  • 19,226
  • 53
  • 154
  • 253
0
votes
1 answer

How can I use Rotational Spring of Famo.us?

I'm trying to make some examples using Famo.us Physics engine. I had tried an example of spring. I thought rotational spring could be similar with it,so I'm trying to do but it's not that easy for me. Here is an example using Rotational Spring, but…
Jihye
  • 1
0
votes
1 answer

Famo.us polygons collision support

i wanna make something like that http://brm.io/gears-d3-js/ based on Famo.us, but looking throw physics module i could not find polygon body. Could it be done in the another way, or may be there some other forks with polygons? I found this project…
Timopheym
  • 363
  • 3
  • 15
0
votes
2 answers

Can halt() stop the animation at the end state?

I want halt() my translate animation and have it instantly end up at its final location. halt() currently stops the animation where it currently is. var Engine = require('famous/core/Engine'); var Surface = require('famous/core/Surface'); var…
David Boyd
  • 6,501
  • 3
  • 21
  • 13
0
votes
2 answers

famo.us hover not working

I really tried to solve this one. But nothing seems to work. I'm trying to create a menu on Top of the page which shall only be visible if hovered. very Simple Element for now: topViewSurf = new Surface({ classes: ['topSplash'], properties:…
spitterfly
  • 28
  • 1
  • 4
0
votes
2 answers

How to remove surfaces from a layout?

I'm creating a lot of little surfaces that get added to a layout ( int this case a header footer layout), animated, then need to go away. However, I'm not sure how to remove the surfaces once added?
Keith Nicholas
  • 43,549
  • 15
  • 93
  • 156