Skip to content

Geometry playground app made using Compose multiplatform that works for both android and desktop.

License

Notifications You must be signed in to change notification settings

MohamedRejeb/Compose-Geometry-Playground

Repository files navigation

Compose Geometry Playground

slide

Geometry playground made using Compose multiplatform that works for both android and desktop.

  • 99% of the code is shared between android (phone, tablet) and desktop (windows, mac, linus)
  • All the shapes, tools, text... are drawn using canvas
  • Undo, redo support
  • Tools panel (Pencil, Straight line, ruler, compass, protractor)
  • Colors panel (Fully customizable)
  • Supprt both light and dark mode.

Desktop

Screenshot 2023-02-05 at 2 32 28 PM

Tablet

Screenshot_20230205_143832

Phone

Screenshot 2023-02-05 at 2 32 28 PM

Running desktop application

  • To run, launch command: ./gradlew :desktop:run
  • Or choose desktop configuration in IDE and run it.
    desktop-run-configuration

Running Android application

Open project in Intellij IDEA or Android Studio and run "android" configuration.

What is next ?

  • The next challenge is to build web and ios versions using the maximum ammount of existing code.

Acknowledgements

Authors

🔗 Social Links

linkedin