# Processing

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

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

**Page:** 381

---

## [ProcessBuilder ByteBuffer error](https://discourse.processing.org/t/processbuilder-bytebuffer-error/1799)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 0\
**Last updated:** [July 15, 2018, 9:48pm UTC](https://discourse.processing.org/t/processbuilder-bytebuffer-error/1799 "2018-07-15T21:48:57Z")

</div>

I’ve been playing a game that’s written in Java. I host a custom modified dedicated server for it, which is a java command line program. I’m making a wrapper and GUI for it in processing, which has mostly worked out wel…

---

## [Gap bewteen frame title and top of frame](https://discourse.processing.org/t/gap-bewteen-frame-title-and-top-of-frame/1772)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 4\
**Last updated:** [July 15, 2018, 5:31pm UTC](https://discourse.processing.org/t/gap-bewteen-frame-title-and-top-of-frame/1772 "2018-07-15T17:31:47Z")

</div>

OK, so i have frame.setUndecorated(true); frame.setTitle(“NAME OF PROGRAM”); Also i set frame location to 0,0 on first iteration of draw loop to make sure the frame is orientated to the upper left corner of the displa…

---

## [Rotating Lines Around A circle](https://discourse.processing.org/t/rotating-lines-around-a-circle/1791)

<div class="topic-metadata">

**Author:** [@AnthonyMG](https://discourse.processing.org/u/AnthonyMG)\
**Replies:** 1\
**Last updated:** [July 15, 2018, 4:58pm UTC](https://discourse.processing.org/t/rotating-lines-around-a-circle/1791 "2018-07-15T16:58:26Z")

</div>

Hello, I am trying to rotate 15 lines around the center point of a circle in unison. The lines start at the correct positions, but they rotate at different speeds. Thanks for any help! // GLOBAL VARIABLES final int SUN…

---

## [Retrieve web page from remote browser](https://discourse.processing.org/t/retrieve-web-page-from-remote-browser/1784)

<div class="topic-metadata">

**Author:** [@jorgeeduardojonas](https://discourse.processing.org/u/jorgeeduardojonas)\
**Replies:** 1\
**Last updated:** [July 15, 2018, 4:43pm UTC](https://discourse.processing.org/t/retrieve-web-page-from-remote-browser/1784 "2018-07-15T16:43:20Z")

</div>

Hello! I was wondering if it is possible to “grab” a web page direction from different computers, smartphones, etc. and open in it in a target computer or server computer…Is this possible? Could someone please point me…

---

## [Iterate throw JSON array values](https://discourse.processing.org/t/iterate-throw-json-array-values/1710)

<div class="topic-metadata">

**Author:** [@mloiz](https://discourse.processing.org/u/mloiz)\
**Replies:** 3\
**Last updated:** [July 15, 2018, 2:38pm UTC](https://discourse.processing.org/t/iterate-throw-json-array-values/1710 "2018-07-15T14:38:08Z")

</div>

Hello, I have those JSON data and I would like to iterate throw the lines who stars with 527157\_FacetSep\_ { "response":{"numFound":1587807,"start":0,"docs":\[\] }, "facet\_counts":{ "facet\_queries":{}, "face…

---

## [Unable to install library](https://discourse.processing.org/t/unable-to-install-library/1769)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 1\
**Last updated:** [July 15, 2018, 7:52am UTC](https://discourse.processing.org/t/unable-to-install-library/1769 "2018-07-15T07:52:55Z")

</div>

im using the latest processing … and im a mac user im facing a few problems - my 'add library ’ tool does not work (not for open kinect , nor for other libs) so wen i downloaded open kinect from github and copied it in t…

---

## [Run shader multiple times on an image?](https://discourse.processing.org/t/run-shader-multiple-times-on-an-image/1749)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 3\
**Last updated:** [July 15, 2018, 7:43am UTC](https://discourse.processing.org/t/run-shader-multiple-times-on-an-image/1749 "2018-07-15T07:43:40Z")

</div>

I’d like to run a single shader several times on an image (to build up the effect), but if I stick the basic shader code in a for loop it doesn’t seem to work: for (int i=0; i\<10; i++) { shader(doSomething); image(i…

---

## [Dynamic casting example](https://discourse.processing.org/t/dynamic-casting-example/1775)

<div class="topic-metadata">

**Author:** [@bontempos](https://discourse.processing.org/u/bontempos)\
**Replies:** 2\
**Last updated:** [July 15, 2018, 1:28am UTC](https://discourse.processing.org/t/dynamic-casting-example/1775 "2018-07-15T01:28:38Z")

</div>

I would like some help to understand why casting Object to Object returns true on Output #5 and false on Output #7 if eventually I think both are comparing same object being casted by same class. Thanks you class Test …

---

## [Network Client Always Null](https://discourse.processing.org/t/network-client-always-null/1753)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 9\
**Last updated:** [July 15, 2018, 1:09am UTC](https://discourse.processing.org/t/network-client-always-null/1753 "2018-07-15T01:09:37Z")

</div>

I am trying to make pong online, but the client on the server side is always null. What can I do to fix this? import processing.net.\*; Server pong; int bounceTimer = 0; int startTimer = 165; int score1 = 0; int score2…

---

## [Calculate layers of NEAT](https://discourse.processing.org/t/calculate-layers-of-neat/1763)

<div class="topic-metadata">

**Author:** [@Nath7009](https://discourse.processing.org/u/Nath7009)\
**Replies:** 1\
**Last updated:** [July 14, 2018, 8:48pm UTC](https://discourse.processing.org/t/calculate-layers-of-neat/1763 "2018-07-14T20:48:08Z")

</div>

Hi, I’m trying to do my own implementation of a NEAT using processing, to be able to show my neural network, I have to order the different nodes in layers. The problem is that when I add a new node in the network, the l…

---

## [Trying to Register pressing ALT outside of the application window](https://discourse.processing.org/t/trying-to-register-pressing-alt-outside-of-the-application-window/1758)

<div class="topic-metadata">

**Author:** [@Thealonic](https://discourse.processing.org/u/Thealonic)\
**Replies:** 0\
**Last updated:** [July 14, 2018, 8:51am UTC](https://discourse.processing.org/t/trying-to-register-pressing-alt-outside-of-the-application-window/1758 "2018-07-14T08:51:37Z")

</div>

Currently trying to make a over complicated software to run alongside other software and I’m currrently trying to get something to register colour changes in pixels while holding down a key. However, after trying to figu…

---

## [Earth to move in it's orbit](https://discourse.processing.org/t/earth-to-move-in-its-orbit/1379)

<div class="topic-metadata">

**Author:** [@akash](https://discourse.processing.org/u/akash)\
**Replies:** 9\
**Last updated:** [July 14, 2018, 4:24pm UTC](https://discourse.processing.org/t/earth-to-move-in-its-orbit/1379 "2018-07-14T16:24:01Z")

</div>

I have two ellipse. one is larger ellipse and another is smaller ellipse. i want smaller ellipse to follow the path of the larger ellipse. Your suggestions are needed?. ( i am a beginner).

---

## [Don't understand the camera() function](https://discourse.processing.org/t/dont-understand-the-camera-function/1760)

<div class="topic-metadata">

**Author:** [@MCCreeper8890](https://discourse.processing.org/u/MCCreeper8890)\
**Replies:** 2\
**Last updated:** [July 14, 2018, 12:46pm UTC](https://discourse.processing.org/t/dont-understand-the-camera-function/1760 "2018-07-14T12:46:43Z")

</div>

Hi! I like to use the QueasyCam library for 3D games I develop in this wonderful IDE, it’s useful for first-person camera control, and I basically completely understand its inner workings. However, it uses the camera() f…

---

## [Audio Visualisation](https://discourse.processing.org/t/audio-visualisation/1576)

<div class="topic-metadata">

**Author:** [@rioma7](https://discourse.processing.org/u/rioma7)\
**Replies:** 7\
**Last updated:** [July 13, 2018, 11:47pm UTC](https://discourse.processing.org/t/audio-visualisation/1576 "2018-07-13T23:47:17Z")

</div>

Hi FOLKS… I am super sad because I am struggling a lot with a program I am trying to code it since long…but I cannot figure out how to do it!!! So what I want to do is: When I press the R (keypressed) it records the a…

---

## [What is the right term for this task - blurring or edge smoothing](https://discourse.processing.org/t/what-is-the-right-term-for-this-task-blurring-or-edge-smoothing/1729)

<div class="topic-metadata">

**Author:** [@Han](https://discourse.processing.org/u/Han)\
**Replies:** 1\
**Last updated:** [July 13, 2018, 6:59pm UTC](https://discourse.processing.org/t/what-is-the-right-term-for-this-task-blurring-or-edge-smoothing/1729 "2018-07-13T18:59:30Z")

</div>

I am new to image processing, so please bear with me for this basic question. I have done some searches but still not sure about the best keyword for finding more help. What I want to achieve is this: An image of wood …

---

## [Audio Problem with .app Processing](https://discourse.processing.org/t/audio-problem-with-app-processing/1741)

<div class="topic-metadata">

**Author:** [@KeremTurkyilmaz](https://discourse.processing.org/u/KeremTurkyilmaz)\
**Replies:** 2\
**Last updated:** [July 13, 2018, 5:06pm UTC](https://discourse.processing.org/t/audio-problem-with-app-processing/1741 "2018-07-13T17:06:04Z")

</div>

Hi Guys, I’m trying to make a native App for work, where people can drag the sound file into data folder and run the AudioWaveform.app. The problem is: When I launch for the first time the application it’s works, but …

---

## [Problems with width from class within class](https://discourse.processing.org/t/problems-with-width-from-class-within-class/1742)

<div class="topic-metadata">

**Author:** [@sensn](https://discourse.processing.org/u/sensn)\
**Replies:** 3\
**Last updated:** [July 13, 2018, 5:03pm UTC](https://discourse.processing.org/t/problems-with-width-from-class-within-class/1742 "2018-07-13T17:03:15Z")

</div>

Hello, I’m having problems with getting the correct value for screenwidth using width from a class within a class. I modified the example code that I found on this forum to illustrate the problem. If i call width from …

---

## [Basic Breaking Up of Serial Data](https://discourse.processing.org/t/basic-breaking-up-of-serial-data/1723)

<div class="topic-metadata">

**Author:** [@LokoManiac](https://discourse.processing.org/u/LokoManiac)\
**Replies:** 10\
**Last updated:** [July 13, 2018, 4:41pm UTC](https://discourse.processing.org/t/basic-breaking-up-of-serial-data/1723 "2018-07-13T16:41:51Z")

</div>

Hello, I am working on a project where I am grabbing CAN Bus data from an ECU. I am using an Arduino and a CAN Bus shield, to which I am grabbing the 2 pieces of data I need from the CAN Bus and then sending it over seri…

---

## [Export ubuntu - file don't start](https://discourse.processing.org/t/export-ubuntu-file-dont-start/1703)

<div class="topic-metadata">

**Author:** [@vendarion](https://discourse.processing.org/u/vendarion)\
**Replies:** 6\
**Last updated:** [July 13, 2018, 8:56am UTC](https://discourse.processing.org/t/export-ubuntu-file-dont-start/1703 "2018-07-13T08:56:40Z")

</div>

I used processing for years with windows, but I try now to export some old and new sketchbox with ubuntu. The problem is just: applications doesn’t start and I absolutely don’t know why.

---

## [Shoe insole pressure sensing map](https://discourse.processing.org/t/shoe-insole-pressure-sensing-map/1549)

<div class="topic-metadata">

**Author:** [@m.berlin](https://discourse.processing.org/u/m.berlin)\
**Replies:** 11\
**Last updated:** [July 13, 2018, 2:56am UTC](https://discourse.processing.org/t/shoe-insole-pressure-sensing-map/1549 "2018-07-13T02:56:02Z")

</div>

Hey everyone! I have made a shoe-insole with a pressure sensor array in form of rows and columns and a velostat between both layers. So know my idea is to make a visualized presentation of the insole and to show on the …

---

## [\[SOLVED\] How can I make an include file for my scripts - SOLVED THANKS](https://discourse.processing.org/t/solved-how-can-i-make-an-include-file-for-my-scripts-solved-thanks/1569)

<div class="topic-metadata">

**Author:** [@malcolm\_gc](https://discourse.processing.org/u/malcolm_gc)\
**Replies:** 3\
**Last updated:** [July 7, 2018, 7:05am UTC](https://discourse.processing.org/t/solved-how-can-i-make-an-include-file-for-my-scripts-solved-thanks/1569 "2018-07-07T07:05:35Z")

</div>

I am having a lovely time playing with a script that draws a sonar for an Arduino output. My script runs, I can read my Arduino outputs over the serial port, my sonar gets drawn. I created some variables that I decide…

---

## [Unfolding Maps Example Will Not Start](https://discourse.processing.org/t/unfolding-maps-example-will-not-start/1721)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 2\
**Last updated:** [July 12, 2018, 8:48pm UTC](https://discourse.processing.org/t/unfolding-maps-example-will-not-start/1721 "2018-07-12T20:48:53Z")

</div>

I am attempting to learn Unfolding maps. I believe that I have the latest version of both Processing and Unfolding. The example sketch I want to run is SimpleMaqpApp. I am told it can not start. Can someone help me get t…

---

## [NeuralNetwork copied in Java from 10.6](https://discourse.processing.org/t/neuralnetwork-copied-in-java-from-10-6/1666)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 4\
**Last updated:** [July 12, 2018, 8:20am UTC](https://discourse.processing.org/t/neuralnetwork-copied-in-java-from-10-6/1666 "2018-07-12T08:20:43Z")

</div>

I’m using Java & Processing Hey I’m trying to follow 10.6: Neural Networks: Matrix Math Part 1 - The Nature of Code, but got stuck where he makes each matrix\[i\] its own array. I couldnt figure out if in java it be float…

---

## [G4P GUI draw question](https://discourse.processing.org/t/g4p-gui-draw-question/1615)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 11\
**Last updated:** [July 12, 2018, 5:32pm UTC](https://discourse.processing.org/t/g4p-gui-draw-question/1615 "2018-07-12T17:32:20Z")

</div>

Hi, at which point of the program is the “draw” function of the GUI called? I ask because there is no obvious drawGUI(); similar to the createGUI(); which is used in the setup. I’m drawing an image which partly ov…

---

## [How to use a pde file in multiple projects](https://discourse.processing.org/t/how-to-use-a-pde-file-in-multiple-projects/1714)

<div class="topic-metadata">

**Author:** [@malcolm\_gc](https://discourse.processing.org/u/malcolm_gc)\
**Replies:** 1\
**Last updated:** [July 12, 2018, 5:32pm UTC](https://discourse.processing.org/t/how-to-use-a-pde-file-in-multiple-projects/1714 "2018-07-12T17:32:20Z")

</div>

How can I make an include file for my scripts - SOLVED THANKS gave me answer for including pde files in a project file.pde in the same directory gets automagically added. BUT What about when I want to use file.pde in m…

---

## [Does Khan Academy use processing?](https://discourse.processing.org/t/does-khan-academy-use-processing/1711)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 1\
**Last updated:** [July 12, 2018, 2:27pm UTC](https://discourse.processing.org/t/does-khan-academy-use-processing/1711 "2018-07-12T14:27:37Z")

</div>

Just curious what implementation of processing they use, if any. I think I remember hearing somewhere that KA uses processing.js, or used to.

---

## [Change Processing code to p5.js](https://discourse.processing.org/t/change-processing-code-to-p5-js/1709)

<div class="topic-metadata">

**Author:** [@chloe](https://discourse.processing.org/u/chloe)\
**Replies:** 4\
**Last updated:** [July 12, 2018, 2:16pm UTC](https://discourse.processing.org/t/change-processing-code-to-p5-js/1709 "2018-07-12T14:16:47Z")

</div>

Hi I’m looking to change some Processing code into p5.js code. I’m super new to both Processing and p5.js so I’m wondering if anyone can help transfer the bottom Processing code into p5.js compatible code. Please help! T…

---

## [Undo Function for my Tool](https://discourse.processing.org/t/undo-function-for-my-tool/1618)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 6\
**Last updated:** [July 12, 2018, 12:42pm UTC](https://discourse.processing.org/t/undo-function-for-my-tool/1618 "2018-07-12T12:42:37Z")

</div>

Hi, at the moment I’m working on a tool to visualize data. The tool is able to save and restore the data when you click the “Save” button. But that function only saves the then prepared and calculated data, not all the …

---

## [Access Graphics Memory (Display Lists)\[SORTA SOLVED\]](https://discourse.processing.org/t/access-graphics-memory-display-lists-sorta-solved/1641)

<div class="topic-metadata">

**Author:** [@jamcdonald](https://discourse.processing.org/u/jamcdonald)\
**Replies:** 1\
**Last updated:** [July 11, 2018, 9:29pm UTC](https://discourse.processing.org/t/access-graphics-memory-display-lists-sorta-solved/1641 "2018-07-11T21:29:05Z")

</div>

I am trying to visualize a rather large point cloud (around 2 million to 100 million points) and a web of triangles connecting them (approximately 21 million to 900 million triangles or so) (lets hope for the lower end).…

---

## [keyCode repeats forever](https://discourse.processing.org/t/keycode-repeats-forever/1693)

<div class="topic-metadata">

**Author:** [@NinjaKili](https://discourse.processing.org/u/NinjaKili)\
**Replies:** 1\
**Last updated:** [July 11, 2018, 5:05pm UTC](https://discourse.processing.org/t/keycode-repeats-forever/1693 "2018-07-11T17:05:33Z")

</div>

float brush\_x = 10; float brush\_y = 10; void setup() { size(800,800); background(0); rectMode(CENTER); frameRate(300); } void draw() { if(mousePressed == true) { noStroke(); ellipse(mouseX,mouseY,brush\_x,brush…

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

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