Join in person or join the livestream. https://lu.ma/urubdd54?locale=en-GB
Three.js + Svelte = Threlte and Version 6 is finally stable! It comes with this amazingly slick documentation page: https://threlte.xyz/
Just look at how smooth the scroll based animation is 😋
A basic scene with interaction, animation and shadows is not even 40 lines of code 🤯
Try it out: https://stackblitz.com/run?file=src%2Fexample%2FScene.svelte
Shout out to this interactive climate spiral graph version created with #svelte, #layercake, #threlte, #d3 and#gsap by Yi Zhe Ang:
https://svelte.dev/repl/05de947c5aa34f959a6f9ddefa18b7f9?version=3.52.0
After the thing loaded and the animation is done you can interact with the rotating spiral (includes dragging and zooming)!
I added a new tutorial on #3d #dataViz powered by #threlte
Find it in the learning section:
https://awesome-svelte-and-d3.netlify.app/learning
Wanted to learn some more threlte and rapier, so I continued working on my moto game.
using prismatic joints for the forks and rear suspension worked great. just needed to limit the travel and configure the force based motor of that joint. so it always tries to be at it's maximum.
I'm still having troubles with friction. when landing the bike seems to stop in it's tracks.
any suggestions on how to fix that?
This weekends lab was playing around with svelte + threlte (three.js) + rapier (physics)
Generates a map from three.js Shape, then extrudes with ExtrudeGeometry.
Uses a polyline collider for simplicity.
first used a couple of cylinder colliders for the wheels, but the bike was getting stuck in the mesh, so tried switching to the ball collider and now it works much better.
the suspension could be better 😀
Do you know how many satellites are orbiting around earth? And how close they are?
Check out this #scrollytelling piece to find out: https://three-satellites.vercel.app/
Made by Stefan Reifenberg (https://stefanreifenberg.com) with #svelte and #threlte
Svelte is great for data visualisation, but for larger datasets the simple declarative approach to drawing <circle>-s inside an <svg> doesn’t cut it anymore. Other libraries like three.js are capable of handling more data, but they are written for 3D visualisation instead of 2D plots. Below, I show a proof-of-concept for a three.js-based 2D scatterplot with 5,000 points. Figure 1. The final image… For installation of svelte-kit and threlte, I refer to their own websites.