a beautiful gui program made with haskell and gtk
Go to file
sheaf 13cc649319 improve corner initial guess for Newton iteration
This commit improves the initial guess we use for the Newton iteration
to solve the envelope equation when the best tangent we found arises
from a corner: instead of starting at (i = i0, s = 0), i.e. at the start
of the current curve in the spline, we might instead start at
(i = i0 - 1, s = 1).

This commit also improves the debug output to make it clearer which part
of the path goes forwards (little white dot above, inside fit points)
or backwards (little black dot below, inside fit points).
2024-11-17 15:34:55 +01:00
app improvements to brush params when changing brush 2024-10-12 15:41:52 +02:00
assets improve styling of stroke view & file tabs 2024-11-03 12:28:47 +01:00
brush-strokes improve corner initial guess for Newton iteration 2024-11-17 15:34:55 +01:00
img add info bar 2020-08-08 05:33:35 +02:00
src improve corner initial guess for Newton iteration 2024-11-17 15:34:55 +01:00
.gitignore add hie.yaml 2022-12-04 17:53:39 +01:00
cabal.project Migrate waargonaut -> {aeson, aeson-pretty, hermes-json} 2024-10-23 14:49:42 +02:00
hie.yaml add back hie.yaml 2024-09-27 23:38:44 +02:00
installation_notes.md clean up build steps & instructions 2022-12-04 15:52:29 +01:00
MetaBrush.cabal Migrate waargonaut -> {aeson, aeson-pretty, hermes-json} 2024-10-23 14:49:42 +02:00
MetaBrush_screenshot.png update screenshot 2024-10-20 17:50:53 +02:00
readme.md update screenshot 2024-10-20 17:50:53 +02:00
shell.nix tiny build fixes 2023-06-15 00:39:03 +02:00

MetaBrush: if METAFONT had a GUI

MetaBrush is an application for creating brush-based fonts. It works on the level of brush strokes, unlike most font-editors that work with outline-based fonts.

Installation instructions

cabal run exe:MetaBrush will build and launch the application.

You will need certain C libraries to be installed on your system and recognised by pkg-config. See the Install guide for more information, or use the provided shell.nix Nix file (NB: not necessarily up-to-date).

Tips and tricks

Change UI size

To increase or decrease the size of the UI, set the GDK_SCALE environment variable. The current default is setenv GDK_SCALE=2.

Theming

You can customise the theme by editing theme.css.
There isn't (yet) a way to switch between themes in the UI; you will need to relaunch the application for changes to take effect.