Why is there no iOS section for P5?

I am learning P5 on my iPad, and was hoping I would find an iOS section where we could share problems and successes.

Answers

  • @rbytes=== iOS is objectiveC, property of Apple, not java...

  • edited November 2016

    this is p5.js = javascript,, not objectiveC

  • Not sure what you mean. Maybe you are not aware that iOS users are able to use P5.js in several ways. 1. With the P5.js app available on the App Store 2. Within smart BASIC, a comprehensive and powerful language that runs on all iOS devices.

    I was hoping I would hear back from a moderator of the Forum.

  • Answer ✓

    The Processing IDE is created using the Java programming language so can be run on machines running either Windows, Osx or Linux and their operating system.

    AFAIK Apple does not support Java on their iOS devices although you should be able to use Javascript.

    BTW koogs is a moderator

  • edited November 2016 Answer ✓

    Just to clarify some aspects of this question from @rbytes :

    "iOS for p5" could mean many things.

    1. develop p5 anywhere, publish to the web, interact with the sketch via iOS browsers (e.g. mobile Safari, mobile Chrome)
    2. develop p5 anywhere, compile to an official iOS app and interact via app
    3. develop p5 in an iOS programming editor or app,

    For #1, an iOS viewable web page with p5, we haven't really needed a special forum section, as mobile browsers aren't substantially different from any other browser -- just ask questions in the p5.js forums about things like touch interaction.

    For #2, an iOS app containing a p5.js sketch, this would be quite difficult because iOS apps are not written using javascript. You would probably need to embed javascript inside a custom iOS app developed in Objective C or Swift using XCode. @rbytes -- I think this explains the responses you got above.

    For #3, using iOS as a p5 development environment (which I believe was your question) iOS dev apps like p5* tend to be very limited for coding in compared to using the official desktop PDE, and they are not developed by the p5 team -- that app says it is by Shinya Fujino, who could give you advice if you are struggling to get things working. If a lot of people all start using that app and are all discussing it in the p5.js forum it might make sense to add a section at that point.

  • Perhaps p5.js should have a "Hardware, Integration & Other Languages" sub too? :-/
    But in order to do so, we'd need to ask a forum administrator. Moderators can't create/delete subs! ^#(^

  • Yes. I also would like to see a Bug Reports section and a Web Issues section. There is a problem with iOS Safari when trying to copy code from Examples that don't contain an Edit button. It is very difficult to drag and highlight a selection when the code isn't Raw, and then when I finally do, the Copy menu does not appear. I would like to see all examples on the P5.js site provided with either an Edit button or a Raw button (a la GitHub). But where on the Forum do I request that?

  • Thanks. I posted a request there.

  • as @jeremydouglass reform the question,

    • develop p5 anywhere, publish to the web, interact with the sketch via iOS browsers (e.g. mobile Safari, mobile Chrome)
    • develop p5 anywhere, compile to an official iOS app and interact via app
    • develop p5 in an iOS programming editor or app,

    For #1. there is a tutorial:

    Making your sketches work on mobile devices http://creative-coding.decontextualize.com/mobile/ Or. an APP: https://itunes.apple.com/us/app/p5*/id1080192373?mt=8

    For #2. there is a hope. PhoneGap

    there was a question about p5 with phoneGap. https://forum.processing.org/two/discussion/12930/p5-js-phonegap-can-it-be-done

    Good news is someone working on it: https://github.com/OhJia/p5Mobile/wiki/Phonegap

    I don't try it, but I will.

    For #3. how about: https://openprocessing.org

  • @goldengrape -- thanks. In particular, I didn't realize that there was a working example of a p5 PhoneGap app for iOS available online.

Sign In or Register to comment.