0.0.1 • Published 3 years ago

@perbyhring/svelte-three v0.0.1

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

svelte-three

This library lets you create three.js-scenes in Svelte templates. It's heavily inspired by react-three-fiber.

Similarly to react-three-fiber, this is not a collection of wrapper components for each possible three.js-object. If you have a look in the src-folder, you see that it only contains three component: Renderer.svelte, Three.svelte and Dom.svelte.

Renderer.svelte is used to represent the THREE.WebGLRenderer-object. Three.svelte is used to represent all other objects you can create with Three.js. Dom.svelte is used to mix HTML-content into your 3d-scene.

Examples:

Soon...