1.2.0 • Published 3 years ago

dae2css v1.2.0

Weekly downloads
26
License
ISC
Repository
github
Last release
3 years ago

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}
}`
1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago