diff --git a/README.md b/README.md new file mode 100644 index 0000000..31dd5fa --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Simple GUI experiments using Syndicate + +This repository contains UI experiments using +[Syndicate](http://syndicate-lang.org/) and its +[OpenGL 2D support](https://github.com/tonyg/syndicate/tree/master/racket/syndicate-gl). + +Files: + + - `gui.rkt`: Main entry point. Run `racket gui.rkt` to run the demo. + + - `layout/`: A simple widget layout engine, loosely inspired by TeX's boxes-and-glue model. + + - `sizing.rkt`: TeX-like "dimensions", including "fills" + + - `layout.rkt`: Uses "dimensions" to specify "table layouts", + which are then realized in terms of specified rectangle + coordinates + + - `hsv.rkt`: Utility for converting HSV colors to RGB. + +Screenshot: + +![Syndicate GUI screenshot](syndicate-gui-snapshot.png) diff --git a/syndicate-gui-snapshot.png b/syndicate-gui-snapshot.png new file mode 100644 index 0000000..05bba99 Binary files /dev/null and b/syndicate-gui-snapshot.png differ