TyphonJS Runtime Library v0.0.9 - Release Candidate
Alrighty! The TyphonJS Runtime Library (TRL) v0.0.9 is out... In the last 2 weeks+ I have done massive work on the Position system that is backward compatible w/ the Foundry system / data, but brings reactive position capabilities to Application development. Now this new system can be applied to any HTML element and not just applications. It's pure JS, but is truly unlocked when you use it w/ Svelte. The demo video is long, but shows some very neat things. Use the timecode links to jump around. Check around the middle to get an idea of the massive performance boost applied to bespoke HTMLElements.
My intention is that this tech can power a very versatile cards implementation compared to going a full 3D / WebGL approach.
I'm spending the next 1-2 weeks completing an advanced animation system to go along with it and eeking out even more performance.
Anyway... highlights:
- Massive performance increase
- Ability to apply Position to any HTML element (no longer just Applications)
- See
applyPosition
for usage in Svelte (check box demo).
- New transform validator that works with browser or element bounds. By default SvelteApplication uses it.
- resizeObserver
action for better cross-browser offsetWidth / Height monitoring.
You can swing on by my Discord / #typhonjs-runtime
channel to have a chat: https://discord.gg/mnbgN8f
Demo repo in video here: https://github.com/typhonjs-fvtt-demo/essential-svelte-esm
Cheers!
https://www.youtube.com/watch?v=nWHRZcOhsRATyphonJS-FoundryVTT
YouTube
TyphonJS Runtime Library (TRL) v0.0.9 - Reactive Position Demo
This demo video goes over some of the amazing advances to the reactive position capability of TRL. Not only is it applied for module / system Application development, but you can apply the positional system to any element now. Position validation is significantly improved with a validator that can take transforms into consideration including set...
6 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yeah.. it's definitely a challenge so to speak for system developers as so many are dependent on the existing ActorSheet / ItemSheet / DocumentSheet angle. I am certainly interested in finding some sort of Svelte powered option, but that is tricky. Also I'm not a system dev, so don't have that immediate crunch to solve this problem. Hopefully this year for sure!
And Hopefully I can somewhat be involved in the App v2 discussion. Things like the position system I've created took me 2 months of full time dev. 😮 Pure JS and would work w/ the existing App v1 infrastructure let alone App v2. Certainly would consider offering it up for App v2 API. Can't see the core team expending a developer for 2+ months creating the same type of thing.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Not all too much known or announced yet other than it is "coming"... Might be spread across several release cycles.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
@nekrodarkmoon gave LeaguePoints™ to @mleahy (#17 • 132)