aosd

FFI bindings to the Atheme Project's libaosd


Keywords
ffi, graphics

Documentation

Racket FFI bindings for libaosd

FFI bindings to libaosd to allow manipulation of the on-screen display.

For example, try something like the following:

#lang racket

(require aosd plot)

(with-aosd 0 0 300 300
  (λ (dc)
    (plot/dc (vector-field
              (λ (x y) (vector (+ x y) (- x y)))
              -2 2 -2 2)
     dc 0 0 300 300)))

(sleep 5)

Copyright (c) 2013 Asumu Takikawa

Licensed under the MIT license.