Compose-Geometry-Playground
Compose-Geometry-Playground copied to clipboard
Geometry playground app made using Compose multiplatform that works for both android and desktop.
Compose Geometry Playground
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

Tablet
Phone

Running desktop application
- To run, launch command:
./gradlew :desktop:run
- Or choose desktop configuration in IDE and run it.
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.