probcomp/curve-fitting

Support high-DPI displays

Open

#69 opened on Nov 28, 2018

 (0 comments) (0 reactions) (0 assignees)Clojure (3 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

If a configuration flag is enabled auto-detect the display's pixel density with quil.core/pixel-density then set it with quil.core/display-density.

Note that the above Quil functions are only available inside "Sketch functions", i.e. functions passed to the applet Quil manages. You'd probably want to put this logic in the :settings function.

Contributor guide