Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Ivan Matkov e9f976f6d4
Update Kotlin to 2.2.21 in tests and examples (#5475)
1 month ago
..
.run Graphics2D example (#3770) 2 years ago
androidApp Update Android target SDK to 35 (#5152) 1 year ago
desktopApp Update kotlin version in examples (#4844) 2 years ago
gradle/wrapper Bump versions (Kotlin, AGP, Gradle) (#5399) 4 months ago
iosApp Add support for high-refresh rate displays in examples (#5104) 1 year ago
jsApp Port all web examples to ComposeViewport (#5378) 4 months ago
shared Add material-icons-core to other examples (#5288) 8 months ago
.gitignore Graphics2D example (#3770) 2 years ago
README.md Update link to setup environment instructions (#4344) 2 years ago
apple-id.png Graphics2D example (#3770) 2 years ago
build.gradle.kts Update kotlin version in examples (#4844) 2 years ago
gradle.properties Update Kotlin to 2.2.21 in tests and examples (#5475) 1 month ago
gradlew Graphics2D example (#3770) 2 years ago
gradlew.bat Graphics2D example (#3770) 2 years ago
ios-app.png Graphics2D example (#3770) 2 years ago
run-configurations.png Graphics2D example (#3770) 2 years ago
settings.gradle.kts Update kotlin version in examples (#4844) 2 years ago

README.md

Graphics2D

Example can run on Android, iOS, desktop or in a browser.

Setting up your development environment

To setup the environment, please consult these instructions.

How to run

Choose a run configuration for an appropriate target in Android Studio and run it.

run-configurations.png

Run on desktop via Gradle

./gradlew desktopApp:run

Run experimental native on MacOS

./gradlew runDebugExecutableMacosX64 (Works on Intel processors) ./gradlew runDebugExecutableMacosArm64 (Works on Arm processors)