This version of the module is deprecated: Renamed to Milky2018/selene_webgpu. Migrate dependencies to Milky2018/selene_webgpu.
moon build --target jspython3 -m http.server 8000type Audiotype CanvasBackendfn draw_color_rect(x~ : Double, y~ : Double, width~ : Double, height~ : Double, color~ : String) -> Unitfn draw_gradient_rect(x~ : Double, y~ : Double, width~ : Double, height~ : Double, color_start~ : String, color_end~ : String) -> Unitfn draw_picture(png~ : String, x~ : Double, y~ : Double, width~ : Double, height~ : Double, transform~ : Transform, repeat~ : RepeatMode) -> Unitfn draw_sprite(sprite_path~ : String, x~ : Double, y~ : Double, offset_x~ : Double, offset_y~ : Double, width~ : Double, height~ : Double, transform~ : Transform) -> Unitfn draw_stroke_rect(x~ : Double, y~ : Double, width~ : Double, height~ : Double, color~ : String) -> Unitfn draw_text(text~ : String, x~ : Double, y~ : Double, font~ : String, color~ : String) -> Unitfn initialize(startup~ : () -> Unit, render_loop~ : (Double) -> Unit, game_loop~ : (Double) -> Unit, canvas_width~ : Double, canvas_height~ : Double, fps~ : UInt, image_smooth~ : Bool, zoom~ : Double) -> (() -> Unit)