Skip to content

Support static mode #2220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 of 17 tasks
sofian opened this issue Sep 29, 2017 · 2 comments
Closed
4 of 17 tasks

Support static mode #2220

sofian opened this issue Sep 29, 2017 · 2 comments

Comments

@sofian
Copy link

sofian commented Sep 29, 2017

Nature of issue?

  • Found a bug
  • Existing feature enhancement
  • New feature request

Most appropriate sub-area of p5.js?

  • Color
  • Core
  • Data
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Which platform were you using when you encountered this?

  • Mobile/Tablet (touch devices)
  • Desktop/Laptop
  • Others (specify if possible)

New feature details:

P5.js does not currently support "static" mode which allows sketches that do not contain functions setup() and draw() to work.

There was a discussion about this on the old repository:
processing/p5.js-editor#104

Static mode is an interesting feature when introducing students to Processing. I wonder if it would even be possible to make it work but I'd be happy to give it a try if this is something you believe would be a benefit. I personally feel it makes many students feel like it is an empowering feature tof Processing especially for beginners, as it allows to build confidence early on. I usually begin my classes with an empty sketch and show them that this still produces a gray-background canvas, and we build from there.

@lmccart
Copy link
Member

lmccart commented Sep 29, 2017

yes, a good point. we also discussed it at length here and here. as of now we would like to stick by the decision not to support non-setup/draw mode, but an issue could be opened on the forthcoming web editor if this is of interest.

@sofian
Copy link
Author

sofian commented Sep 29, 2017

Thanks. I have opened an issue on P5.js editor: processing/p5.js-web-editor#448

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants