probcomp/curve-fitting

Support high-DPI displays

Aperta

#69 aperta il 28 nov 2018

 (0 commenti) (0 reazioni) (0 assegnatari)Clojure (3 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (3 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor