News for hackers. Stuff that matters.
Re:Svelte Cubed by ricardobeat on Tuesday November 23, 2021 @05:49AM (#29316378)
I think you missed the point. This is enabling you to use a declarative, component-based approach over three.js. You get to use templates and reactivity from Svelte. Ex: https://github.com/Rich-Harris/svelte-cubed/blob/main/src/ro...

That’s quite different from “what any developer does to use three.js on their website” which is usually imperative code in a render loop.

That the implementation itself [1] looks pretty vanilla is actually one of Svelte’s selling points! It would look a lot more complex with other frameworks.

[1] https://github.com/Rich-Harris/svelte-cubed/blob/main/src/li...

There are no comments on this comment yet.