kas-wgpu 0.4.0

KAS GUI / wgpu front-end
Documentation
KAS Examples
==========

Exmaples demonstrate various features of KAS.

Note that screenshots may be outdated since themes, draw routines and layout code has been updated quite frequently.

### Gallery

A testbed demoing most widgets along with theme and colour switching.

![Gallery](../../screenshots/gallery.gif)

### Counter

(Almost) the simplest interactive example possible: a counter with push-buttons.

**Variant:** `sync-counter` opens two windows with a synchronised counter.

![Counter](../../screenshots/counter.png)

### Calculator

A simple calculator, with (limited) keyboard support.

![Calculator](../../screenshots/calculator.png)

### Clock

A simple clock. An example of a custom widget using lower-level draw routines.

![Clock](../../screenshots/clock.png)

### Splitter

Demonstrates resizable panes.

![Splitter](../../screenshots/splitter.gif)

### Hello

A message box.

![Hello](../../screenshots/hello.png)

### Stopwatch

Ready? Set! Go!

![Stopwatch](../../screenshots/stopwatch.png)

### Dynamic

An example with dynamic contents. Doubles as a performance tester for how many
widgets are viable in a window (beyond around 10'000, init/resizing is slow but
interaction is still fast).

![Dynamic](../../screenshots/dynamic.png)

### Layout

Demonstration of complex layout setting. Resizing is a little slow due to the
text layout engine (may be improved in the future).

![Layout](../../screenshots/layout.png)

### Custom theme

An example demonstrating a custom theme implementation.
Pretty useless, but hey, funky background colours!

![Custom theme](../../screenshots/theme.png)

### Mandlebrot

An example demonstrating a custom draw pipe.

![Mandlebrot](../../screenshots/mandlebrot.png)

Copyright and Licence
-------

The <COPYRIGHT> file includes a list of contributors who claim copyright on this
project. This list may be incomplete; new contributors may optionally add
themselves to this list.

The KAS library is published under the terms of the Apache License, Version 2.0.
You may obtain a copy of this licence from the <LICENSE-APACHE> file or on
the following webpage: <https://www.apache.org/licenses/LICENSE-2.0>