Sudha247 / ocaml-joy

MIT License
21 stars 14 forks source link

Color API: rename opaque #117

Open nikochiko opened 4 months ago

nikochiko commented 4 months ago

opaque as a name to create colors feels unintuitive and confusing because now you are thinking in terms of transparency of opacity when you just wanted a color.

We should have a simpler name for this function and it can take a (alpha) as an optional argument that defaults to 1.