This commit is contained in:
Tony Garnock-Jones 2018-02-09 12:14:33 +00:00
parent f6302cb668
commit 0c0ff3af06
2 changed files with 23 additions and 0 deletions

23
README.md Normal file
View File

@ -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)

BIN
syndicate-gui-snapshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 KiB