svelte-testing-library
threlte
svelte-testing-library | threlte | |
---|---|---|
2 | 25 | |
597 | 1,812 | |
0.2% | 3.5% | |
8.0 | 9.9 | |
2 days ago | 8 days ago | |
JavaScript | Svelte | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svelte-testing-library
-
SvelteKit GPT-4 Plug-in RFC
https://github.com/testing-library/svelte-testing-library would be helpful to generate up to date unit tests for components
-
What frustrates you in using Svelte?
And more: component mocking, testing with parameter changes/data bindings, ...
threlte
-
Show HN: 3D Framework for the Web. Built on Svelte and Three.js
Thanks! Threlte is "just" offering a declarative way to express Three.js. If you know how the `` component and its props and event handlers work, you can use the Three.js documentation for everything else.
Apart from that with Threlte I personally practice documentation-driven-development, so ecosystem packages are exhaustively documented. If you're missing something, let us know via an issue[1] or on Discord[2].
Accessibility is a topic we didn't care enough yet to be perfectly honest. Accessibility doesn't stop at screen readers though, it's about contrast, size, colors, motion, reachability, and so much more that we cannot provide and are a consumer topic. Naturally WebGL apps suffer from being practically invisible to screenreaders. There are workarounds[3] but essentially this has to be solved by consumers of Threlte (devs) and hopefully by browser vendors at some point in the future.
[1] https://github.com/threlte/threlte/issues
[2] http://chat.threlte.xyz
[3] https://github.com/pmndrs/react-three-a11y
-
Mario meets Pareto: multi-objective optimization of Mario Kart builds
more specifically it's using the svelte wrapper of three.js called Threlte: https://threlte.xyz/
- Threlte: A Three.js component library for Svelte
- A Three.js component library for Svelte
-
What is your experience with JavaScript libraries for 3D graphics?
Three.js is great when there is a layer between me and it's API. Been playing with https://threlte.xyz/ and really enjoying it.
-
Is there a way to improve the performance of this visual element in Svelte?
Maybe try https://threlte.xyz/
-
threejs and interactive meshes
Now this is a very high level overview and a lot of really important stuff is missing. Things like event propagation, pointermissed events, different event targets, a super clean syntax and more is all implemented in Threlte 6's interactivity plugin. Check out the code here.
-
SvelteKit GPT-4 Plug-in RFC
GPT-4 is a fantastic tool for coding, really looking forward to using it with the latest Svelte docs. Perhaps consider adding the documentation for Threlte?
-
When building scenes do you use any visual tool or just do it all in code?
) with complex functionality, since the app needed a graphics pipeline and I wanted to write one up myself. The next page I made did not need a pipeline, so I opted to use Threlte (a Svelte version of react-three-fiber) to make the code simpler to write and easier to maintain. If a scene you want to create has a lot of different meshes, materials, animations, etc. you might be best off using Blender to get it looking perfect. You can export from Blender as .gltf files which can be imported into Three. If you want a more specialized solution, I'd need to know your use case a little better. How are you building the scenes?
-
I made a 3D Chess board integrated with Lichess using Svelte/Threlte
Hey, awesome work! Check out gltf.report for a quick and easy tool that can resize textures, prune objects and weld/simplify geometry. I’m not sure what Threlte version you’re using, but starting from Threlte 6 which is coming in the next weeks we’re recommending @threlte/gltf for the best possible gltf workflow. Check out our Discord if you need any help!
What are some alternatives?
svelte-navigator - Simple, accessible routing for Svelte
flowbite-svelte - Official Svelte components built for Flowbite and Tailwind CSS
carbon-components-svelte - Svelte implementation of the Carbon Design System
kit-docs - Documentation integration for SvelteKit.
svelte-materialify - A Material UI Design Component library for Svelte heavily inspired by vuetify.
three-graces-svelte-cubed
svelte-headlessui - Unofficial Svelte port of the Headless UI component library
threejs-volumetric-spotlight - Volumetric spotlight with three.js
Svelte - Cybernetically enhanced web apps
rapier - 2D and 3D physics engines focused on performance.
nodebestpractices - :white_check_mark: The Node.js best practices list (February 2024)
three-minifier - Minify THREE.js