pax-std 0.39.1

Standard library for Pax, including layouts, drawing primitives, and form controls
Documentation
1
2
3
4
5
6
7
8
9
fn effect(p: vec2<f32>) -> vec4<f32> {
    switch parameters.mode {
        case 1u: { return paint_gauguin(p); }
        case 2u: { return paint_van_gogh(p); }
        case 3u: { return paint_pointillist(p); }
        case 4u: { return paint_cezanne(p); }
        default: { return paint_basic(p); }
    }
}