[PShape] Using disableStyle, scale, and translate.

20 views
Skip to first unread message

Boris Kourtoukov

unread,
Jan 21, 2016, 5:52:35 PM1/21/16
to clj-processing
I am trying to convert a processing sketch I have, I am loading and manipulating some SVG images.

I am not sure how to translate the various methods on PShape: https://processing.org/reference/ I looked here but there is only loading at the moment: http://quil.info/api/shape/loading-and-displaying

Primarily I need to call shape.disableStyle() on the shape I get back from q/load-shape.

Whats the best way to go about this?

Thanks!

Nikita Beloglazov

unread,
Jan 21, 2016, 6:48:34 PM1/21/16
to clj-processing
Hi Boris

I think the only way to do it now is to use java interop. See related issue: https://github.com/quil/quil/issues/165

Thanks,
Nikita

--
You received this message because you are subscribed to the Google Groups "clj-processing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clj-processin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Boris Kourtoukov

unread,
Jan 21, 2016, 6:51:04 PM1/21/16
to clj-processing
Thanks, I'll dig into the interop.

Best,
Boris
Reply all
Reply to author
Forward
0 new messages