-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
should we consider adding a push() + pop() that simply mirrors our existing pushMatrix() and popMatrix()? P5js, switched to that style (…) would make the new ability of easily porting code from P5js thanks to the b-less upgrade that much smoother.
I think it's a good idea, but at the same time, I would not want to clutter our reference.
So here is a suggestion: How about we just implement push()
and pop()
into the code as simple wrappers, but just have pushMatrix()
and popMatrix()
in the docs and tutorials.
That way we have the both of best worlds: an official "suggested way", uncluttered docs, but code pasted over from p5.js still works.