Which area of the website does this enhancement relate to?
Reference
Describe the enhancement
I propose for the shapeMode() reference page to include the information that when a PShape object is a GROUP it will not be affected by the shapeMode() drawing mode and will always be drawn from the "internal" origin of the shape. I think this behavior should not change.
Tentative/suggested addition:
Shape mode will not affect the drawing of GROUP PShape objects.
Why is this enhancement important?
I believe other users might be surprised by this behavior, as I was, and seek clarification at the reference documentation, which could have a note about it.
I wonder if someone could confirm this is true for all GROUP shapes? If it is not the behavior for all groups, how to differentiate and predict the behavior? If this behavior is found to be incorrect, a bug, could we have an ORIGIN mode to trigger exactly this behavior on GROUPS?
I found out about this behavior because py5 generates GROUP shapes when converting from external geometry sources. Ref: py5coding/py5generator#623
That's a good question. I don't know. Can you come up with ideas for me to test? Other ways of producing GROUP shapes?
Something that worried me the other day was that maybe not only groups... some other custom shape a friend made also didn't get affected... but I didn't have the focus to test. I wonder if shapeMode() only affects externally loaded groups or something weird.
Activity
SableRaf commented on Jul 17, 2025
Hi @villares and thanks for reporting this, were you able to confirm whether this affect all GROUP shapes?
villares commented on Jul 17, 2025
That's a good question. I don't know. Can you come up with ideas for me to test? Other ways of producing GROUP shapes?
Something that worried me the other day was that maybe not only groups... some other custom shape a friend made also didn't get affected... but I didn't have the focus to test. I wonder if shapeMode() only affects externally loaded groups or something weird.