Skip to content

K-Adam/CSS3D-Renderer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CSS 3D Renderer

C3R.js is a lightweight library for displaying 3D scenes with CSS. It is designed to be used as a CSS3D backend for existing libraries. It provides classes to construct textured polygons, nest 3D transformed elements and handle camera.

Usage

Just include C3R.standalone.js to your project, or include both C3R.min.js and glMatrix

Examples

The example projects be found in the examples directory. You can try them out live here

I replaced the original CSS3D renderer of Three.js with a C3R.js based implementation, which supports buffergeometry and textures as well. It can be found at examples/js/renderers/CSS3DRenderer.js