Skip to content

iambalaam/dae2css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dae2css

Parses .dae Collada files and converts them into CSS Triangles.

Usage

renderCSSTriangles() returns a promise that resolves to the html containing all triangles as a string.

import { renderCSSTriangles, requiredCSSRules } from 'dae2css';
const triangles = await renderCSSTriangles('models/icosphere.dae', 100, 'my-3d-model');

You will also need to ensure that the required CSS rules are on the page

`.my-3d-model {
    ${requiredCSSRules}
}`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published