Famo.us、Three.js 和 Clara.io [英] Famo.us, Three.js and Clara.io

查看:38
本文介绍了Famo.us、Three.js 和 Clara.io的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了 Famo.us,它看起来很令人兴奋,但他们的文档已关闭.我对 WebGL 非常好奇,所以我开始寻找替代方案.我找到了 Three.js 和 Clara.io.

I found Famo.us and it seemed pretty exciting but their docs are closed. I am very curios about WebGL so I started looking for alternatives. I found Three.js and Clara.io.

它们与 famo.us 有何不同?每个框架的主要目标是什么?

How do they differ from famo.us? What is the main objective of each framework?

谢谢.

编辑:改写.

推荐答案

  • Three.js 是一个轻量级的 JavaScript 库,用于创建 3D 可视化(使用 WebGL、SVG、Canvas 或其他渲染器).
  • Clara.io 是一个使用 WebGL 的在线 3D 建模工具.
  • Famo.us 是一个 javascript 渲染引擎,用于创建具有 3D 用户界面的 网络应用,承诺在移动设备.
    • Three.js is a lightweight javascript library to create 3D visualisations (using WebGL, SVG, Canvas or another renderer).
    • Clara.io is an online 3D modelling tool using WebGL.
    • Famo.us is a javascript rendering engine to create web-apps with 3D user interfaces that promises to run smooth (60FPS) on mobile devices.
    • Famo.us 声称通过避免 DOM 布局和重绘来解决 HTML5 性能问题,这些都是非常昂贵的计算.相反,Famo.us 保留了一个平面 DOM 并使用 CSS3 转换进行所有布局和定位.与您提到的其他人不同,Famo.us 不使用 WebGL 进行渲染(目前),因为 Safari 没有默认启用此功能.

      Famo.us claims to solve the HTML5 performance issue by avoiding DOM-layout and repaints, which are very expensive computations. Instead, Famo.us keeps a flat DOM and uses CSS3 transforms for all layout and positioning. Unlike the others you mentioned, Famo.us does not render using WebGL (yet), as Safari does not have this enabled by default.

      Famo.us 包含一个物理引擎,可提供逼真且复杂的用户交互(例如在滚动视图上弹跳、3D 封面流等).在 Famous 中,您构建一个场景图并添加动画、事件和物理,让一切都变得生动起来.

      Famo.us includes a physics engine to provide realistic and complex user interaction (e.g. bounce on a scrollview, 3D coverflow, that sorts of stuff). In Famous, you construct a scene-graph and add animations, events and physics to make everything come alive.

      这篇关于Famo.us、Three.js 和 Clara.io的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆