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

Nested modifier ng-repeats do not respect $index?

I've taken a stab at famo.us and angular lately. I like it, but I'm having issues getting my sidenav working the way I want. When I click any of the Test1-3 menu items, I want child menu items to slide open from beneath them. I have not yet…
William S
  • 881
  • 6
  • 17
0
votes
1 answer

Famo.us on Jetty Server

I am looking for the "How To" or proper documentation/tutorials to bring famo.us JavaScript files online from a Java (JRE8) embedded Jetty 9.3 Web Server. Normally bringing something online, such as JavaScript, with Jetty is a peace of cake but the…
Danny
  • 79
  • 1
  • 1
  • 10
0
votes
1 answer

Passing a Blaze Template as a Parameter to a function creates Famous.js surface

I am trying to update my famous.js surfaces' content by using Meteor's Blaze.toHTMLWithData(template, data), like Blaze.toHTMLWithData(Template.roomIlanSpecsTemplate, data), with a custom template in a function creating a famous surface inside a…
sçuçu
  • 2,960
  • 2
  • 33
  • 60
0
votes
1 answer

famo.us dependency injection

This is my config.js file var applicationModuleVendorDependencies = ['ngResource', 'ngCookies', 'ngAnimate', 'ngTouch', 'ngSanitize', 'famous','ui.router', 'ui.bootstrap', 'ui.utils']; This is the controller I use…
Aswin Raghavan
  • 321
  • 2
  • 14
0
votes
1 answer

Error when installing famo.us

I have node.js installed, and I want to install fam.us (http://famous.org/get-started.html) I tried this command npm install -g famous-cli but I get an error, does anyone know how to fix it? C:\Users\Me\Desktop\Apps\Messenger>npm install -g…
omega
  • 40,311
  • 81
  • 251
  • 474
0
votes
1 answer

Distribute circles around a center circle

I'm trying to place six circles around a center circle. Eeach of them has the same diameter so it should be possible to place them around the center without space between or overlaps. I thinking to be close to the solution but there are small…
Bernhard
  • 4,855
  • 5
  • 39
  • 70
0
votes
1 answer

Implementing infinite animation in famousJS with StateModifier

I want a circle to act like a heart does, a pulsing animation. So the circle first scales to 75%, then to 100%. I want to make this an infinite loop. Code: var Engine = require('famous/core/Engine'); var Surface = require('famous/core/Surface'); var…
STheFox
  • 1,478
  • 4
  • 18
  • 24
0
votes
1 answer

Famo.us View can't contain imagesurface on top of a surface inside a scrollview

define(function(require, exports, module){ var View = require('src/core/View'); var Surface = require('src/core/Surface'); var ImageSurface = require('src/surfaces/ImageSurface'); var EventHandler =…
Jibo
  • 479
  • 1
  • 7
  • 13
0
votes
1 answer

Unexpected behaviour in famo.us javascript

The code below creates up the elements for a grid, and arranges it using the transformOut method. This part works fine, but I then want the grid to collapse in to the centre on mousedown, and spring back out again on mouseup. However, all subsequent…
Timbo
  • 125
  • 8
0
votes
1 answer

How to create animated canvas using famo.us integrated to angularjs?

So I try to create animation using canvas in famo.us integreted with angularjs. I found this directive in docs: But I have no ideas…
Matúš Bartko
  • 2,425
  • 2
  • 30
  • 42
0
votes
1 answer

Is it possible to have multi touch input linked across multiple surfaces in famo.us ?

I have created the following render tree: Context -> MainNode -> ImageSurfaces -> MoreSurfaces The image surfaces can be added by the user and are created dynamically, I want to have drag for each ImageSurface depending upon the…
Shubham Sharma
  • 119
  • 1
  • 7
0
votes
2 answers

Famous physics, Uncaught TypeError

The code below generates this error: Uncaught TypeError: Cannot read property '5' of undefined This is thrown by line 52 of the code below. I don't understand how the value of rows or cols gets to 5, when the two loops are set to stop at 4. Thanks…
Timbo
  • 125
  • 8
0
votes
1 answer

Unable to pass on modifiers via custom views

Hi I am trying to place co-ordinate axis via views to make it a reusable module but when I add the module I lose all align and origin properties, also I am not able to modify them in my main. What am I missing here. main.js define(function(require)…
Shubham Sharma
  • 119
  • 1
  • 7
0
votes
1 answer

Handling of events within Scrollview and Surfaces in Meteor famous-views

I am trying to find a practical way of handling events with famous-views in Meteor. So I've read gadicohen's documentation (famous-views demo) and so far it works. But if I add a layoutTemplate to my iron:router and route to the templates with…
user3819370
  • 513
  • 1
  • 6
  • 15
0
votes
2 answers

How do you get a CSS hover to trigger on a famo.us surface?

When I create a surface and assign it a class the hover defined in CSS is not working. It doesn't seem to get the mouse events. How do I turn them on. function _createSurface(content,color){ return new Surface({ content: content, …
Omar Masri
  • 81
  • 4