Home

What’s Included in Famo.us

The Famo.us platform comes packaged with a wide variety of modules and utility classes that provide all you need to build a high-performance interface. You don’t need to know about all of these modules to get started, but you may want to bookmark this page for reference later.

Core

The core modules of Famo.us include all of the low-level componentry required to make Famo.us applications possible. (Note that many of the objects listed here are only for the Famo.us engine’s internal use.)

Events

Famo.us implements an event interface, similar to the one used in Node.js, for communication between objects. You can use these objects to tie together the different modules in your application.

Inputs

Famo.us provides a number of input modules that allow your application to accept and handle user input, including those that synchronize input from different sources such as mouse and touchscreen.

Math

Famo.us’ math functions and utilities are used throughout the Famo.us core and in Famo.us’ physics modules.

Modifiers

These modifier modules are implementations of the core Modifier pattern, which outputs transforms to the render tree.

Physics

This collection of modules allows for physical simulation based on real-world physics, including particles, forces, bodies, and more.

Core

Bodies

Constraints

Forces

Surfaces

These surface modules are extensions of the core Surface module, providing a concrete interface to common visual document elements.

Transitions

Transitions are used to create animations, usually by providing data to Modifier instances.

Utilities

The utilities collection hosts various helper classes and static methods that may be useful throughout your Famo.us applications.

Views

Views are higher-level, visual, interactive components for use in applications. They provide a convenient wrapping over many lower-level components to support several common interface expressions.

Widgets

Widgets is a collection of small, useful views. Unlike the modules in the views library, widgets make some assumptions about styling.

Next: Browser & Device Support »