Skip to content
/ wgpu4k Public
forked from wgpu4k/wgpu4k

webgpu binding for kotlin multi platform

License

Notifications You must be signed in to change notification settings

korlibs/wgpu4k

 
 

Repository files navigation

WGPU4K: A WebGPU Binding for Kotlin Multi-platform

This project focuses on creating a binding for WebGPU which can support Kotlin on multiple platforms.

Table of Contents

  1. How to Run the Project
  2. Prerequisites
  3. Backend
  4. Project Phases
    1. Proof of Concept
    2. API Implementation
    3. API Refinement
    4. Production

How to Run the Project

  1. On desktop: gradle wrapper && ./gradlew examples:glfw:run
  2. On web: gradle wrapper && ./gradlew examples:web-js:jsBrowserRun

Prerequisites

  • Gradle 8.8(RC1+) or lower version with gradle wrapper
  • JDK 22+
  • A recent version of Chrome or Firefox Nightly for web browser execution. Check compatibility here.

Backend

GitHub Link

Project Phases

Proof of Concept

The aim of this phase is to test the technology on as many platforms as possible using elementary examples.

API Implementation

The entire API is implemented in this phase.

API Refinement

In this phase, the API is fine-tuned to be more idiomatic to Kotlin.

Production

This is the final phase when the project is ready for production.

About

webgpu binding for kotlin multi platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 37.1%
  • Kotlin 35.2%
  • TypeScript 21.5%
  • C 2.4%
  • HTML 2.0%
  • WGSL 1.5%
  • Other 0.3%