[pstricks] pst-marble Colors Array and uniform-drops

Juergen Gilg gilg at acrotex.net
Thu Feb 7 14:38:29 CET 2019


Dear Joel,

many thanks for the report.

This will be fixed within the next version. Until then, please use 
rgb/RGB for the uniform-drops like:

\psMarble[viscosity=-1000,
   colors={[70 139 67][16 46 23][227 223 171][212 186 65]
  % (468b43) (102e17) (e3dfab) (d4ba41)
  },
   actions={
     0 0 35 colors 35 concentric-rings
     0 0 1000 1000 0 colors 3 20 uniform-drops
     }
   ]

There is a nice color converter:

https://www.rapidtables.com/convert/color/hex-to-rgb.html

Best regards,

Jürgen

Am 07.02.2019 um 13:16 Uhr schrieb Joel C. Salomon:
>
> I really like the new feature in pst-marble 1.2 which allows colors to 
> be specified in hexadecimal. However, if I set up the array like this:
>
>     \psMarble[viscosity=-1000,
>       colors={(468b43) (102e17) (e3dfab) (d4ba41)},
>       actions={
>         0 0 35 colors 35 concentric-rings
>     %    0 0 1000 1000 0 colors 3 20 uniform-drops
>         }
>       ]
>
> then although the concentric-rings works, uncommenting the 
> uniform-drops line causes a Ghostscript error.
>
> —Joel C. Salomon
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/

-- 
Jürgen Gilg
Austr. 59
70376 Stuttgart

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20190207/a2960d6b/attachment.html>


More information about the PSTricks mailing list