Famous Engine

Famous Engine是一个免费的开源JavaScript渲染引擎。(The Famous Engine is a free and open source JavaScript rendering engine. )

Github星跟踪图

Famous Engine

Build Status Dependency Status devDependency Status

The Famous Engine is a free and open source JavaScript rendering engine. What makes the Famous Engine unique is its JavaScript rendering engine and 3D physics engine that gives developers the power and tools to build native quality apps and animations using pure JavaScript. It is designed to allow developers the ability to render to both DOM and WebGL in a unified API.

Getting Started

We have several guides & tutorials on our site to help you get up and running with Famous, such as Hello Famous.
Here's a quick boilerplate example.

Boilerplate

If you have the Famous Engine included in your project, it is very easy to start getting content rendered to the screen. Below is a short example of how to get HTML content written to the screen.

var FamousEngine = require('famous/core/FamousEngine');
var DOMElement = require('famous/dom-renderables/DOMElement');

FamousEngine.init();
var scene = FamousEngine.createScene();

var node = scene.addChild();
var domEl = new DOMElement(node, {
    content: 'Hello World',
    properties: {
        fontFamily: 'Arial'
    }
});

In this example, we use the Famous Engine to kick off the rendering process and create a scene for our application. From here, we can add nodes to our scene and use components to give them the ability to draw.
For more, here are some deeper dives on scene graph and components.

Seed Project

If you are looking for an easy way to get a Famous application up and running, check out our seed project. This includes the FamousEngine, index.html file, preloaded CSS with friendly default values, and some boilerplate to get you started.

npm

The Famous Engine is also available on npm.

npm install famous

This will add the Famous Engine to your node_modules folder to be included into your project.

Contributing

Cloning this repository directly is primarily for those wishing to contribute to our codebase. Check out our contributing instructions to get involved.

Note: cloning only provides the Famo.us folder with all Famo.us code, but it does no application scaffolding. You will additionally need to create your own index.html. Currently we have a dependency on glslify, a browserify transform to compile our glsl shaders.

Documentation

  • Rendered versions of the source code reference documentation: docs.
  • Guides and tutorials: guides

Community

Licensing information

  • The Famous rendering engine is licensed under the MIT license
  • Contact licensing@famo.us for further inquiries.

Analytics

主要指标

概览
名称与所有者Famous/engine
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2015-05-07 22:07:10
推送于2021-10-19 11:29:18
最后一次提交2015-07-29 19:37:37
发布数8
最新版本名称v0.7.1 (发布于 )
第一版名称v0.5.0 (发布于 )
用户参与
星数1.7k
关注者数111
派生数250
提交数2.4k
已启用问题?
问题数171
打开的问题数73
拉请求数154
打开的拉请求数19
关闭的拉请求数168
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?