4 ms·
No surprises from me: I launched v8 of my HTML5 canvas library back in April, which the admins here very kindly promoted to the front page of HN for a couple of
by rikroots 6y ago
No surprises from me: I launched v8 of my HTML5 canvas library back in April, which the admins here very kindly promoted to the front page of HN for a couple of hours - https://scrawl-v8.rikweb.org.uk/ https://scrawl-v8.rikweb.org.uk/
Since then I've released some updates to the library. Things I've been working on include:
- Adding a "polyline" entity (which, I hope, can be used for freehand drawing) and fixing the path animation code so things can be moved along a path at constant speed - https://codepen.io/kaliedarik/pen/MWadEwm https://codepen.io/kaliedarik/pen/MWadEwm
- Tweaking and improving the "phrase" entity (for graphical text) to make it easier to add styling markup to it, plus some stuff to make it look better when animating along a path ... though sadly there's still an (very!) annoying text height bug that needs to be addressed - https://codepen.io/kaliedarik/pen/dyYeOZb https://codepen.io/kaliedarik/pen/dyYeOZb
And for the past few weeks I've been investigating/learning about physics engines. Because what's not to love about physics engines? I'm not close to releasing code for this yet, but I did manage to get the library to play nicely with Matter.js as part of my learning experience (the polylines add a nice touch to the net, I think) - https://codepen.io/kaliedarik/pen/zYvbwBy https://codepen.io/kaliedarik/pen/zYvbwBy