ShreyashKore / wonderous_compose

Wonderous Compose is a port of Wonderous in Compose Multiplatform.
https://shreyashkore.github.io/wonderous-compose-wasm/
MIT License
98 stars 1 forks source link
compose-multiplatform compose-multiplatform-sample jetpack-compose kmp kotlin-multiplatform kotlin-multiplatform-sample

Banner

Wonderous Compose

badge android badge ios badge linux badge windows badge macos badge web javascript badge web wasm

Checkout live web version based on WASM here shreyashkore.github.io/wonderous-compose-wasm/

For the version based on JS see shreyashkore.github.io/wonderous-compose-js/

Note: Some gestures do not work on the web/desktop platforms. For scrolling horizontally use Shift + Scroll.

🚧 WORK IN PROGRESS 🚧

Contributions are welcome!

Wonderous Compose is a port of Wonderous in Compose Multiplatform. Wonderous Compose is a visual showcase of eight wonders of the world. The original project was built by team gskinner using Flutter. This project is a tribute to their original work, with an aim to explore the design possibilities with Compose.

Artworks and logos are taken from the original project's GitHub repo. Public-domain artwork from The Metropolitan Museum of Art, New Your. Photography from Unsplash.

Wonderous Collage

Outline

Libraries Used

Source Sets

This project uses experimental DSL to configure custom hierarchy.

applyDefaultHierarchyTemplate {
    common {
        group("nonWeb") {
            withAndroidTarget()
            withNative()
            withJvm()
        }
        group("web") {
            withJs()
            withWasm()
        }
    }
}

Here 2 additional intermediate source sets are created to share code among web platforms.

TODO

Set up the environment

For compose multiplatform setup information checkout the documentation.

MAPS_API_KEY=YOUR_KEY
storePassword=storePassword
keyPassword=keyPassword
alias=myKey
path=path/To/key.jks