Open danbri opened 2 years ago
I had a look at reshaping the repo to use SvelteKit. I did it for now as a fork, but the files are pretty reorganized to match the new tooling's default expectations. It might have been better to call it liquidfun-play-3 or something.
https://github.com/danbri/liquidfun-play-2
Please excuse the hacks (e.g. I just committed the two .wasm files as snapshots for now). The main demo is basically your gravity example hacked a bit, aim being to see if liquidfun in wasm would be a good basis for this kind of stuff: https://github.com/stevebattle/liquid (and in general to try to bring liquidfun to attention of ML/AI and Alife folks).
Right now it kinda sorta works if you
npm i npm run dev
...except there's something busted causing it to crash if the page is reloaded. Like I say, I am new to all these tools!
https://www.snowpack.dev/ says
.. and points at Vite, https://vitejs.dev/
Meanwhile there is also SvelteKit, https://kit.svelte.dev/ which apparently is moving to Vite.
Nearby:
None of these are technologies that I'm familiar with, but wondering if SvelteKit would be a good fit here since Svelte is already in use...