-
Notifications
You must be signed in to change notification settings - Fork 31
Create a Processing Library (add-on) #8
Comments
I just wanted to mention that i'm working on it. I have been making a base64 encoded and decoder. I know java has one, but I don't like the java libraries (sorry for the negativity here (I do like runway!)). So far I made a Supporting the other formats should be quite easy (jpg, tiff, tga). Later more. |
Hey @clankill3r! That sounds great and perfect timing! We should definitely connect your efforts with what @orgicus has been building. Check out the Processing library thread here: https://runwayml.slack.com/archives/CA6KJNE6N/p1569533452001900?thread_ts=1563545220.109400&cid=CA6KJNE6N We were just discussing moving this conversation to GitHub: https://github.com/runwayml/processing-library |
Hi @cvalenzuela It is not possible to see the slack discussion. |
@clankill3r That sounds great, super aligned with what Cris and I have been working on. Fingers crossed I'll get a chance to cleanup and send PRs this weekend. In the meantime, you can see WIP here: https://github.com/orgicus/processing-library/tree/develop/src/com/runwayml , but it pulled into https://github.com/runwayml/processing-library soon. Regarding Base64 decoding, image(loadImage("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAAAYCAYAAAAVpXQNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25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XB+FoxP3N/5JtwaF+I6Bgus7HDxbAKR2cWU8arkcDlAP1R3j1TWXDCibqlAZIGk7vU22OtefY448Ld3dCN74xpIB1ZBpErRTBcNPVUpmAp4ReB3+UUlPxWohonRL1TTtA3yXB9EXOUQdZqTHEkWoVM0dJiMY1zHYblooHqo+hxMT8RPNzT5lVM4n6z36qHexFeZ/Nmer1tQEaXqzAiRK9Wdu56pFATZMVw9nIdZzbVp+XVIGuqdbmL8k4zHxymuSmlZUPsErZj1hAN2OmDbszWLgdPbVnJXrWQoEoVfhrBK2u3Hz/Z8FxDnSkGjja5RZg8XjGdlPKczXMOCaMDRtAP6tzenTo2WUyjfHyO+hPZCKK+IHnupfvA6qum9GMUrra6G53mt7Ddhqhl0hiXTTv/e8ESGjCPq1NtmaiYL5/3PL9V7X/G/MnQverMAUK1Zprx4PpXxM75pAP2M7zP+CDAA39ndLOWkvxoAAAAASUVORK5CYII="),0,0); It doesn't do encoding as far as I know though. I do agree with not bloating library with many dependency jars, which is why I dropped Apache Commons Codecs library for the built-in I do see the point of simply having another tab with a single Runway java class (a-la fadecandy as an example) but for beginners there are a couple of nice things with the .jar version:
and the point of Processing libraries is to further simplify integration. On the development side it also allows the use of an IDE (eclipse in this case) with better features than the Processing editor and short simple easy to maintain snippets of code can be organised in multiple files as opposed to a potentially harder to maintain monolithic single text file. I did add okhttp as a dependency though and may add a socket.io one later. |
I get "This invite link is no longer active.", maybe someone else took it.
Or it expired?
Could you invite [email protected]?
Op vr 27 sep. 2019 om 15:36 schreef Cristóbal Valenzuela <
[email protected]>:
… @clankill3r <https://github.com/clankill3r>, here's a link to join the
slack:
https://runwayml.slack.com/join/shared_invite/enQtNTE2MDg0ODY2MTAzLTc4ZGVkMzE2MjljYzM3ZDRlNjkyMjk4NDZjOWU1ZTRjOTA3N2Y1ZjFiNTJkZTAyMWE0MGZiZjdlMTA1NTdiMzc
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=AAFUKWUTNBK6G3Q5S7APWS3QLYD5DA5CNFSM4HIOSHQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7Y5I5I#issuecomment-535942261>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFUKWWMK5VYENAIOGGU2YDQLYD5DANCNFSM4HIOSHQA>
.
|
Sorry about that, not sure what happened. You can join with this new link:
https://runwayml.com/joinslack
…On Sat, Sep 28, 2019 at 13:05 Doeke Wartena ***@***.***> wrote:
I get "This invite link is no longer active.", maybe someone else took it.
Or it expired?
Could you invite ***@***.***?
Op vr 27 sep. 2019 om 15:36 schreef Cristóbal Valenzuela <
***@***.***>:
> @clankill3r <https://github.com/clankill3r>, here's a link to join the
> slack:
>
https://runwayml.slack.com/join/shared_invite/enQtNTE2MDg0ODY2MTAzLTc4ZGVkMzE2MjljYzM3ZDRlNjkyMjk4NDZjOWU1ZTRjOTA3N2Y1ZjFiNTJkZTAyMWE0MGZiZjdlMTA1NTdiMzc
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#8?email_source=notifications&email_token=AAFUKWUTNBK6G3Q5S7APWS3QLYD5DA5CNFSM4HIOSHQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7Y5I5I#issuecomment-535942261
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AAFUKWWMK5VYENAIOGGU2YDQLYD5DANCNFSM4HIOSHQA
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=ACQ5J7NVLSF3E3E7CU7AH6DQL6FGJA5CNFSM4HIOSHQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD726B2A#issuecomment-536207592>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACQ5J7KRWE2XFBTQJOA4VADQL6FGJANCNFSM4HIOSHQA>
.
|
@orgicus I tried But it does not work, also in the processing source code I can't see that it handles base64. |
Instead of repeating the same functions to stream data in and out of Processing ideally, we should have a Runway Processing library that installs and manages all connections and I/O
The text was updated successfully, but these errors were encountered: