All Projects → o2sh → provok

o2sh / provok

Licence: MIT license
Text rendering

Programming Languages

rust
11053 projects
GLSL
2045 projects
Makefile
30231 projects

Provok

Text Renderer written in Rust using HarfBuzz for shaping, FreeType for rasterization and OpenGL for rendering.

Input

Provok is fed with a JSON file that consists of an array of word alongside their display parameters (fg_color, boldness, italic, etc.):

{
    "font_size": 50,
    "words": [
        {
            "text": "\"PROVOK\"",
            "canvas_color": "#E24E43",
            "bg_color": "#EFB715",
            "fg_color": "#E24E43",
            "bold": true
        },
...
}

How To Use

First, you need to have installed the Rust toolchain and HarfBuzz on your machine, then:

git clone https://github.com/o2sh/provok --depth=1
cd provok 
make install
provok

You can also provide your own custom input file with the --input CLI flag:

provok -i /path/to/input-file

You can specify the frequency (in frame per second) at which the word will appear using the --frequency CLI flag:

provok -f 5 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].