Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line transparency not affected by stroke alpha value #355

Open
SimplyOnMyWay opened this issue Aug 30, 2021 · 0 comments
Open

Line transparency not affected by stroke alpha value #355

SimplyOnMyWay opened this issue Aug 30, 2021 · 0 comments

Comments

@SimplyOnMyWay
Copy link

When using :p3d renderer and (q/colormode :hsb 360 100 100 1.0) I am unable to get transparency working when setting the stroke of lines. For example, I would expect the following to give a transparent red

(q/with-stroke [0 100 100 0.5]
   (q/line p1 p2))

I can get this working ok with standard renderer or :p2d, but not with :p3d.

For reference my deps.edn contains the following dependencies:

{:deps {org.clojure/clojure {:mvn/version "1.10.1"}             
        org.clojure/clojurescript {:mvn/version "1.10.520"}     
        quil/quil {:mvn/version "3.1.0" :exclusions [org.clojure/clojure org.clojure/clojurescript]} 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant