# Latest

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

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

**Page:** 607

---

## [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.

---

## [Call for Participation - Processing Community Day](https://discourse.processing.org/t/call-for-participation-processing-community-day/1732)

<div class="topic-metadata">

**Author:** [@xinxin](https://discourse.processing.org/u/xinxin)\
**Replies:** 0\
**Last updated:** [July 13, 2018, 6:55am UTC](https://discourse.processing.org/t/call-for-participation-processing-community-day/1732 "2018-07-13T06:55:46Z")

</div>

Hello everyone, In case you haven’t checked twitter, Processing Foundation had announced the next Processing Community Day. This time the event will be held in Los Angeles + communities worldwide. If you’re based in / …

---

## [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…

---

## [Forum: line numbers on code](https://discourse.processing.org/t/forum-line-numbers-on-code/225)

<div class="topic-metadata">

**Author:** [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Replies:** 1\
**Last updated:** [July 12, 2018, 11:39pm UTC](https://discourse.processing.org/t/forum-line-numbers-on-code/225 "2018-07-12T23:39:02Z")

</div>

On the old forum, code blocks had line numbers – I believe this was done through the Vanilla forum’s SyntaxHighlighter plugin. They helped discussion because commenters could refer to specific lines. In order for the ne…

---

## [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).…

---

## [\[SOLVED\] TypeError: xml.getChildren is not a function](https://discourse.processing.org/t/solved-typeerror-xml-getchildren-is-not-a-function/1697)

<div class="topic-metadata">

**Author:** [@T\_mex](https://discourse.processing.org/u/T_mex)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 7:35pm UTC](https://discourse.processing.org/t/solved-typeerror-xml-getchildren-is-not-a-function/1697 "2018-07-11T19:35:54Z")

</div>

I’m running into an issue when trying to parse an XML file using getChildren(). var xml = new p5.XML(); xml = loadXML("XML/UserInfo.xml"); print(xm.getChildren('User')); The error I’m getting is “TypeError: xmlFil…

---

## [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…

---

## [Sending Data wireless](https://discourse.processing.org/t/sending-data-wireless/1330)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 6\
**Last updated:** [July 11, 2018, 3:42pm UTC](https://discourse.processing.org/t/sending-data-wireless/1330 "2018-07-11T15:42:38Z")

</div>

Hello, i want to make a project/app, in which i could send txt files from my device to the PC with wireless connection…I am studying right now about oscP5 library and making connection between devices…My question is if …

---

## [Dividing up PImage](https://discourse.processing.org/t/dividing-up-pimage/1664)

<div class="topic-metadata">

**Author:** [@Trilobyte](https://discourse.processing.org/u/Trilobyte)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 2:46pm UTC](https://discourse.processing.org/t/dividing-up-pimage/1664 "2018-07-11T14:46:00Z")

</div>

Hello all! I have a question/problem regarding PImages. I am working on a project that converts MIDI text files into images, concatenates those images into one large image, and then divides that long image into 8888 pix…

---

## [Processing + Leap Motion data + Arduino LED pins](https://discourse.processing.org/t/processing-leap-motion-data-arduino-led-pins/1689)

<div class="topic-metadata">

**Author:** [@iamamiwhoami91](https://discourse.processing.org/u/iamamiwhoami91)\
**Replies:** 1\
**Last updated:** [July 11, 2018, 2:37pm UTC](https://discourse.processing.org/t/processing-leap-motion-data-arduino-led-pins/1689 "2018-07-11T14:37:30Z")

</div>

Dear all, I am trying use the Leap Motion sensor data to turn LED pins on and off using Arduino. Right now I am using a processing code that controls LED pins according to the hand position (x). I am trying to figure ou…

---

## [(!) DISCORD CODING CHANNEL - p5.js - prosessing (!)](https://discourse.processing.org/t/discord-coding-channel-p5-js-prosessing/1684)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 0\
**Last updated:** [July 11, 2018, 12:34pm UTC](https://discourse.processing.org/t/discord-coding-channel-p5-js-prosessing/1684 "2018-07-11T12:34:24Z")

</div>

invite: https://discord.gg/2hsG6Zb

---

## [How to get the sketchPath from a static method](https://discourse.processing.org/t/how-to-get-the-sketchpath-from-a-static-method/1617)

<div class="topic-metadata">

**Author:** [@Manuel](https://discourse.processing.org/u/Manuel)\
**Replies:** 10\
**Last updated:** [July 11, 2018, 12:57pm UTC](https://discourse.processing.org/t/how-to-get-the-sketchpath-from-a-static-method/1617 "2018-07-11T12:57:55Z")

</div>

Hi, I’ve tried everything I could think of to try to load a file inside an enum, but can’t get a way to reference to the current sketchPath statically. Does anyone know any posible solution? That’s a small part of the c…

---

## [Alarm Clock in Processing](https://discourse.processing.org/t/alarm-clock-in-processing/1631)

<div class="topic-metadata">

**Author:** [@LaLe](https://discourse.processing.org/u/LaLe)\
**Replies:** 6\
**Last updated:** [July 11, 2018, 12:52pm UTC](https://discourse.processing.org/t/alarm-clock-in-processing/1631 "2018-07-11T12:52:46Z")

</div>

Hello everyone, I am trying to code an alarm clock using Processing. I am pretty new so I am still learning… I already achieved to code a Clock using real time. But I am not sure how I can make a text input field, so yo…

---

## [Using class-wide methods in non-static classes](https://discourse.processing.org/t/using-class-wide-methods-in-non-static-classes/1677)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.processing.org/u/Jake)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 12:03pm UTC](https://discourse.processing.org/t/using-class-wide-methods-in-non-static-classes/1677 "2018-07-11T12:03:12Z")

</div>

After doing some research, I have yet to find a way to use static methods in a non-static class. Alternatively, I can’t create instances of an object of a static class. I did notice someone mention class-wide methods, bu…

---

## [Tooloop Open Media Server](https://discourse.processing.org/t/tooloop-open-media-server/1680)

<div class="topic-metadata">

**Author:** [@vollstock](https://discourse.processing.org/u/vollstock)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 8:48am UTC](https://discourse.processing.org/t/tooloop-open-media-server/1680 "2018-07-11T08:48:19Z")

</div>

I am happy to announce that Tooloop, my open media server for public and live media installations, is now in alpha phase and ready to test. Tooloop is an open media server framework. a well defined range of industrial…

---

## [Using Loops to Make Objects. Help!](https://discourse.processing.org/t/using-loops-to-make-objects-help/1621)

<div class="topic-metadata">

**Author:** [@QuazArxx](https://discourse.processing.org/u/QuazArxx)\
**Replies:** 13\
**Last updated:** [July 11, 2018, 6:45am UTC](https://discourse.processing.org/t/using-loops-to-make-objects-help/1621 "2018-07-11T06:45:05Z")

</div>

So i’m back here again. I’m trying to figure out: is it possible to use let’s say a for loop to draw an object 3 times and be able to control them individually still? What I’m trying to do is make the object appear 3 ti…

---

## [File to code TCG](https://discourse.processing.org/t/file-to-code-tcg/1345)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 4\
**Last updated:** [July 10, 2018, 10:49pm UTC](https://discourse.processing.org/t/file-to-code-tcg/1345 "2018-07-10T22:49:55Z")

</div>

I’m wanting to make a list like name type attack defense and so on in text then get the program to grab the stuff from the list & use the correct info when the card is summoned. I’m thinking of making a TCG & I dont…

---

## [Trouble linking dom libraries](https://discourse.processing.org/t/trouble-linking-dom-libraries/1652)

<div class="topic-metadata">

**Author:** [@zackpi](https://discourse.processing.org/u/zackpi)\
**Replies:** 6\
**Last updated:** [July 10, 2018, 7:48pm UTC](https://discourse.processing.org/t/trouble-linking-dom-libraries/1652 "2018-07-10T19:48:50Z")

</div>

I’m getting this error, which references a line number (ln 77) in the dom library, so my guess is that my html found the dom file, but I can’t figure out why that file can’t find p5. I currently have p5.js in a different…

---

## [GET DIRECTORY LIST OF ONLY .png FILES](https://discourse.processing.org/t/get-directory-list-of-only-png-files/1662)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 7:04pm UTC](https://discourse.processing.org/t/get-directory-list-of-only-png-files/1662 "2018-07-10T19:04:01Z")

</div>

Found code to get listing of names in a directory. https://processing.org/examples/directorylist.html but when i set path to “c:/\*.png” i get null error otherwise i can list all the files in “c:/” asterisk works for…

---

## [Generating as many bisecting lines of a circle as possible](https://discourse.processing.org/t/generating-as-many-bisecting-lines-of-a-circle-as-possible/1653)

<div class="topic-metadata">

**Author:** [@Fhyrestar](https://discourse.processing.org/u/Fhyrestar)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 6:14pm UTC](https://discourse.processing.org/t/generating-as-many-bisecting-lines-of-a-circle-as-possible/1653 "2018-07-10T18:14:44Z")

</div>

Hello! I’ve just discovered Processing, and I’m playing around with it because it seems cool. I’m trying to draw ~30 lines of symmetry in a circle. Well, more specifically, I’m drawing ~30 lines of symmetry in three o…

---

## [Question switched to p5.js category](https://discourse.processing.org/t/question-switched-to-p5-js-category/1608)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 4\
**Last updated:** [July 10, 2018, 4:10pm UTC](https://discourse.processing.org/t/question-switched-to-p5-js-category/1608 "2018-07-10T16:10:34Z")

</div>

when i play my game and eat a food and then move it sometimes removes my scale heres my source code sketch source: (where my move runs) var s; var scl = 20; var food = 20; var foods = 0; var foodU = foods; function se…

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

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