Draw(somethin,colorant'blue'). I want to change colour programmatically and do Draw(somethin, colorant'rgb($(val),$(val),$(val))'). This doesnt work. Nor does concatenation with *. Any ideas
Draw method doesnt interpret colorant properly
Draw(somethin,colorant'blue'). I want to change colour programmatically and do Draw(somethin, colorant'rgb($(val),$(val),$(val))'). This doesnt work. Nor does concatenation with *. Any ideas
Draw method doesnt interpret colorant properly
Copyright © 2021 Jogjafile Inc.
The
colorantstring macro comes from the packageColors. If you do not know how to do something in Julia try firstdump:You can see that
colorant"blue"just created anRGBobject. Let's see how one can be constructed:So let's see if we learnt how to construct colors: