# Working on a Processing library/program to store all my most used/fav functions

**URL:** <https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481>\
**Category:** Gallery\
**Created:** [November 14, 2019, 9:32am UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481 "2019-11-14T09:32:54Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [September 19, 2020, 2:42am UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481/22 "2020-09-19T02:42:56Z")

</div>

Ive now added a simple image viewer and processor. This can also handle webcam input.

ive added a file and folder loader to process files in desired folders.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/8df8d5cbe58b5e7d8fda45401008942a0efb1a6d.png)

a dockable tab class to handle gui elements. Note the elements bottom left which correspond to the panels in the program and can be toggle on or off, once program is loaded to minimise space.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/2b6aca1a966125a300a02b225f13491b1b34b286.png)

The workflow tab is now a text editor which can take your input and send it the program to run the functions you specify using java reflections.

This was inspired by my last interaction with Noel, as I saw that its time consuming to have to reload the sketch everytime you want to try a different function.

This functionality is currently very basic at the moment, and the text editor needs some work, especialy the key repeat rate which I was having some issues with, and also needs to have a cut functionality although paste currently works fine.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/24d701e13f7e8f4bebab2b039825f17ca24e0177.png)  
output is calculated on run, multiple functions can be called in the worflow at once, and providing that the parameters passed through are correct it should return no error;

Just adding sliders now so that parameters in the workflow can be amended once the workflow is created, and therefore different thresholds can be handled by the different functions

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [September 19, 2020, 7:00am UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481/23 "2020-09-19T07:00:45Z")

</div>

Until now I’ve extracted pieces of your code to run, but today I downloaded the whole zip and tried to run the sketch\_191112a sketch, but that throws up a lot of errors. How is it supposed to work?

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [September 19, 2020, 1:26pm UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481/24 "2020-09-19T13:26:33Z")

</div>

Not sure it was working fine at the time of posting although I did not check the github download. I shall reuplod and verify later tonight.

---

<div class="post-metadata">

**Author:** ![raron](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/raron/32/13651_2.png) [@raron](https://discourse.processing.org/u/raron)\
**Post date:** [September 19, 2020, 3:36pm UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481/25 "2020-09-19T15:36:50Z")

</div>

I also got some missing libraries. After adding the “Sound” and “Video” libraries (just a guess) from The Processing Foundation (Processing IDE - Add tool - libraries), I got rid of them. But I got a new error: “Duplicate nested type Button”.

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [September 19, 2020, 8:57pm UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481/26 "2020-09-19T20:57:01Z")

</div>

I think I still dont quite understand how to use github and when I upload folders, it adds files with the same name.  
So I’ve deleted the repo then remade it, project is now downloadable.  
Only thing missing is the mnist dataset files but theyre not necessary and can be downloaded manually. They would live in the data folder.

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [September 20, 2020, 4:19am UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481/27 "2020-09-20T04:19:35Z")

</div>

> [@paulgoux](#):
>
> , project is now downloadable.

> [@\[SOURCE CODE + ARTICLE\] Localized Attraction Repulsion particle system](https://discourse.processing.org/t/source-code-article-localized-attraction-repulsion-particle-system/23003/2):
>
> You should create a release tag so it’s easier to download the whole sketch: label[GitHub.com/bcrespy/LocalizedAttractionRepulsion/releases](http://GitHub.com/bcrespy/LocalizedAttractionRepulsion/releases)

- [Releases · paulgoux/project · GitHub](http://GitHub.com/paulgoux/project/releases)

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [September 20, 2020, 6:58pm UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481/28 "2020-09-20T18:58:55Z")

</div>

Let me guys know what improvements you would like to see.

[Previous page](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481.md?page=1)
