# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=211

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

**Page:** 212

---

## [Doesn't the 'IPCAPTURE' library sound CCTV?](https://discourse.processing.org/t/doesnt-the-ipcapture-library-sound-cctv/20269)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 9:13pm UTC](https://discourse.processing.org/t/doesnt-the-ipcapture-library-sound-cctv/20269 "2020-05-10T21:13:56Z")

</div>

Good morning. I have a question. Doesn’t the ‘IPCAPTURE’ library sound CCTV? If you look at the video, COMPUTER: RTSP protocol Smartphone: MJPEG (import ipcapture. \*:wink: PC(Computer) → VIDEO, SOUND …

---

## ["Create font" not find new font](https://discourse.processing.org/t/create-font-not-find-new-font/18006)

<div class="topic-metadata">

**Author:** [@Naik\_Trofimov](https://discourse.processing.org/u/Naik_Trofimov)\
**Replies:** 6\
**Last updated:** [May 10, 2020, 8:48pm UTC](https://discourse.processing.org/t/create-font-not-find-new-font/18006 "2020-05-10T20:48:22Z")

</div>

Downloaded new and install new ttf font, but processing dont see he! Haw I do using .ttf font in processing? and: image|690x475 and:

---

## [Can you help me understand why b = null in draw function is incorrect](https://discourse.processing.org/t/can-you-help-me-understand-why-b-null-in-draw-function-is-incorrect/20713)

<div class="topic-metadata">

**Author:** [@Arsenii](https://discourse.processing.org/u/Arsenii)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 7:34pm UTC](https://discourse.processing.org/t/can-you-help-me-understand-why-b-null-in-draw-function-is-incorrect/20713 "2020-05-10T19:34:43Z")

</div>

Can you help me understand why b = null in draw function is incorrect import java.util.List; import java.util.ArrayList; spaceShip ship; boolean left = false; boolean right = false; boolean forward = false; int maxQu…

---

## [Help with updating variable for tank game](https://discourse.processing.org/t/help-with-updating-variable-for-tank-game/20645)

<div class="topic-metadata">

**Author:** [@Pepbaggen](https://discourse.processing.org/u/Pepbaggen)\
**Replies:** 3\
**Last updated:** [May 10, 2020, 3:47pm UTC](https://discourse.processing.org/t/help-with-updating-variable-for-tank-game/20645 "2020-05-10T15:47:27Z")

</div>

Hi! I’m new to the platform but i have a question… Sorry for all the Dutch ‘variable-names’, however, i hope you will understand. I want to tilt my tank gun, and the value ‘schiethoek, (angle)’ changes. So the ball’s ve…

---

## [I have questions about visualization data](https://discourse.processing.org/t/i-have-questions-about-visualization-data/20648)

<div class="topic-metadata">

**Author:** [@ranaulubas](https://discourse.processing.org/u/ranaulubas)\
**Replies:** 3\
**Last updated:** [May 10, 2020, 3:41pm UTC](https://discourse.processing.org/t/i-have-questions-about-visualization-data/20648 "2020-05-10T15:41:47Z")

</div>

this is a study that I have done using the data of two different months to visualize this data, I want to fill in between these two different data, but I have not been successful in this matter. I have something wrong wi…

---

## [Processing text shifting issue](https://discourse.processing.org/t/processing-text-shifting-issue/20307)

<div class="topic-metadata">

**Author:** [@some](https://discourse.processing.org/u/some)\
**Replies:** 17\
**Last updated:** [April 30, 2020, 5:45pm UTC](https://discourse.processing.org/t/processing-text-shifting-issue/20307 "2020-04-30T17:45:12Z")

</div>

Hi i have issue with text() command here is a sorce code //Ascii Video Player String\[\] video; int heig,widt; int d; int textSizes=7; void setup(){ size(800,600); video = lo…

---

## [Realtime Slider-style controls in Processing](https://discourse.processing.org/t/realtime-slider-style-controls-in-processing/20708)

<div class="topic-metadata">

**Author:** [@n055](https://discourse.processing.org/u/n055)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 11:22am UTC](https://discourse.processing.org/t/realtime-slider-style-controls-in-processing/20708 "2020-05-10T11:22:33Z")

</div>

I LOVE the createSlider() DOM functionality in p5js. In fact, I have been using p5js over Processing for the past few months, almost exclusively for the simplicity of creating a slider on the fly. Zero effort. I almost a…

---

## [Connecting Mindstorm Lego roboter](https://discourse.processing.org/t/connecting-mindstorm-lego-roboter/20354)

<div class="topic-metadata">

**Author:** [@kanktonk](https://discourse.processing.org/u/kanktonk)\
**Replies:** 10\
**Last updated:** [May 10, 2020, 7:55am UTC](https://discourse.processing.org/t/connecting-mindstorm-lego-roboter/20354 "2020-05-10T07:55:07Z")

</div>

Hi im an art student from gemany and im working on a project with processing. I have a mistake in my code and I can t figure out how to solve it. If you have any advice it would save me a lot of time. I try to connect…

---

## [My text only appears for less than half a second](https://discourse.processing.org/t/my-text-only-appears-for-less-than-half-a-second/20701)

<div class="topic-metadata">

**Author:** [@anklesatrisk](https://discourse.processing.org/u/anklesatrisk)\
**Replies:** 1\
**Last updated:** [May 10, 2020, 6:01am UTC](https://discourse.processing.org/t/my-text-only-appears-for-less-than-half-a-second/20701 "2020-05-10T06:01:02Z")

</div>

My text only appears as soon as I press the button of which it’s supposed to run, but it only appears for less than a second. my code: int userNumber; float MyNumber = random (1, 10); int Guesses = 0; void setup() { …

---

## [Youtube API with Processing](https://discourse.processing.org/t/youtube-api-with-processing/17051)

<div class="topic-metadata">

**Author:** [@iobotic](https://discourse.processing.org/u/iobotic)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 2:11am UTC](https://discourse.processing.org/t/youtube-api-with-processing/17051 "2020-05-10T02:11:36Z")

</div>

Hello, my name is Hugo, I’m looking for some help! I would like to be able to read the Youtube API, any advice about that? Thanks friends, Best Hugo

---

## [Is it possible to Save sound through the network to a local's computers (smb/cifs)?](https://discourse.processing.org/t/is-it-possible-to-save-sound-through-the-network-to-a-locals-computers-smb-cifs/4317)

<div class="topic-metadata">

**Author:** [@cocolembo](https://discourse.processing.org/u/cocolembo)\
**Replies:** 1\
**Last updated:** [May 10, 2020, 1:44am UTC](https://discourse.processing.org/t/is-it-possible-to-save-sound-through-the-network-to-a-locals-computers-smb-cifs/4317 "2020-05-10T01:44:57Z")

</div>

Hi, I’m a beginner in Processing, here is a code to record an audio from micro input. (from minim library) The sketch allow to record an audio and save it on the computer. I’m trying to record an audio from an comput…

---

## [Interactive Image Rasterization with Mouse](https://discourse.processing.org/t/interactive-image-rasterization-with-mouse/19953)

<div class="topic-metadata">

**Author:** [@anhng2611](https://discourse.processing.org/u/anhng2611)\
**Replies:** 8\
**Last updated:** [May 10, 2020, 1:38am UTC](https://discourse.processing.org/t/interactive-image-rasterization-with-mouse/19953 "2020-05-10T01:38:55Z")

</div>

Hi everyone, I’m pretty new to Processing and I’m trying to create a fun pixelate tool for image. I’ve archived the effect for the image by using this tutorial, which include drawing grids of rectangles using loop and g…

---

## [OSC - realtime display](https://discourse.processing.org/t/osc-realtime-display/20584)

<div class="topic-metadata">

**Author:** [@sanvip](https://discourse.processing.org/u/sanvip)\
**Replies:** 3\
**Last updated:** [May 10, 2020, 1:33am UTC](https://discourse.processing.org/t/osc-realtime-display/20584 "2020-05-10T01:33:40Z")

</div>

Hello Everyone, I am new to processing and I am working on a program to receive data from a third party software through OSC. I can successfully receive OSC messages and print them with the following code. Messages I r…

---

## [SplitTokens strings do not print as text](https://discourse.processing.org/t/splittokens-strings-do-not-print-as-text/20149)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 1\
**Last updated:** [May 10, 2020, 1:30am UTC](https://discourse.processing.org/t/splittokens-strings-do-not-print-as-text/20149 "2020-05-10T01:30:03Z")

</div>

I am receiving 3 different strings and I print them separately based on the first char. All is well till I tried to parse one of strings by token. The newly formed strings will print out but will not show as text . I …

---

## [UI-related stuff](https://discourse.processing.org/t/ui-related-stuff/20692)

<div class="topic-metadata">

**Author:** [@sharmadhruv741](https://discourse.processing.org/u/sharmadhruv741)\
**Replies:** 2\
**Last updated:** [May 9, 2020, 9:57pm UTC](https://discourse.processing.org/t/ui-related-stuff/20692 "2020-05-09T21:57:38Z")

</div>

Hello everybody. I was trying to make a simple, UI-based sketch where I am trying display ascII characters by sifting through them using a ‘slider’. But, I’ve got stuck. Any help? stroke (255); noFill (); rect (re…

---

## [Camera rotation in 3D using mouse](https://discourse.processing.org/t/camera-rotation-in-3d-using-mouse/20563)

<div class="topic-metadata">

**Author:** [@JunQu](https://discourse.processing.org/u/JunQu)\
**Replies:** 7\
**Last updated:** [May 9, 2020, 9:27pm UTC](https://discourse.processing.org/t/camera-rotation-in-3d-using-mouse/20563 "2020-05-09T21:27:55Z")

</div>

I’m working on a personal project, and I want to create a camera that follows a box() around. That is however already done. My problem is, I want the box AND camera to rotate with the mouse. (See; every third person game…

---

## [Urgent Hue and Saturation filter](https://discourse.processing.org/t/urgent-hue-and-saturation-filter/20051)

<div class="topic-metadata">

**Author:** [@IRIGIMA](https://discourse.processing.org/u/IRIGIMA)\
**Replies:** 23\
**Last updated:** [May 9, 2020, 7:52pm UTC](https://discourse.processing.org/t/urgent-hue-and-saturation-filter/20051 "2020-05-09T19:52:42Z")

</div>

As a new user today, I am currently experimenting with Processing to port over some iPhone code for high resolution renderings using the Image buffer For the output (included image) I need to use Hue and Saturation filt…

---

## [Split a circle into 28 parts](https://discourse.processing.org/t/split-a-circle-into-28-parts/20650)

<div class="topic-metadata">

**Author:** [@matildespinheiro](https://discourse.processing.org/u/matildespinheiro)\
**Replies:** 10\
**Last updated:** [May 9, 2020, 7:38pm UTC](https://discourse.processing.org/t/split-a-circle-into-28-parts/20650 "2020-05-09T19:38:34Z")

</div>

Hi, I’m trying to split a circle into 28 parts to look something like this: But I can’t do it. Does someone know how to do it?

---

## [Keep the position when not clicking](https://discourse.processing.org/t/keep-the-position-when-not-clicking/20652)

<div class="topic-metadata">

**Author:** [@matildespinheiro](https://discourse.processing.org/u/matildespinheiro)\
**Replies:** 6\
**Last updated:** [May 9, 2020, 6:37pm UTC](https://discourse.processing.org/t/keep-the-position-when-not-clicking/20652 "2020-05-09T18:37:58Z")

</div>

I’m doing a project that we need to rotate an circular image relativity to the mouse. The circle only moves when we click and drag the hand (mouse). When we are not dragging the mouse the image doesn’t move, which is go…

---

## [A question about droplists in G4P](https://discourse.processing.org/t/a-question-about-droplists-in-g4p/20672)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 1\
**Last updated:** [May 9, 2020, 4:08pm UTC](https://discourse.processing.org/t/a-question-about-droplists-in-g4p/20672 "2020-05-09T16:08:11Z")

</div>

I have a question about the expected behaviour of droplists in G4P. When you create a droplist, you can optionally specify a maximum size (ie, number of items in the list). I want to build several droplists dynamically (…

---

## [Is the a "load all text files in a directory" (\*.txt) function in processing?](https://discourse.processing.org/t/is-the-a-load-all-text-files-in-a-directory-txt-function-in-processing/20507)

<div class="topic-metadata">

**Author:** [@dtools22](https://discourse.processing.org/u/dtools22)\
**Replies:** 4\
**Last updated:** [May 9, 2020, 12:36pm UTC](https://discourse.processing.org/t/is-the-a-load-all-text-files-in-a-directory-txt-function-in-processing/20507 "2020-05-09T12:36:50Z")

</div>

Hello All, I have a more general question. I have a data analysis program I have been working on that takes in .txt files using loadStrings(). Before I run the program I am manually reformatting the names of the .txt …

---

## [Missing Trail of Growing Circle](https://discourse.processing.org/t/missing-trail-of-growing-circle/20659)

<div class="topic-metadata">

**Author:** [@upobir](https://discourse.processing.org/u/upobir)\
**Replies:** 3\
**Last updated:** [May 9, 2020, 11:52am UTC](https://discourse.processing.org/t/missing-trail-of-growing-circle/20659 "2020-05-09T11:52:51Z")

</div>

Hello, I use processing for some hobby drawing. Today while doing such a thing I faced a weird situation. I have a circle that will grow as time passes on, in draw() I did not use any background() call, so this growing c…

---

## [Do G4P GUI controls have to be global variables?](https://discourse.processing.org/t/do-g4p-gui-controls-have-to-be-global-variables/20636)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 2\
**Last updated:** [May 9, 2020, 8:57am UTC](https://discourse.processing.org/t/do-g4p-gui-controls-have-to-be-global-variables/20636 "2020-05-09T08:57:53Z")

</div>

I’m trying to use a GWinData to save data used by a child window. I thought I would be able to declare the controls used by the child window (buttons, droplists, etc.) inside the GWinData object, but it doesn’t seem to w…

---

## [Trying to limit println()](https://discourse.processing.org/t/trying-to-limit-println/20379)

<div class="topic-metadata">

**Author:** [@Adi](https://discourse.processing.org/u/Adi)\
**Replies:** 5\
**Last updated:** [May 3, 2020, 8:23am UTC](https://discourse.processing.org/t/trying-to-limit-println/20379 "2020-05-03T08:23:08Z")

</div>

I am trying to run println(); once in an if statement, the if statement can be true for many frames, but the print(); should only run once. Many thanks, Adi

---

## [Coding question for trecking device](https://discourse.processing.org/t/coding-question-for-trecking-device/20385)

<div class="topic-metadata">

**Author:** [@kanktonk](https://discourse.processing.org/u/kanktonk)\
**Replies:** 0\
**Last updated:** [May 2, 2020, 11:38am UTC](https://discourse.processing.org/t/coding-question-for-trecking-device/20385 "2020-05-02T11:38:05Z")

</div>

Hey I try to use processing together with my old lego mindstorm roboter. I spend a lot of time to research how to combine them and finally found a code online which looked helpfull. But now i get this ERROR can somebody…

---

## [Confused. What can I do after learning Processing ? What could be the benefits of that?](https://discourse.processing.org/t/confused-what-can-i-do-after-learning-processing-what-could-be-the-benefits-of-that/20435)

<div class="topic-metadata">

**Author:** [@anon43149899](https://discourse.processing.org/u/anon43149899)\
**Replies:** 5\
**Last updated:** [May 7, 2020, 8:34pm UTC](https://discourse.processing.org/t/confused-what-can-i-do-after-learning-processing-what-could-be-the-benefits-of-that/20435 "2020-05-07T20:34:38Z")

</div>

This was cross-posted from reddit: https://www.reddit.com/r/girlsgonewired/comments/8l7cp4/thoughts\_on\_coding\_bootcamps/ The cross-post was actually by a spambot, but it was a good discussion so we are leaving it, sans …

---

## [Keeping an ellipse after being drawn](https://discourse.processing.org/t/keeping-an-ellipse-after-being-drawn/20589)

<div class="topic-metadata">

**Author:** [@CanGurbuz](https://discourse.processing.org/u/CanGurbuz)\
**Replies:** 3\
**Last updated:** [May 8, 2020, 4:50pm UTC](https://discourse.processing.org/t/keeping-an-ellipse-after-being-drawn/20589 "2020-05-08T16:50:14Z")

</div>

Hey everyone. I am trying to make a cursor for the map of the game I want to make. I want this cursor of the map like it is in APEX LEGENDS i.e there is a line from the top of the screen to the bottom for your MouseX po…

---

## [Testing embedding](https://discourse.processing.org/t/testing-embedding/20573)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 2\
**Last updated:** [May 8, 2020, 11:09am UTC](https://discourse.processing.org/t/testing-embedding/20573 "2020-05-08T11:09:28Z")

</div>

@jeremydouglass I was verifying if with embedding I could get rid of the zoom problem (When the Device Pixel Aspect Ratio is not exactly 1) But for some reason, the sketch doesn’t work at all here.

---

## [CAN bus library or CAN alternative](https://discourse.processing.org/t/can-bus-library-or-can-alternative/20553)

<div class="topic-metadata">

**Author:** [@jcduino](https://discourse.processing.org/u/jcduino)\
**Replies:** 3\
**Last updated:** [May 8, 2020, 10:25am UTC](https://discourse.processing.org/t/can-bus-library-or-can-alternative/20553 "2020-05-08T10:25:43Z")

</div>

Hello! I need to access a CAN Bus from my processing sketch. I have not found any processing library that can do it. I have tried it with java and I have not found anything either. I have a star topology with different…

---

## [Some sort of memory leak in Game of Life](https://discourse.processing.org/t/some-sort-of-memory-leak-in-game-of-life/20608)

<div class="topic-metadata">

**Author:** [@Hypercube](https://discourse.processing.org/u/Hypercube)\
**Replies:** 2\
**Last updated:** [May 8, 2020, 7:35am UTC](https://discourse.processing.org/t/some-sort-of-memory-leak-in-game-of-life/20608 "2020-05-08T07:35:18Z")

</div>

I am coding the Game of Life. It works but there seems to be some sort of issue with the arrays. They grow to a ridiculous size (try drawing a glider and press R and the sizes will be printed to the console). This is odd…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=210)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=212)
