# Latest

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

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

**Page:** 410

---

## [Symmetric overlapping sine wave code](https://discourse.processing.org/t/symmetric-overlapping-sine-wave-code/16565)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 4\
**Last updated:** [December 23, 2019, 11:12pm UTC](https://discourse.processing.org/t/symmetric-overlapping-sine-wave-code/16565 "2019-12-23T23:12:03Z")

</div>

int n = 5; // NO. OF STRANDS float\[\] translate;//OFFSET OF INDIVIDUAL STRAND float\[\] amp;// AMPLITUDE OF INDIVIDUAL STRAND float\[\] period;// PERIOD OF INDIVIDUAL STRAND RELATIVE TO STANDARD PERIOD float frequency; float …

---

## [Making a queue manager](https://discourse.processing.org/t/making-a-queue-manager/16593)

<div class="topic-metadata">

**Author:** [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Replies:** 5\
**Last updated:** [December 23, 2019, 9:43pm UTC](https://discourse.processing.org/t/making-a-queue-manager/16593 "2019-12-23T21:43:51Z")

</div>

Hello all. With the help of this forum, I was able to create the first version of my queue manager, One small problem: After 11 names are entered, the names go off screen. I tried to fix it by making another array, makin…

---

## [Manifest. Memory](https://discourse.processing.org/t/manifest-memory/16498)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 16\
**Last updated:** [December 23, 2019, 5:34pm UTC](https://discourse.processing.org/t/manifest-memory/16498 "2019-12-23T17:34:51Z")

</div>

Hello. I heard that manifest can be slightly modified and android will increase the available memory for the application. Can you indicate what exactly and how to change? Thanks in advance.

---

## [Randomly distribute objects on grid](https://discourse.processing.org/t/randomly-distribute-objects-on-grid/16590)

<div class="topic-metadata">

**Author:** [@Reynaert98](https://discourse.processing.org/u/Reynaert98)\
**Replies:** 4\
**Last updated:** [December 23, 2019, 4:16pm UTC](https://discourse.processing.org/t/randomly-distribute-objects-on-grid/16590 "2019-12-23T16:16:16Z")

</div>

Hello, I’m working on a game/ assignment where I have to randomly place some objects into a grid. These objects are supposed to be hidden on the grid and pop up when a player clicks on it. I made an attempt by making 2 …

---

## [Processing.js but for Python?](https://discourse.processing.org/t/processing-js-but-for-python/16578)

<div class="topic-metadata">

**Author:** [@pfe1223](https://discourse.processing.org/u/pfe1223)\
**Replies:** 3\
**Last updated:** [December 23, 2019, 3:50pm UTC](https://discourse.processing.org/t/processing-js-but-for-python/16578 "2019-12-23T15:50:16Z")

</div>

Is there an equivalent for Processing.js but for Python? I am looking to write Processing code in Python but have the output run on the web. I am pretty sure that I can’t do this, but thought I’d ask here just in case.

---

## [How to detect which CheckBox was toggled to keep at least one switch 'ON'](https://discourse.processing.org/t/how-to-detect-which-checkbox-was-toggled-to-keep-at-least-one-switch-on/16581)

<div class="topic-metadata">

**Author:** [@JackFC](https://discourse.processing.org/u/JackFC)\
**Replies:** 8\
**Last updated:** [December 23, 2019, 11:59am UTC](https://discourse.processing.org/t/how-to-detect-which-checkbox-was-toggled-to-keep-at-least-one-switch-on/16581 "2019-12-23T11:59:53Z")

</div>

Hello, I am quite new in Processing. I am working on a project where I use a CheckBox from ControlP5 library to control random rotation of a shape. I have 4 switches each for one angle (0/90/180/270 degrees) and I need …

---

## [Run python in Android?](https://discourse.processing.org/t/run-python-in-android/7166)

<div class="topic-metadata">

**Author:** [@manhnt](https://discourse.processing.org/u/manhnt)\
**Replies:** 2\
**Last updated:** [December 23, 2019, 11:20am UTC](https://discourse.processing.org/t/run-python-in-android/7166 "2019-12-23T11:20:27Z")

</div>

My question is that: Can I convert python code to Anndroid? I used to convert between Java mode and ANdroid mode. Is it the same with Python?

---

## [textStyle Italic bold and others](https://discourse.processing.org/t/textstyle-italic-bold-and-others/16557)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 4\
**Last updated:** [December 22, 2019, 5:33pm UTC](https://discourse.processing.org/t/textstyle-italic-bold-and-others/16557 "2019-12-22T17:33:45Z")

</div>

How, would I go about setting the text to italic in processing. There is textStyle() in p5.js but I cannot seem to find its equivalent in processing. Thanks.

---

## [How to use text() command to print string array to screen](https://discourse.processing.org/t/how-to-use-text-command-to-print-string-array-to-screen/16574)

<div class="topic-metadata">

**Author:** [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Replies:** 4\
**Last updated:** [December 22, 2019, 5:16pm UTC](https://discourse.processing.org/t/how-to-use-text-command-to-print-string-array-to-screen/16574 "2019-12-22T17:16:18Z")

</div>

Hello Long story short: I’m porting my python program to processing to add a GUI. Here is my code so far: int i = 0; String currentName = ""; int z = i+1; String names\[\] = new String\[100\]; void setup(){ size(700…

---

## ["Present Mode" not removing menu bar?](https://discourse.processing.org/t/present-mode-not-removing-menu-bar/16111)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 3\
**Last updated:** [December 22, 2019, 5:08pm UTC](https://discourse.processing.org/t/present-mode-not-removing-menu-bar/16111 "2019-12-22T17:08:18Z")

</div>

Using fullScreen() or using the Present feature does not remove the Mac OS menu bar for me on Mac OS 10.11.6 El Capitan. Also, has anyone else noticed if sketch \> Present (command+shift+R) is behaving differently on Pyt…

---

## [(OS X) Exported sketch looks for data folder in the wrong place](https://discourse.processing.org/t/os-x-exported-sketch-looks-for-data-folder-in-the-wrong-place/16499)

<div class="topic-metadata">

**Author:** [@pip](https://discourse.processing.org/u/pip)\
**Replies:** 4\
**Last updated:** [December 22, 2019, 4:40pm UTC](https://discourse.processing.org/t/os-x-exported-sketch-looks-for-data-folder-in-the-wrong-place/16499 "2019-12-22T16:40:52Z")

</div>

After exporting a python sketch, which needed a .png image file, the .app wouldn’t run. After doing some testing, I realized the bug was that the sketch was looking for the .png file in “/Users/ME/”, instead of “/Users/…

---

## [Mouse Is Very Slow](https://discourse.processing.org/t/mouse-is-very-slow/16423)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 19\
**Last updated:** [December 22, 2019, 2:40pm UTC](https://discourse.processing.org/t/mouse-is-very-slow/16423 "2019-12-22T14:40:11Z")

</div>

On at least two current projects, the mouse seems unreasonably slow. I am using mouseClicked to select options on the screen. Once clicked, I compute the location of the graphic on the screen that was clicked. Beyond tha…

---

## [Showing words at maxium of 12](https://discourse.processing.org/t/showing-words-at-maxium-of-12/16567)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 1\
**Last updated:** [December 22, 2019, 1:03pm UTC](https://discourse.processing.org/t/showing-words-at-maxium-of-12/16567 "2019-12-22T13:03:00Z")

</div>

I’ve created this code where every key is a pre formatted word and once it has been pressed it shows the word on screen and pressing another key changes the previous word. Now I’m wondering, can I show more than one word…

---

## [Development of Matrix Operations library](https://discourse.processing.org/t/development-of-matrix-operations-library/16402)

<div class="topic-metadata">

**Author:** [@pallav12](https://discourse.processing.org/u/pallav12)\
**Replies:** 5\
**Last updated:** [December 22, 2019, 10:15am UTC](https://discourse.processing.org/t/development-of-matrix-operations-library/16402 "2019-12-22T10:15:35Z")

</div>

Hello Everyone, I’ve been using processing for almost 2 years, it’s one for first place where I started coding. Now I want to contribute to processing in some way. The idea is since a lot of peoples are trying to make …

---

## [Changing row-size of dynamic grid](https://discourse.processing.org/t/changing-row-size-of-dynamic-grid/16510)

<div class="topic-metadata">

**Author:** [@Namrad](https://discourse.processing.org/u/Namrad)\
**Replies:** 9\
**Last updated:** [December 22, 2019, 7:11am UTC](https://discourse.processing.org/t/changing-row-size-of-dynamic-grid/16510 "2019-12-22T07:11:16Z")

</div>

Hello! I’m encountering a problem with a grid-sketch. The answer seems rather simple, yet I can’t wrap my head around it for several days now. The idea is simple: I wanted to make a grid of rectangles which alter in wi…

---

## [A question about the import of minim files](https://discourse.processing.org/t/a-question-about-the-import-of-minim-files/16542)

<div class="topic-metadata">

**Author:** [@xianyu](https://discourse.processing.org/u/xianyu)\
**Replies:** 6\
**Last updated:** [December 22, 2019, 5:59am UTC](https://discourse.processing.org/t/a-question-about-the-import-of-minim-files/16542 "2019-12-22T05:59:53Z")

</div>

Hi! I am a beginner in processing. I had some problems when importing audio files using minim. The file name and location looks correct. Below is my code. import ddf.minim.\*; import ddf.minim.analysis.\*; import ddf.min…

---

## [How do we add an icon as a marker in unfolding map](https://discourse.processing.org/t/how-do-we-add-an-icon-as-a-marker-in-unfolding-map/16547)

<div class="topic-metadata">

**Author:** [@iamgsshetty](https://discourse.processing.org/u/iamgsshetty)\
**Replies:** 3\
**Last updated:** [December 22, 2019, 5:25am UTC](https://discourse.processing.org/t/how-do-we-add-an-icon-as-a-marker-in-unfolding-map/16547 "2019-12-22T05:25:39Z")

</div>

how do we add an icon as a marker in unfolding map

---

## [Mandelbrot/julia set display problem](https://discourse.processing.org/t/mandelbrot-julia-set-display-problem/16509)

<div class="topic-metadata">

**Author:** [@Zerichy](https://discourse.processing.org/u/Zerichy)\
**Replies:** 5\
**Last updated:** [December 22, 2019, 1:01am UTC](https://discourse.processing.org/t/mandelbrot-julia-set-display-problem/16509 "2019-12-22T01:01:24Z")

</div>

Hello, i am trying to code the mandelbrot/julia set challenge from codingtrain and now i am stuck. I wanted to split the screen into two sides. On the left side it should show the julia set and on the right side it shoul…

---

## [Processing and Minecraft](https://discourse.processing.org/t/processing-and-minecraft/12494)

<div class="topic-metadata">

**Author:** [@kaotiklabs](https://discourse.processing.org/u/kaotiklabs)\
**Replies:** 9\
**Last updated:** [December 21, 2019, 10:41pm UTC](https://discourse.processing.org/t/processing-and-minecraft/12494 "2019-12-21T22:41:54Z")

</div>

Hi, I’m teaching my students basic programming and would like to know if there’s any way to join processing language with minecraft through any mod or something else. I would like to interact with the world, bot progra…

---

## [G4P: Duplicate method win\_draw1(PApplet, GWinData) in type](https://discourse.processing.org/t/g4p-duplicate-method-win-draw1-papplet-gwindata-in-type/16545)

<div class="topic-metadata">

**Author:** [@mark\_orion](https://discourse.processing.org/u/mark_orion)\
**Replies:** 2\
**Last updated:** [December 21, 2019, 10:32pm UTC](https://discourse.processing.org/t/g4p-duplicate-method-win-draw1-papplet-gwindata-in-type/16545 "2019-12-21T22:32:40Z")

</div>

I think there is a bug in the G4P designer tool that when you use more than one secondary window a method with a wrong name is created: This is what is created after adding another secondary window. This method is alrea…

---

## [Javascript Error reporting variable already declared](https://discourse.processing.org/t/javascript-error-reporting-variable-already-declared/16551)

<div class="topic-metadata">

**Author:** [@Dandada](https://discourse.processing.org/u/Dandada)\
**Replies:** 2\
**Last updated:** [December 21, 2019, 5:06pm UTC](https://discourse.processing.org/t/javascript-error-reporting-variable-already-declared/16551 "2019-12-21T17:06:01Z")

</div>

I created an example of a simply particle system after watching one of Dan Shiffman’s video. However it gives an error “Uncaught SyntaxError: Identifier ‘location’ has already been declared (sketch: line 1)” which make n…

---

## [Help needed to replicate a specific generative pattern](https://discourse.processing.org/t/help-needed-to-replicate-a-specific-generative-pattern/15590)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 6\
**Last updated:** [December 21, 2019, 1:16pm UTC](https://discourse.processing.org/t/help-needed-to-replicate-a-specific-generative-pattern/15590 "2019-12-21T13:16:50Z")

</div>

Hi all, I have recently found a Grasshopper “sketch” that I would like to port to Processing but I am having difficulties understanding how it was made. https://scontent-cdt1-1.cdninstagram.com/vp/ae9492801b7ef079acaf9…

---

## [Mapping Camera Coordinates to a 2D Floor Plan](https://discourse.processing.org/t/mapping-camera-coordinates-to-a-2d-floor-plan/16539)

<div class="topic-metadata">

**Author:** [@ql\_tan](https://discourse.processing.org/u/ql_tan)\
**Replies:** 4\
**Last updated:** [December 21, 2019, 12:24pm UTC](https://discourse.processing.org/t/mapping-camera-coordinates-to-a-2d-floor-plan/16539 "2019-12-21T12:24:33Z")

</div>

Hey everyone, I’m using openCV for processing to track human movements in a camera scene and Im struggling to translate the tracked coordinates caught in the camera scene onto a 2D floorplane. I found this link: https:/…

---

## [How to change object size upon bouncing in p5.play](https://discourse.processing.org/t/how-to-change-object-size-upon-bouncing-in-p5-play/16540)

<div class="topic-metadata">

**Author:** [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Replies:** 4\
**Last updated:** [December 21, 2019, 4:34am UTC](https://discourse.processing.org/t/how-to-change-object-size-upon-bouncing-in-p5-play/16540 "2019-12-21T04:34:17Z")

</div>

I don’t know how to change the length of an object upon bouncing interaction in p5.play. In the code below, I wish to make the bar shorter from the top upon every hit, but don’t know what keyword to search for in the ref…

---

## [Help with my first contribution](https://discourse.processing.org/t/help-with-my-first-contribution/16305)

<div class="topic-metadata">

**Author:** [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Replies:** 5\
**Last updated:** [December 21, 2019, 3:46am UTC](https://discourse.processing.org/t/help-with-my-first-contribution/16305 "2019-12-21T03:46:12Z")

</div>

I came across the p5.js library 3 weeks ago and I have been hooked since then. I learned the basics of p5.js from The Coding Train on YouTube. Now I want to do a little more complex/open-source projects to enhance my kno…

---

## [Determining the period of perlin noise](https://discourse.processing.org/t/determining-the-period-of-perlin-noise/16380)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 8\
**Last updated:** [December 21, 2019, 12:56am UTC](https://discourse.processing.org/t/determining-the-period-of-perlin-noise/16380 "2019-12-21T00:56:09Z")

</div>

I would like to create a grid and am unsure how to go about producing the result I want. I noticed that when creating a terrain using perlin noise, at some point if you keep travelling through the map you’ll notice that…

---

## [Applying Frame differencing tool to video file and exporting data as a csv file?](https://discourse.processing.org/t/applying-frame-differencing-tool-to-video-file-and-exporting-data-as-a-csv-file/16457)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.processing.org/u/Louis)\
**Replies:** 2\
**Last updated:** [December 20, 2019, 11:38pm UTC](https://discourse.processing.org/t/applying-frame-differencing-tool-to-video-file-and-exporting-data-as-a-csv-file/16457 "2019-12-20T23:38:06Z")

</div>

Hi, very new to coding, but for a MA project I am trying to develop a script that will read movement in a series of videos I have created and enable me to export the data as a CSV file? This existing tool is almost perf…

---

## [Kinect Blob-detection for two objects](https://discourse.processing.org/t/kinect-blob-detection-for-two-objects/16265)

<div class="topic-metadata">

**Author:** [@Liam](https://discourse.processing.org/u/Liam)\
**Replies:** 0\
**Last updated:** [December 9, 2019, 2:19pm UTC](https://discourse.processing.org/t/kinect-blob-detection-for-two-objects/16265 "2019-12-09T14:19:55Z")

</div>

Hi everyone, I’m using Dan Schiffmans example on a Kinect v1 to track the position of two hands. I have been able to track the movement of one hand and get the centre point. but I want to track both hands for the purpos…

---

## [Undo and redo errors PDE IDE](https://discourse.processing.org/t/undo-and-redo-errors-pde-ide/16419)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 4\
**Last updated:** [December 20, 2019, 7:02pm UTC](https://discourse.processing.org/t/undo-and-redo-errors-pde-ide/16419 "2019-12-20T19:02:40Z")

</div>

Has anyone ever experienced any issues undoing multiple times? Most of the time it works fine, but then sometimes it doesn’t and it just restores garbage code. This can be corrected by saving frequently, but still not a…

---

## [Changing game states (beginner)](https://discourse.processing.org/t/changing-game-states-beginner/16526)

<div class="topic-metadata">

**Author:** [@Salttt](https://discourse.processing.org/u/Salttt)\
**Replies:** 11\
**Last updated:** [December 20, 2019, 5:19pm UTC](https://discourse.processing.org/t/changing-game-states-beginner/16526 "2019-12-20T17:19:43Z")

</div>

Hello! I am a recent beginner (1 week), and just trying to make a simple game where you need to dodge a car. Currently I have 3 states; state 0: the beginning screen (fully light blue currently), state 1: The actual game…

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

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