Feature: Canvas (#287)

Draw using braille and block characters on a grid.
This commit is contained in:
Arthur Sonzogni
2021-12-23 14:17:33 +01:00
committed by GitHub
parent 7e5cd23b4c
commit 0d47dd19ab
15 changed files with 1098 additions and 10 deletions

View File

@@ -37,8 +37,8 @@ int main(int argc, const char* argv[]) {
float focus_x = 0.0f;
float focus_y = 0.0f;
auto slider_x = Slider("x", &focus_x, 0.f, 1.f, 0.05f);
auto slider_y = Slider("y", &focus_y, 0.f, 1.f, 0.05f);
auto slider_x = Slider("x", &focus_x, 0.f, 1.f, 0.01f);
auto slider_y = Slider("y", &focus_y, 0.f, 1.f, 0.01f);
auto renderer = Renderer(
Container::Vertical({