Skip to content

tduchateau/cgSceneGraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

cgSceneGraph

The cgSceneGraph is a powerful and very easy-to-use Scene Graph framework written in JavaScript for the <canvas> tag in HTML5 It's full oriented object to ease the development of your applications and games.

Since the start of the project, it has been designed to be used on professional application as well as for game development.

Feel free to share your extensions or to publish a link to your projects using the cgSceneGraph :)

Features

  • Object oriented development
  • Easy managing of complex scenes
  • Hierarchy of nodes, keeping a trace of their absolute transformation matrix
  • Mouse and touch events, seamlessly for the developer (just define a onClick event on a node or the scene, the framework take care of the rest)
  • Mouse over/out/click/dblclick events on nodes
  • Multi-selection
  • Draggable attribute
  • Resizable attribute
  • Powerful animated sprites with event handlers
  • Powerful and easy to use animation framework with event handlers
  • Asynchronous image loading
  • Sharing of image between several nodes to optimize the memory consumption
  • spritesheet and tiles images
  • Fast collision detection
  • Traverser class to quicly find nodes with condition
  • Display ratio to render the same content on different screen sizes
  • Powerful particle system
  • Color manipulation
  • More than 20 events for nodes, scene and animations
  • Easily extension of CGSGNode and framework
  • Use of RequestAnimationFrame to correctly synchronize the rendering pass with the browser
  • Lots of useful functions
  • ...

Why to offer the cgSceneGraph as an open source project ?

For a lot of excellent reasons :) :

  • we think innovation has to be shared to be really useful
  • we trust in our team and the quality of its work
  • we are convinced that it's a very powerful tool and it can help lot of people and projects
  • we are very exciting to see what can people do with it :)

 

By downloading the framework, its sources or its documentation, you agree to the following license :

LICENSE

The cgSceneGraph is under a slightly modified MIT license, described as below :

Copyright (c) 2012 Capgemini Technology Services (hereinafter “Capgemini”)

Permission is hereby granted, free of charge and for the duration of intellectual property rights, to any person obtaining a copy of this software and associated documentation files (the "Software"), to use, copy and modify, anywhere in the world, all or part of the Software subject to the following conditions:

• The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of Capgemini shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Capgemini.”

About

Canvas HTML5 Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published