[Haskell-cafe] lib for drawing with mouse

Branimir Maksimovic branimir.maksimovic at gmail.com
Mon Mar 2 22:45:24 UTC 2020


Gtk?

On 3/1/20 8:44 PM, mechvel at scico.botik.ru wrote:
> Please,
>
> does there exist a tool (library) in Haskell that supports doing the 
> following
> with graphics?
>
> (1) To draw a curve by mouse on a screen and save this picture in a file
>     (many different curves to be input this way).
> (2) To save in  data.txt  the coordinates of the points of this curve,
>     say, 800 pairs of numbers (floating point or rational ...).
> (3) Reversely: to draw a curve on a screen by inputting from such 
> data.txt.
>
> The main is (1)&(2). Because currently I set a curve by putting many 
> times the
> '*' character and `space' to a text file, and this takes long.
>
> Thanks,
>
> ------
> Sergei
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.


More information about the Haskell-Cafe mailing list