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
size() does not appear to work with Processing.R static sketches.
Currently the "hello-processing.R" is an example is what Processing calls a static sketch:
A program written as a list of statements (like the previous examples) is called a static sketch. In a static sketch, a series of functions are used to perform tasks or create a single image without any animation or interaction. Interactive programs are drawn as a series of frames, which you can create by adding functions titled setup() and draw() as shown in the code below. - https://processing.org/tutorials/overview/
Because size() does not work with static sketches, they cannot use 3D (using the P3D OpenGL renderer). For example, here is a static sketch in Processing(Java) showing how box() works:
Supporting size() in Processing.R static sketches will make example code and documentation much more concise -- which will make it easier to read for learners.
The text was updated successfully, but these errors were encountered:
jeremydouglass
changed the title
support static sketches with size
support static sketches with size()
May 12, 2017
size()
does not appear to work with Processing.R static sketches.Currently the "hello-processing.R" is an example is what Processing calls a static sketch:
Because
size()
does not work with static sketches, they cannot use 3D (using the P3D OpenGL renderer). For example, here is a static sketch in Processing(Java) showing howbox()
works:Here is the equivalent sketch in the current Processing.R without static
size()
:Supporting size() in Processing.R static sketches will make example code and documentation much more concise -- which will make it easier to read for learners.
The text was updated successfully, but these errors were encountered: