jsonpiler 0.11.0

a Json syntax programming language for Windows
Documentation
# GUI function

## GUI

```jspl
GUI(render: Ident) -> Null
```

render draws each pixel.
It takes `render(x, y, frame, mouseX, mouseY) -> color`.

x: -256...255  
y: -256...255  
frame: 0...  
mouse_x: -256...  
mouse_y: -256...  
color: 0xRRGGBB

```jspl
define(
  draw_pixel,
  { x: Int; y: Int; frame: Int; mouse_x: Int; mouse_y: Int },
  Int,
  {
    let(r) = 0
    let(g) = 0
    let(b) = 0
    if(x > 0, r = 255)
    if(y < 0, g = 255)
    if(x + y > 0, b = 255)
    r << 16 + g << 8 + b
  }
)
GUI(draw_pixel)
```