PShape getChild positioning and size behaviour

I posted this as an issue on Github, but maybe someone has an idea or workaround.

I use .svg files with multiple shapes that I would like to give each different colors. That works with getChild. However the problem arrises when scaling the SVG (needed because of later embedding in responsive website). The childs don't resize in Processingjs (it works correctly in Processing itself).

See for code my post on github:

incorrect in Processingjs 1.4.8 processingjs_1-4-8

correct in Processing 2.2.1


Sign In or Register to comment.