Code Monkey home page Code Monkey logo

ree.js's Introduction

ree.js

Framework for building 3D application architecture

The goal of this project is to provide a framework for building complex 3D applications such as CAD and 3D animation tools. It relies on three.js and it is heavily inspired by Polymer.js.


Motivation

Building complex software such as computer graphics tools has always been a challenge with web technology. Libraries such as three.js solve some of the big problems around the complexity of WebGL API. However, building complex and articulated applications is still an unsolved problem. This framework is an attempt to solve it.

Origin

The core ideas in this framework originate from attempts to build complex 3D applications using Polymer.js and custom elements. Hierarchical DOM-based application model works great for the UI and promotes good practices such as modularization and reusability. On the other hand, application logic very often needs to break out from the DOM structure and imposing this structure on logic often results in higher complexity. This framework takes some concepts from custom elements and mixes it with common JavaScript techniques. The resulting architecture pattern sits somewhere between object oriented, DOM-based and component-entity-systems and provides a simple data binding interface to DOM-based UI.

Core Concepts

The core concept of this framework is embodied in REE.Element class. It is essentially a JavaScript object/entity with data binding, event system, and type checking for it's properties. Additionally, if uuid property is set, the objects have the ability to persist property values between browsing sessions. Data binding can be expressed both imperatively and declaratively. Events propagate through complex element hierarchies the same way they propagate in DOM. Property persistence is currently only supported with localStorage and basic data types.

ree.js's People

Contributors

arodic avatar

Stargazers

Hadj H. avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.