View it at jaynewey.github.io.
Download the Tailwind standalone CLI and add it to your PATH, e.g:
curl -sL https://github.com/tailwindlabs/tailwindcss/releases/download/v4.1.18/tailwindcss-linux-x64 -o tailwindcss
chmod +x tailwindcss
mv tailwindcss /usr/local/bin/Build and serve the app: (This will require trunk: cargo install trunk)
trunk serveThe app should now be visible at 127.0.0.1:8080.
rustfmt, leptosfmt and rustywind are used to format source files:
cargo fmt
leptosfmt src
rustywind srcclippy lints:
cargo clippyThe islands model has been compressed using gltfpack using:
gltfpack -vtf -i islands.gltf -o islands.glbTo make use of the compression, I am patching in extra gltf extensions implemented in this pull request.
We make use of the KHR_mesh_quantization extension which saves considerable space but disable
KHR_texture_transform as the implementation above does not seem to consider both transforms.
We could save more space by enabling EXT_meshopt_compression however I haven't been able to get it working with the above.