# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=372

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 373

---

## [New here and in need of help!](https://discourse.processing.org/t/new-here-and-in-need-of-help/19079)

<div class="topic-metadata">

**Author:** [@NiteOwl](https://discourse.processing.org/u/NiteOwl)\
**Replies:** 11\
**Last updated:** [April 1, 2020, 3:18pm UTC](https://discourse.processing.org/t/new-here-and-in-need-of-help/19079 "2020-04-01T15:18:29Z")

</div>

Hello to whomever might read this. I am a coder and have been for 40 years of coding experience but mostly programs written on my own. I love to work in the processing language but I do have my limits which is why I am h…

---

## [Hey Teachers: Code in Place](https://discourse.processing.org/t/hey-teachers-code-in-place/19286)

<div class="topic-metadata">

**Author:** [@mcintyre](https://discourse.processing.org/u/mcintyre)\
**Replies:** 0\
**Last updated:** [April 1, 2020, 2:04pm UTC](https://discourse.processing.org/t/hey-teachers-code-in-place/19286 "2020-04-01T14:04:55Z")

</div>

Hi! Stanford is putting together a free online course, Code in Place, that might be of interest. Here is a quick summary from the announcement: The time of COVID-19 has been difficult for many people around the world, …

---

## [Problems with .svg libraries](https://discourse.processing.org/t/problems-with-svg-libraries/19206)

<div class="topic-metadata">

**Author:** [@CheckschDa](https://discourse.processing.org/u/CheckschDa)\
**Replies:** 3\
**Last updated:** [April 1, 2020, 2:03pm UTC](https://discourse.processing.org/t/problems-with-svg-libraries/19206 "2020-04-01T14:03:58Z")

</div>

Hello I’m having some Problems withe the .svg library. I wanted to write a little code, which should export 15 .svg files. But its only exporting the last one. Is my Code broken or is the .svg exporter not able to expor…

---

## [How to get distance from a line](https://discourse.processing.org/t/how-to-get-distance-from-a-line/19215)

<div class="topic-metadata">

**Author:** [@Cybernet](https://discourse.processing.org/u/Cybernet)\
**Replies:** 5\
**Last updated:** [April 1, 2020, 1:56pm UTC](https://discourse.processing.org/t/how-to-get-distance-from-a-line/19215 "2020-04-01T13:56:21Z")

</div>

So I have a line in my code. And a object moves alongside it. How can I say that if the object more than 50 pixels away from the line, then move the object. If the object is less than 50 pixels away from the line, then m…

---

## [Is text align local?](https://discourse.processing.org/t/is-text-align-local/19158)

<div class="topic-metadata">

**Author:** [@Cybernet](https://discourse.processing.org/u/Cybernet)\
**Replies:** 6\
**Last updated:** [April 1, 2020, 10:20am UTC](https://discourse.processing.org/t/is-text-align-local/19158 "2020-04-01T10:20:22Z")

</div>

So if I put textAlign(LEFT) inside a function, will it only be that function, or the entire code? void Function() { textAlign(LEFT); }

---

## [Error: ArrayIndexOutOfBoundsException: -1](https://discourse.processing.org/t/error-arrayindexoutofboundsexception-1/19267)

<div class="topic-metadata">

**Author:** [@Sofia8425](https://discourse.processing.org/u/Sofia8425)\
**Replies:** 2\
**Last updated:** [April 1, 2020, 7:38am UTC](https://discourse.processing.org/t/error-arrayindexoutofboundsexception-1/19267 "2020-04-01T07:38:56Z")

</div>

I am trying to code a snake game. This isn’t the finished version, but I am already cluless. When I try to run it this error appears: ArrayIndexOutOfBoundsException: -1 Could not run the sketch (Target VM failed to ini…

---

## [Fixed Filter Bank Neural Networks again](https://discourse.processing.org/t/fixed-filter-bank-neural-networks-again/19274)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 0\
**Last updated:** [April 1, 2020, 3:21am UTC](https://discourse.processing.org/t/fixed-filter-bank-neural-networks-again/19274 "2020-04-01T03:21:09Z")

</div>

I did a JS version of the fixed filter bank neural network. You keep the neural network weights fixed (by using a fast transform for them) and adjust the non-linear activation functions instead: View: https://editor.p…

---

## [How to add circle in the code as noise](https://discourse.processing.org/t/how-to-add-circle-in-the-code-as-noise/19111)

<div class="topic-metadata">

**Author:** [@firetryer](https://discourse.processing.org/u/firetryer)\
**Replies:** 2\
**Last updated:** [April 1, 2020, 2:31am UTC](https://discourse.processing.org/t/how-to-add-circle-in-the-code-as-noise/19111 "2020-04-01T02:31:52Z")

</div>

---

## [Instance Mode - calling other sketches](https://discourse.processing.org/t/instance-mode-calling-other-sketches/18893)

<div class="topic-metadata">

**Author:** [@meh](https://discourse.processing.org/u/meh)\
**Replies:** 3\
**Last updated:** [March 24, 2020, 12:29pm UTC](https://discourse.processing.org/t/instance-mode-calling-other-sketches/18893 "2020-03-24T12:29:46Z")

</div>

Hello, I wanted to know if this is possible. I want to be able to call others sketches back and forth. For instance for simplicity I created 2 sketches when i click on Sketch2 it will show that sketch now in this sketc…

---

## [ReverseCatastrophe - interactive poem //time triggered mic-in-recording&playback](https://discourse.processing.org/t/reversecatastrophe-interactive-poem-time-triggered-mic-in-recording-playback/19268)

<div class="topic-metadata">

**Author:** [@p5ooopsi](https://discourse.processing.org/u/p5ooopsi)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 9:52pm UTC](https://discourse.processing.org/t/reversecatastrophe-interactive-poem-time-triggered-mic-in-recording-playback/19268 "2020-03-31T21:52:50Z")

</div>

Reverse catastrophe Times seem to be a catastrophe - but that only depends on how we look at the current situation. I´d like to reverse the ongoing pessimism with an interactive reverse-poem (like this one). I prototyp…

---

## [2D Topographical Map](https://discourse.processing.org/t/2d-topographical-map/19260)

<div class="topic-metadata">

**Author:** [@heatmiser](https://discourse.processing.org/u/heatmiser)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 6:41pm UTC](https://discourse.processing.org/t/2d-topographical-map/19260 "2020-03-31T18:41:42Z")

</div>

Hi, I’m very new to Processing. I’m looking to create a small square plot that has contour lines like the 2D topographical map shown in the image below. How would I go about doing this? Thanks.

---

## [createFolderInput()?](https://discourse.processing.org/t/createfolderinput/19262)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 8:52pm UTC](https://discourse.processing.org/t/createfolderinput/19262 "2020-03-31T20:52:09Z")

</div>

p5.js has a function called createFileInput(), is there a way to do a similar thing with folders?

---

## [Problem Plotting Using Grafica & serialEvent()](https://discourse.processing.org/t/problem-plotting-using-grafica-serialevent/19005)

<div class="topic-metadata">

**Author:** [@atomo](https://discourse.processing.org/u/atomo)\
**Replies:** 7\
**Last updated:** [March 31, 2020, 6:21pm UTC](https://discourse.processing.org/t/problem-plotting-using-grafica-serialevent/19005 "2020-03-31T18:21:11Z")

</div>

Hello, this is my first post. I’ve used Arduino for a couple of years now but I am new to processing. I’m trying to create a fixture that turns a stepper motor with an Arduino while simultaneously reads the torque output…

---

## [oscP5 error handling, if client is connected](https://discourse.processing.org/t/oscp5-error-handling-if-client-is-connected/19242)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 5:32pm UTC](https://discourse.processing.org/t/oscp5-error-handling-if-client-is-connected/19242 "2020-03-31T17:32:34Z")

</div>

Hello, i want to get some info about connecting to server, if is client connected, how to get it ? import oscP5.\*; OscP5 oscP5tcpClient; void setup() { size(600, 360); oscP5tcpClient = new OscP5(this, "127.0.0…

---

## [Friendly Error System GSoC '20 Proposal Draft Review](https://discourse.processing.org/t/friendly-error-system-gsoc-20-proposal-draft-review/19249)

<div class="topic-metadata">

**Author:** [@bhavsar](https://discourse.processing.org/u/bhavsar)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 3:13pm UTC](https://discourse.processing.org/t/friendly-error-system-gsoc-20-proposal-draft-review/19249 "2020-03-31T15:13:44Z")

</div>

Hello everyone, I know this is really late, but it’d be really great if you could share few words about my GSoC proposal. Thank you! @lmccart @saberkhan

---

## [Proposal drafted (According to given guidelines) Please review](https://discourse.processing.org/t/proposal-drafted-according-to-given-guidelines-please-review/19044)

<div class="topic-metadata">

**Author:** [@TheShubham99](https://discourse.processing.org/u/TheShubham99)\
**Replies:** 3\
**Last updated:** [March 31, 2020, 2:16pm UTC](https://discourse.processing.org/t/proposal-drafted-according-to-given-guidelines-please-review/19044 "2020-03-31T14:16:39Z")

</div>

I have drafted my proposal according to guidelines please have a look. Regards, Prathamesh :slight\_smile: shubham.1971999@gmail.com

---

## [Draft Proposal for Creating p5 music examples, GSoC 2020](https://discourse.processing.org/t/draft-proposal-for-creating-p5-music-examples-gsoc-2020/19119)

<div class="topic-metadata">

**Author:** [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 1:28pm UTC](https://discourse.processing.org/t/draft-proposal-for-creating-p5-music-examples-gsoc-2020/19119 "2020-03-31T13:28:04Z")

</div>

Greetings, I have made a draft proposal for the project Creating p5 music examples. I’d be grateful if someone could review my proposal and suggest the required edits. Here is the link for the same. @luisa I’d also l…

---

## [Add advertising to apk](https://discourse.processing.org/t/add-advertising-to-apk/19192)

<div class="topic-metadata">

**Author:** [@kobz](https://discourse.processing.org/u/kobz)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 12:49pm UTC](https://discourse.processing.org/t/add-advertising-to-apk/19192 "2020-03-31T12:49:25Z")

</div>

Hi every one, Can any one know or have a software to add advertising to a finale APK (developed by me). This last, mean that I have the generated apk and I wish to add banner or intersitiel advertissment easily without …

---

## [How to make every drawing scale if canvas size is changed](https://discourse.processing.org/t/how-to-make-every-drawing-scale-if-canvas-size-is-changed/18697)

<div class="topic-metadata">

**Author:** [@Dan99](https://discourse.processing.org/u/Dan99)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 12:42pm UTC](https://discourse.processing.org/t/how-to-make-every-drawing-scale-if-canvas-size-is-changed/18697 "2020-03-31T12:42:58Z")

</div>

I’m very new to coding and was wondering how i could change this code to scale if the canvas size was to change. I know its not the nicest or cleanest code but it works for how I understand it currently. void setup() {…

---

## [Proposal Review for Library Management Project](https://discourse.processing.org/t/proposal-review-for-library-management-project/19241)

<div class="topic-metadata">

**Author:** [@aldrinJ](https://discourse.processing.org/u/aldrinJ)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 12:42pm UTC](https://discourse.processing.org/t/proposal-review-for-library-management-project/19241 "2020-03-31T12:42:47Z")

</div>

Hi everyone,I would love to work on the implementation of Library Management project for GSoC this year. Kindly take a look at my draft proposal and give some reviews and suggestions.

---

## [Final Proposal for GSoC, Development of showcase](https://discourse.processing.org/t/final-proposal-for-gsoc-development-of-showcase/19243)

<div class="topic-metadata">

**Author:** [@riteshsp2000](https://discourse.processing.org/u/riteshsp2000)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 11:29am UTC](https://discourse.processing.org/t/final-proposal-for-gsoc-development-of-showcase/19243 "2020-03-31T11:29:54Z")

</div>

@lmccart Hey, This is my final proposal for this project. I have made a considerable number of changes. It would be great if you could go through it once, not necessarily now anytime would be good. Thank you! Proposal …

---

## [Make a shoot function](https://discourse.processing.org/t/make-a-shoot-function/19235)

<div class="topic-metadata">

**Author:** [@rune](https://discourse.processing.org/u/rune)\
**Replies:** 8\
**Last updated:** [March 31, 2020, 11:23am UTC](https://discourse.processing.org/t/make-a-shoot-function/19235 "2020-03-31T11:23:45Z")

</div>

Trying to make a copy of space invaders, it’s purely for fun but now i’ve used quite a while trying to make the shoot function work proberly. The problem is that my “bullet” disapears after i move my player, due to the f…

---

## [Gsoc draft proposal 2020](https://discourse.processing.org/t/gsoc-draft-proposal-2020/19237)

<div class="topic-metadata">

**Author:** [@devashish](https://discourse.processing.org/u/devashish)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 9:06am UTC](https://discourse.processing.org/t/gsoc-draft-proposal-2020/19237 "2020-03-31T09:06:37Z")

</div>

here is my draft proposal for codeslang @lmccart @jeremydouglass please review

---

## [Java quits when using Capture](https://discourse.processing.org/t/java-quits-when-using-capture/19155)

<div class="topic-metadata">

**Author:** [@TimoL](https://discourse.processing.org/u/TimoL)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 10:41am UTC](https://discourse.processing.org/t/java-quits-when-using-capture/19155 "2020-03-31T10:41:52Z")

</div>

I’m trying to use Capture to get my MacbookPro’s webcam. Even following a basic tutorial gives me this same error that I don’t understand. If I try to run the sketch again I get this prompt: “The last time you opened j…

---

## [Cloud Animation - Processing Basics](https://discourse.processing.org/t/cloud-animation-processing-basics/19216)

<div class="topic-metadata">

**Author:** [@Dan99](https://discourse.processing.org/u/Dan99)\
**Replies:** 4\
**Last updated:** [March 31, 2020, 8:27am UTC](https://discourse.processing.org/t/cloud-animation-processing-basics/19216 "2020-03-31T08:27:42Z")

</div>

Need help, would love to call or share screen of discord with someone who is willing to lend a hand! I would like to be taught how to Click and drag clouds one at a time. constrained to above horizon. when another c…

---

## [GSoC 2020 proposal draft review](https://discourse.processing.org/t/gsoc-2020-proposal-draft-review/19226)

<div class="topic-metadata">

**Author:** [@yinhwa](https://discourse.processing.org/u/yinhwa)\
**Replies:** 4\
**Last updated:** [March 31, 2020, 7:58am UTC](https://discourse.processing.org/t/gsoc-2020-proposal-draft-review/19226 "2020-03-31T07:58:05Z")

</div>

Hi everone, I know this is really a last moment :sweat\_smile:, but I’d appreciate any kinds of comments on my draft proposal before the submission! Thank you!

---

## [How do I save this as a video, without background?](https://discourse.processing.org/t/how-do-i-save-this-as-a-video-without-background/19174)

<div class="topic-metadata">

**Author:** [@noa\_noa](https://discourse.processing.org/u/noa_noa)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 7:57am UTC](https://discourse.processing.org/t/how-do-i-save-this-as-a-video-without-background/19174 "2020-03-31T07:57:20Z")

</div>

This is My code (where do i add the saveFrames()? or what do I add?: void setup() { background(600); size(800, 800); } void draw() { background(255); stroke(0); strokeWeight(1.4); scale(0.8); translat…

---

## [Shader displaying glitchy](https://discourse.processing.org/t/shader-displaying-glitchy/19134)

<div class="topic-metadata">

**Author:** [@opheliagame](https://discourse.processing.org/u/opheliagame)\
**Replies:** 4\
**Last updated:** [March 31, 2020, 5:09am UTC](https://discourse.processing.org/t/shader-displaying-glitchy/19134 "2020-03-31T05:09:26Z")

</div>

I have written a shader. In VSCode it looks like the one on the right. But on processing, it looks glitchy. Only the bottom left ‘block’ looks clean.

---

## [GSoC proposal draft review (i18n)](https://discourse.processing.org/t/gsoc-proposal-draft-review-i18n/19224)

<div class="topic-metadata">

**Author:** [@wenchen1114](https://discourse.processing.org/u/wenchen1114)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 4:27am UTC](https://discourse.processing.org/t/gsoc-proposal-draft-review-i18n/19224 "2020-03-31T04:27:06Z")

</div>

Hi, I submitted the draft of my proposal, and look forward to get more feedback from community! (Sorry for posting it again, I clicked the wrong button) Here’s the link: Internationalization in p5.js web editor (Chine…

---

## [The\_hand\_of\_time;](https://discourse.processing.org/t/the-hand-of-time/19217)

<div class="topic-metadata">

**Author:** [@semi\_cologne](https://discourse.processing.org/u/semi_cologne)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 2:01am UTC](https://discourse.processing.org/t/the-hand-of-time/19217 "2020-03-31T02:01:42Z")

</div>

I made a clock using a single image of a hand. https://www.youtube.com/watch?v=ztZQ2Ao1qSs

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=371)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=373)
