You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The windowRatio() method and its associated variables rwidth, rheight, rmouseX, rmouseY are demonstrated in the release notes for Processing 4.0 beta 7 with the code below but we don't yet have an example built-in.
Yeah, and that one is more of a “testing” thing that I was using to demonstrate what was going on.
Also need to note in the (eventual) documentation that it works for most things or at least lots of things, but there are definitely exceptions.
For instance, the sketch that Dan was using on Coding Train this week was like a perfect example of the worst kind of code to adapt this way. :) Not only is it 3D, which can be funky to get right, it also sets up its own camera/project using ortho(), which would need special care as well.
The
windowRatio()
method and its associated variablesrwidth
,rheight
,rmouseX
,rmouseY
are demonstrated in the release notes for Processing 4.0 beta 7 with the code below but we don't yet have an example built-in.The text was updated successfully, but these errors were encountered: