SkillAgentSearch skills...

Hadertoy

Haskell implementation of Glumpy

Install / Use

/learn @TristanCacqueray/Hadertoy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

hadertoy

The goal of hadertoy is to provide an Haskell library similar to Glumpy to enable simple data visualisation.

See the library header and example cli for documentation.

Usage

In its present form, hadertoy can be used to load a shader and update the range and center uniform values using mouse scroll and click:

$ hadertoy ./shaders/mandelbrot.glsl

In map/julia mode, middle click on the map update the julia seed.

When an uniform is prefixed by // dear-scale initial-value min-value max-value, a dear-imgui controller is created to adjust the value.

demo

Development

Setup

Without nix, first install dear-imgui.hs with

$ cabal install --lib --flags="+glfw"

Then install the dependency with cabal install

Otherwise with nix, run nix-shell

Build

$ cabal build && cabal test

Get documentation and hoogle service by running:

$ nix-shell --command "hoogle server -p 8080 --local --haskell"

When using nix, use nixGL to run the build, for example:

$ nixGLIntel cabal run hadertoy
View on GitHub
GitHub Stars12
CategoryDevelopment
Updated4y ago
Forks2

Languages

Haskell

Security Score

75/100

Audited on Jun 21, 2021

No findings