# Latest

**URL:** https://discourse.processing.org/latest.md?page=461

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

**Page:** 462

---

## [Move inside div and center on div not page](https://discourse.processing.org/t/move-inside-div-and-center-on-div-not-page/13024)

<div class="topic-metadata">

**Author:** [@nicolas\_nqn](https://discourse.processing.org/u/nicolas_nqn)\
**Replies:** 1\
**Last updated:** [July 28, 2019, 5:06pm UTC](https://discourse.processing.org/t/move-inside-div-and-center-on-div-not-page/13024 "2019-07-28T17:06:02Z")

</div>

Hi, i know how to move the canvas inside the div with .parent, but i cant seem to position the canvas centered on the div, when i use .position it uses the page coordinates not the div var offsets = document.getElementB…

---

## [Rotate circle around it´s own center](https://discourse.processing.org/t/rotate-circle-around-it-s-own-center/12937)

<div class="topic-metadata">

**Author:** [@Sweetiefraise](https://discourse.processing.org/u/Sweetiefraise)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 4:54pm UTC](https://discourse.processing.org/t/rotate-circle-around-it-s-own-center/12937 "2019-07-28T16:54:49Z")

</div>

I want to rotate the eyes of this bear inside de white circles, so I want to know what I shoould put there This part specifically: //left eye fill (#000000); strokeWeight(6); stroke (#050302); circle (320, 190, 50); fi…

---

## [Using another text renderer](https://discourse.processing.org/t/using-another-text-renderer/13016)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 4\
**Last updated:** [July 28, 2019, 2:05pm UTC](https://discourse.processing.org/t/using-another-text-renderer/13016 "2019-07-28T14:05:23Z")

</div>

I was looking if it was possible to render text a different way. For those who are interested: Not made user friendly yet. Unfortunately it needs PJOGL.profile = 1; so it’s kinda bad… import java.awt.Font; import c…

---

## [3D physics engine library](https://discourse.processing.org/t/3d-physics-engine-library/12722)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 11:36am UTC](https://discourse.processing.org/t/3d-physics-engine-library/12722 "2019-07-28T11:36:48Z")

</div>

Hello, I am looking for a java library with a 3D physics engine. I‘d like to do a marble track with a marble rolling on it Thanks a lot! Chrisir P.S. Here is an example of how a java library is implemented in proce…

---

## [Is there a sort of API with which we can run processing.py in a server?](https://discourse.processing.org/t/is-there-a-sort-of-api-with-which-we-can-run-processing-py-in-a-server/13020)

<div class="topic-metadata">

**Author:** [@Procoder](https://discourse.processing.org/u/Procoder)\
**Replies:** 1\
**Last updated:** [July 28, 2019, 10:40am UTC](https://discourse.processing.org/t/is-there-a-sort-of-api-with-which-we-can-run-processing-py-in-a-server/13020 "2019-07-28T10:40:09Z")

</div>

I am trying to figure out a way to create a web editor for processing.py using codemirror . I think I have to create a custom mode for processing.py for codemirror and also I have to figure out a way to run the code. If …

---

## [Exit not work. And License Processing](https://discourse.processing.org/t/exit-not-work-and-license-processing/12695)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 19\
**Last updated:** [July 14, 2019, 2:45pm UTC](https://discourse.processing.org/t/exit-not-work-and-license-processing/12695 "2019-07-14T14:45:03Z")

</div>

Greetings. I am new in all this. There were several questions, I could not find a solution on the forum. I am writing in APDE. Project for android. How to exit the game? I tried through exit (); but it does not …

---

## [Advice for making a visual novel game/otome](https://discourse.processing.org/t/advice-for-making-a-visual-novel-game-otome/12918)

<div class="topic-metadata">

**Author:** [@Sweetiefraise](https://discourse.processing.org/u/Sweetiefraise)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 2:11am UTC](https://discourse.processing.org/t/advice-for-making-a-visual-novel-game-otome/12918 "2019-07-28T02:11:56Z")

</div>

I´m really new in programming with processing so I´m searching for tutorials and advice to make a kind of visual novel thing, I´ll be greatful if you could send me some links to help me with this topic, sorry for any mis…

---

## [Duplicating a canvas and its state](https://discourse.processing.org/t/duplicating-a-canvas-and-its-state/12902)

<div class="topic-metadata">

**Author:** [@hoticewater](https://discourse.processing.org/u/hoticewater)\
**Replies:** 3\
**Last updated:** [July 28, 2019, 12:47am UTC](https://discourse.processing.org/t/duplicating-a-canvas-and-its-state/12902 "2019-07-28T00:47:02Z")

</div>

I’ve been searching for this answer for longer than I care to admit, and after many google searches and many hours of skipping around The Coding Train’s innumerous videos I’ve felt close but have yet to find the answer. …

---

## [P5.js music and drawing](https://discourse.processing.org/t/p5-js-music-and-drawing/12950)

<div class="topic-metadata">

**Author:** [@amstaff](https://discourse.processing.org/u/amstaff)\
**Replies:** 3\
**Last updated:** [July 28, 2019, 12:10am UTC](https://discourse.processing.org/t/p5-js-music-and-drawing/12950 "2019-07-28T00:10:47Z")

</div>

Is it possible to play music with p5 and the program will draw a picture depending on the beat? Are there any examples how the whole thing should look like?

---

## [Correct practice line intersect](https://discourse.processing.org/t/correct-practice-line-intersect/13017)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 4\
**Last updated:** [July 27, 2019, 9:34pm UTC](https://discourse.processing.org/t/correct-practice-line-intersect/13017 "2019-07-27T21:34:31Z")

</div>

I’m trying to replicate a line line intersection algorithm whilst putting my own spin on it. Heres the code in Javascript from (Coding Math - youtube channel) ----- Amazing channel do check it out if you have time!!! N…

---

## [Java problem. Failed to write core dump. Core dumps have been disabled](https://discourse.processing.org/t/java-problem-failed-to-write-core-dump-core-dumps-have-been-disabled/12908)

<div class="topic-metadata">

**Author:** [@ernestbiosca](https://discourse.processing.org/u/ernestbiosca)\
**Replies:** 1\
**Last updated:** [July 27, 2019, 4:26pm UTC](https://discourse.processing.org/t/java-problem-failed-to-write-core-dump-core-dumps-have-been-disabled/12908 "2019-07-27T16:26:49Z")

</div>

Hey, It’s been a year without using processing and now I have a render crash and don’t know what’s happening. It just crash when I touch a knob, with this Java error. A fatal error has been detected by the Java Runtim…

---

## [How can I use Thread() with functions that has inputs](https://discourse.processing.org/t/how-can-i-use-thread-with-functions-that-has-inputs/12964)

<div class="topic-metadata">

**Author:** [@Majorminus](https://discourse.processing.org/u/Majorminus)\
**Replies:** 4\
**Last updated:** [July 27, 2019, 1:35pm UTC](https://discourse.processing.org/t/how-can-i-use-thread-with-functions-that-has-inputs/12964 "2019-07-27T13:35:16Z")

</div>

Hi, I had to run some functions asynchronously and I found a function called “Thread()”. I’ve been using it easily with functions that have no inputs like… void Something(){ } thread("Something"); But I got a probl…

---

## [Documentación en español](https://discourse.processing.org/t/documentacion-en-espanol/13012)

<div class="topic-metadata">

**Author:** [@GCX](https://discourse.processing.org/u/GCX)\
**Replies:** 2\
**Last updated:** [July 27, 2019, 8:39am UTC](https://discourse.processing.org/t/documentacion-en-espanol/13012 "2019-07-27T08:39:25Z")

</div>

Hola a todos, soy nuevo en este foro. Me llamo Guillermo y vivo en Venezuela y pronto en Argentina, mi país de origen. Estoy interesado en desarrollar documentación en español y/o traducir la ya existente para Processin…

---

## [Smooth scrollIntoView?](https://discourse.processing.org/t/smooth-scrollintoview/13010)

<div class="topic-metadata">

**Author:** [@pastuh](https://discourse.processing.org/u/pastuh)\
**Replies:** 0\
**Last updated:** [July 26, 2019, 11:20pm UTC](https://discourse.processing.org/t/smooth-scrollintoview/13010 "2019-07-26T23:20:35Z")

</div>

I want to move slowly in to element view. Code: let testSelect = document.getElementById('gridMarked'); testSelect.scrollIntoView({block: 'center'}); But view moves immediately, additional ‘Smooth’ option not works…

---

## [Immersive Lab - Open Call](https://discourse.processing.org/t/immersive-lab-open-call/13007)

<div class="topic-metadata">

**Author:** [@dbisig](https://discourse.processing.org/u/dbisig)\
**Replies:** 0\
**Last updated:** [July 26, 2019, 8:44pm UTC](https://discourse.processing.org/t/immersive-lab-open-call/13007 "2019-07-26T20:44:02Z")

</div>

\*\* Open Call \*\* House of Electronic Arts Basel (HeK) and the Institute for Computer Music and Sound Technology of the Zurich University of the Arts (ICST) are jointly calling for applications from artists to join a resi…

---

## [Gradle issue I think](https://discourse.processing.org/t/gradle-issue-i-think/11905)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 4\
**Last updated:** [July 26, 2019, 8:01pm UTC](https://discourse.processing.org/t/gradle-issue-i-think/11905 "2019-07-26T20:01:01Z")

</div>

Within Processing for android, I recently use the sdk updater. Since that update, I have not had a successful build on a sketch that was working on both the emulator and a device. The only thing I had done was the sdk up…

---

## [All content in the Help menu has disappeared](https://discourse.processing.org/t/all-content-in-the-help-menu-has-disappeared/12956)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 3\
**Last updated:** [July 26, 2019, 3:44pm UTC](https://discourse.processing.org/t/all-content-in-the-help-menu-has-disappeared/12956 "2019-07-26T15:44:45Z")

</div>

\[UPDATE: it solved itself… and I’ve no idea why… :wink: \] I’m running Processing 3.5.3 on macOs Mohave 10.14.5 - and all the help stuff under the top level help menu is greyed out and not actionable. Everything else a…

---

## [Available display resolution doesn't match hardware](https://discourse.processing.org/t/available-display-resolution-doesnt-match-hardware/12997)

<div class="topic-metadata">

**Author:** [@tomaslimak](https://discourse.processing.org/u/tomaslimak)\
**Replies:** 1\
**Last updated:** [July 26, 2019, 2:36pm UTC](https://discourse.processing.org/t/available-display-resolution-doesnt-match-hardware/12997 "2019-07-26T14:36:58Z")

</div>

I used to run processing on a laptop with a 1440x900 display. I now have a new laptop with a 2560x1600 display. I used a timemachine backup to initialise the new laptop. In the processing preferences the only option is a…

---

## [Processing not recognizing enum](https://discourse.processing.org/t/processing-not-recognizing-enum/12899)

<div class="topic-metadata">

**Author:** [@hey](https://discourse.processing.org/u/hey)\
**Replies:** 4\
**Last updated:** [July 26, 2019, 1:52pm UTC](https://discourse.processing.org/t/processing-not-recognizing-enum/12899 "2019-07-26T13:52:33Z")

</div>

I am trying to program an interpreter in Processing, and I’m trying to use enums. However, when I try to reference one of the values from the enum, Processing tells me that the value cannot be resolved into a variable.

---

## [Need help adding a border so my guy doesn't go off screen](https://discourse.processing.org/t/need-help-adding-a-border-so-my-guy-doesnt-go-off-screen/12987)

<div class="topic-metadata">

**Author:** [@kjiiller](https://discourse.processing.org/u/kjiiller)\
**Replies:** 3\
**Last updated:** [July 26, 2019, 11:56am UTC](https://discourse.processing.org/t/need-help-adding-a-border-so-my-guy-doesnt-go-off-screen/12987 "2019-07-26T11:56:26Z")

</div>

My code class player{ int x,y,spd,size; boolean\[\] keys=new boolean\[5\]; player(int x1,int y1,int spd1,int size1){ x=x1; y=y1; spd=spd1; size=size1; } void update(){ if(k…

---

## [I added Buttons for Fan On/Off on Processing](https://discourse.processing.org/t/i-added-buttons-for-fan-on-off-on-processing/12970)

<div class="topic-metadata">

**Author:** [@Murphy](https://discourse.processing.org/u/Murphy)\
**Replies:** 24\
**Last updated:** [July 26, 2019, 11:27am UTC](https://discourse.processing.org/t/i-added-buttons-for-fan-on-off-on-processing/12970 "2019-07-26T11:27:51Z")

</div>

Hello everyone, I created Step Motor and Led System with Arduino and Processing. I added a Fan on my system. I added Buttons for Fan On/Off on Processing. I added Status. I want to this. If Fan is Active, Button will be…

---

## [My new tiny library "does not exist"](https://discourse.processing.org/t/my-new-tiny-library-does-not-exist/12989)

<div class="topic-metadata">

**Author:** [@tove](https://discourse.processing.org/u/tove)\
**Replies:** 3\
**Last updated:** [July 26, 2019, 5:18am UTC](https://discourse.processing.org/t/my-new-tiny-library-does-not-exist/12989 "2019-07-26T05:18:43Z")

</div>

Hi folks – I’m trying to wrap some code up into a little personal library because I want to write a bunch of sketches that refer to it and I don’t want any of them to get out of sync if I need to change something. (Also…

---

## [Don't know how to activate method](https://discourse.processing.org/t/dont-know-how-to-activate-method/12982)

<div class="topic-metadata">

**Author:** [@kosi559](https://discourse.processing.org/u/kosi559)\
**Replies:** 3\
**Last updated:** [July 25, 2019, 10:29pm UTC](https://discourse.processing.org/t/dont-know-how-to-activate-method/12982 "2019-07-25T22:29:54Z")

</div>

I am a beginner at Java public void drawScore() { scoreFont = createFont("Bauhaus 93", 26, true); textFont(scoreFont); fill(255,255,255); textAlign(CENTER); text("Score: " + s…

---

## [Will this bug fix for androidx](https://discourse.processing.org/t/will-this-bug-fix-for-androidx/12383)

<div class="topic-metadata">

**Author:** [@Murad](https://discourse.processing.org/u/Murad)\
**Replies:** 2\
**Last updated:** [July 25, 2019, 8:13pm UTC](https://discourse.processing.org/t/will-this-bug-fix-for-androidx/12383 "2019-07-25T20:13:56Z")

</div>

---

## [Save data from Arduino to PC in CSV file in real time by Processing code](https://discourse.processing.org/t/save-data-from-arduino-to-pc-in-csv-file-in-real-time-by-processing-code/12959)

<div class="topic-metadata">

**Author:** [@hectorta](https://discourse.processing.org/u/hectorta)\
**Replies:** 2\
**Last updated:** [July 25, 2019, 4:41am UTC](https://discourse.processing.org/t/save-data-from-arduino-to-pc-in-csv-file-in-real-time-by-processing-code/12959 "2019-07-25T04:41:20Z")

</div>

I want to generate file name and data & time in csv file in the format yyyymmdd hhmmss.zzz. Where: zzz is millisecond. e.g 20190709 090801.001. But my following code can only get the format 201979 981.1 //import the req…

---

## [Exporting and pictures issue](https://discourse.processing.org/t/exporting-and-pictures-issue/12931)

<div class="topic-metadata">

**Author:** [@gillyboat4](https://discourse.processing.org/u/gillyboat4)\
**Replies:** 6\
**Last updated:** [July 25, 2019, 12:59am UTC](https://discourse.processing.org/t/exporting-and-pictures-issue/12931 "2019-07-25T00:59:55Z")

</div>

In my experience, whenever I try to export a sketch containing a PImage, loadImage and image(); functions, the sketch will fail to load those parts. PImage I = loadImage(“hi.png”); image(I,0,0,100,100); this code when…

---

## [Make Reminders with Alarm](https://discourse.processing.org/t/make-reminders-with-alarm/12957)

<div class="topic-metadata">

**Author:** [@Sweetiefraise](https://discourse.processing.org/u/Sweetiefraise)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 6:38pm UTC](https://discourse.processing.org/t/make-reminders-with-alarm/12957 "2019-07-24T18:38:46Z")

</div>

Is it possible to make reminders trough the day? I have this project for a very basic app (I have practiced with processing for 3 days). I want to make an app that reminds you to drink water but I can´t find posts, or I…

---

## [Trying processing with atom question about classes and preview](https://discourse.processing.org/t/trying-processing-with-atom-question-about-classes-and-preview/12929)

<div class="topic-metadata">

**Author:** [@otorp2](https://discourse.processing.org/u/otorp2)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 6:21pm UTC](https://discourse.processing.org/t/trying-processing-with-atom-question-about-classes-and-preview/12929 "2019-07-24T18:21:39Z")

</div>

Hi - I have moved to Atom and processing with live preview, so far so good. In the processing ide I made a sketch called test1.pde, then I created a class Bubble.class then I opened in Atom. It seems live preview onl…

---

## [Android Studio + Processing](https://discourse.processing.org/t/android-studio-processing/12954)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 11:37am UTC](https://discourse.processing.org/t/android-studio-processing/12954 "2019-07-24T11:37:52Z")

</div>

Hi, people :wave:!! After a while trying it, finally I made it. I’m capable to launch Sketches from P3 (Processing 3) in Android Studio and pass them some values. I don’t have many technical knowledge, but no one told m…

---

## [Bug with ArrayList](https://discourse.processing.org/t/bug-with-arraylist/5949)

<div class="topic-metadata">

**Author:** [@bitCrasher](https://discourse.processing.org/u/bitCrasher)\
**Replies:** 20\
**Last updated:** [November 26, 2018, 5:30pm UTC](https://discourse.processing.org/t/bug-with-arraylist/5949 "2018-11-26T17:30:37Z")

</div>

hi guys, I’m having a bug that I just can not solve, I think it’s a very stupid thing. in practice I would like this code to generate a map of points, which save in an arreyList, and then that there are 4 lines that in…

[Previous page](https://discourse.processing.org/latest.md?page=460)

[Next page](https://discourse.processing.org/latest.md?page=462)
