Hi, The next beta will support this (for mp lovers) \definecolor[maincolor] [r=.5] \definecolor[extracolor] [g=.5] \definecolor[anothercolor][b=.5] \definecolor[morecolor] [s=.8] \startMPpage fill fullcircle scaled 10cm withcolor "maincolor" ; fill fullcircle scaled 9cm withcolor "extracolor" ; fill fullcircle scaled 8cm withcolor complementary "anothercolor" ; fill fullcircle scaled 7cm withcolor complemented "anothercolor" ; fill fullcircle scaled 6cm withcolor "morecolor" randomized 1 ; fill fullcircle scaled 5cm withcolor "morecolor" randomized 1 ; addbackground withcolor .5[resolvedcolor("morecolor"),resolvedcolor("extracolor")] ; \stopMPpage So, in many cases you can use strings instead of \MPcolor{...}. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 27 Jun 2016, at 10:38, Hans Hagen
wrote: The next beta will support this (for mp lovers)
\definecolor[maincolor] [r=.5] \startMPpage fill fullcircle scaled 10cm withcolor "maincolor" ; ...
\stopMPpage
So, in many cases you can use strings instead of \MPcolor{...}.
Thanks. A change making the code imho much more 'attractive' to the eye. Hans van der Meer
participants (2)
-
Hans Hagen
-
Meer, Hans van der