42 karma · joined October 7, 2019
I'm going to upgrade it to use this algorithm in the future https://peeke.nl/simulating-blobs-of-fluid
Should be super neato then :)
Algorithm if you're interested. https://peeke.nl/simulating-blobs-of-fluid
Here's a good example if you're interested. https://peeke.nl/simulating-blobs-of-fluid
Thanks for the input and advice :)
The library is under 3kb when minified and gzipped, and around 9kb when minified alone.
The api was largely inspired by functional components and state hooks in react.
The dom is built directly by the tag functions, the tag functions are effectively equivalent to html tags. There's no virtual dom or other representations, and the dom is updated directly on state changes.
fntags provides the ability to bind any element to any state you have a handle to.
If you're looking for something light weight for your next project, try it out!