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 simply draw a line in famo.us?

If tried a couple of things to simply draw a line with famo.us means (not on the canvas). Is there any possibilty to do that ?
Rob
  • 191
  • 1
  • 1
  • 7
0
votes
1 answer

How to clip a view in Famo.us?

I'm trying to build a countdown with Famous Timer. As a first step, I want to make a scrolling digit, so I made 3 digits which are doing the needed animation and now I need to show only the middle one. I saw the clipSize option, but couldn't…
alexarsh
  • 5,123
  • 12
  • 42
  • 51
0
votes
2 answers

Google Maps inside Famo-us Surface not draggable on mobile

I am running angular-google-maps inside a famous-angular surface as follows:
0
votes
1 answer

Styling a famo.us InputSurface's placeholder text?

Do famo.us surface have any support for pseudo CSS selectors? Specifically, I'm trying to style the placeholder text on an InputSurface. Any way of doing this without giving it a class and using CSS?
nicholas
  • 14,184
  • 22
  • 82
  • 138
0
votes
1 answer

How can I overwrite the .on() Method in Famo.us

After the first click I want to change my .on() Method. mySurface.on("touchstart",function(){ doSomething(); }) and after the first click I want to change it for example to: mySurface.on("touchstart",function(){ …
user2988098
  • 81
  • 1
  • 6
0
votes
1 answer

Make Famo.us / Angular fa-image not selectable

Does anyone know of a way to make an 'fa-image' not draggable and not selectable, at the same time? I have this surface displayed in 'fa-container-surface' and want to disable image selection because of scroll and drag and drop doesn't work if popup…
Geoffrey Lalloué
  • 1,456
  • 1
  • 20
  • 43
0
votes
2 answers

famo.us physics set magnitude of particle velocity independently of x-y components

In the famo.us physics engine, is it possible to set the magnitude of a particle's velocity without changing the x/y components? I want to be able to set the speed of a ball object independently of its interactions with other objects, in a manner…
0
votes
1 answer

How to use angular injection with a dynamically loaded controller

How do I get a dynamically loaded template and controller injected? After loading my .html partial and .js controller, I would assume the next step is $injector? But how do I use it? something like this...? My progress so…
sday
  • 1,041
  • 14
  • 22
0
votes
1 answer

How to dynamically change eventHandler in Famo.us/Angular fa-pipe-to

I'm trying to modify eventHandler on fa-pipe-to in my controler but modification is not working. In my view, i have a 'scroll-view' with a surfaces loop. Each surface pipe a event handler.
Geoffrey Lalloué
  • 1,456
  • 1
  • 20
  • 43
0
votes
2 answers

How i can add two surfaces to famo.us Scrollview?

I want to create Scrollview with two surfaces, one for the background and the other one for text vertically and horizontal aligned, but i just dont figure it out. Tried with ContainerSurface but seems no to be the best perfomance option. any…
gomflo
  • 171
  • 5
0
votes
1 answer

How to create a hexagonal custom surface in famo.us

I'm testing "famo.us" Javascript Framework, and don't know how to do "custom surfaces". My goal is to create hexagonal surfaces (if possible with rounded corners) and put those surfaces next to each other as this example : But, i also need to click…
Geoffrey Lalloué
  • 1,456
  • 1
  • 20
  • 43
0
votes
1 answer

famo.us click really slow respond sometimes multiple clicks get ignored, has anyone faced this?

I am not sure what the state of click is with the new version 0.3.0 but even with fastclick. On click event handlers are really slow to respond. Sometimes the first few clicks are just ignored.
visheshd
  • 341
  • 2
  • 7
0
votes
2 answers

Clear setInterval of the Timer Class in Famo.us framework

How can I remove a TimerInterval set by the famo.us Timer Class (I do not completely understand how famo.us wraps the natvie JS-setInterval method). In native JS I can do: var id = setInterval(fn, delay); clearInterval(id); I do not want to use the…
doemsche
  • 892
  • 2
  • 12
  • 25
0
votes
1 answer

What surface to use for a scrolling parallax interface with Famo.us

I would like to create an interface based on 3 layers stacked that produce an horizontal scrolling parallax on user input (on swipe). Each layer got image placed randomly. Should I use a ScrollingSurface (that is let say 300% of the screen width )…
Guillaume
  • 59
  • 6
0
votes
1 answer

Click on a Surface selects the wrong Surface

With a for loop I create 10 different Surfaces. By clicking on one of them, I want to get the content of this surface. But that s not working. instead I always get the content of the last created Surface (in my case it is 9). What do I have to…
user2988098
  • 81
  • 1
  • 6