# Processing

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

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

**Page:** 67

---

## [Creating a small 3D model (House)](https://discourse.processing.org/t/creating-a-small-3d-model-house/38891)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 5\
**Last updated:** [September 24, 2022, 12:52pm UTC](https://discourse.processing.org/t/creating-a-small-3d-model-house/38891 "2022-09-24T12:52:27Z")

</div>

Hello. Can someone help me with a small 3d model? I want to make a small “area” with only a street, a basic house and a street lamp. I tried to create the basic template, but for a reason all the objects gets pushed i…

---

## [Headlines arrays with line break](https://discourse.processing.org/t/headlines-arrays-with-line-break/38918)

<div class="topic-metadata">

**Author:** [@yves](https://discourse.processing.org/u/yves)\
**Replies:** 5\
**Last updated:** [September 24, 2022, 10:13am UTC](https://discourse.processing.org/t/headlines-arrays-with-line-break/38918 "2022-09-24T10:13:07Z")

</div>

Hi every one, I’m working on that example of scrolling headlines from : scrollingtext | Learning Processing 2nd Edition how can I “play” headlines vertically with a line break at the end of each headline something lik…

---

## [Gradually change the sprite of an object](https://discourse.processing.org/t/gradually-change-the-sprite-of-an-object/38851)

<div class="topic-metadata">

**Author:** [@dmlong](https://discourse.processing.org/u/dmlong)\
**Replies:** 3\
**Last updated:** [September 23, 2022, 1:25pm UTC](https://discourse.processing.org/t/gradually-change-the-sprite-of-an-object/38851 "2022-09-23T13:25:56Z")

</div>

Hi, so I’m working on a homework project, with a character shooting fireballs at walls to destroy them. I’ve been doing well with creating the characters and their projectiles, as well as detecting the collision between …

---

## [\[JAVA\] AES security algorithm related - Why do I get different result values?](https://discourse.processing.org/t/java-aes-security-algorithm-related-why-do-i-get-different-result-values/38947)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 1:01pm UTC](https://discourse.processing.org/t/java-aes-security-algorithm-related-why-do-i-get-different-result-values/38947 "2022-09-23T13:01:58Z")

</div>

\[JAVA\] AES security algorithm related - Why do I get different result values? hello. I’m trying to test the AES256 algorithm. \[1. Type of test\] WEB SITE JAVA Program \[2. Test information\] KEY : sdfhjiodfjisd231s…

---

## [Issue with installing leap motion](https://discourse.processing.org/t/issue-with-installing-leap-motion/38921)

<div class="topic-metadata">

**Author:** [@ajaynischal](https://discourse.processing.org/u/ajaynischal)\
**Replies:** 1\
**Last updated:** [September 23, 2022, 10:05am UTC](https://discourse.processing.org/t/issue-with-installing-leap-motion/38921 "2022-09-23T10:05:58Z")

</div>

I am working on a project and need to install the leap motion libraries I did that and it shows up in contributed libraries however when I run basic code it gives me this error and I am not sure how to solve it. Please a…

---

## [When I shoot the enemy doesnt die when the bullet comes in the middle](https://discourse.processing.org/t/when-i-shoot-the-enemy-doesnt-die-when-the-bullet-comes-in-the-middle/38935)

<div class="topic-metadata">

**Author:** [@EKEN](https://discourse.processing.org/u/EKEN)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 8:09pm UTC](https://discourse.processing.org/t/when-i-shoot-the-enemy-doesnt-die-when-the-bullet-comes-in-the-middle/38935 "2022-09-22T20:09:37Z")

</div>

please format code with \</\> button \* homework policy \* asking questions When I shoot the enemy doesnt die when the bullet comes in the middle, I need to shoot a bit to the right so the enemey disapears but how do i f…

---

## [Writing my first Class, and getting in trouble already](https://discourse.processing.org/t/writing-my-first-class-and-getting-in-trouble-already/38844)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 10\
**Last updated:** [September 22, 2022, 7:54pm UTC](https://discourse.processing.org/t/writing-my-first-class-and-getting-in-trouble-already/38844 "2022-09-22T19:54:23Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I have a need to make my objects in an array. I am getting Null Pointer already… What am I doing wrong? Thanks Blocks\[\] Bl = new Blocks\[20\];…

---

## [Video library error on PC with non-default renderers](https://discourse.processing.org/t/video-library-error-on-pc-with-non-default-renderers/25333)

<div class="topic-metadata">

**Author:** [@chittyxz](https://discourse.processing.org/u/chittyxz)\
**Replies:** 6\
**Last updated:** [September 22, 2022, 4:40pm UTC](https://discourse.processing.org/t/video-library-error-on-pc-with-non-default-renderers/25333 "2022-09-22T16:40:29Z")

</div>

I wrote a sketch in Processing 3.5.4 that uses a collection of png and mp4 files as inputs, making use of the Video library for videos. On macOS, it runs perfectly. On Windows 10, however, it fails to load videos, either…

---

## [Strange aliasing on diagonal lines](https://discourse.processing.org/t/strange-aliasing-on-diagonal-lines/38927)

<div class="topic-metadata">

**Author:** [@louisk](https://discourse.processing.org/u/louisk)\
**Replies:** 3\
**Last updated:** [September 22, 2022, 8:43am UTC](https://discourse.processing.org/t/strange-aliasing-on-diagonal-lines/38927 "2022-09-22T08:43:42Z")

</div>

Hey folks. Newly returned to Processing after years away. Trying to get Processing to behave itself on my Windows 10 Surface Book. It’s displaying very strangely with heavy aliasing on diagonal lines, to the point of pi…

---

## [Nomenclature question for finding information about combining classes](https://discourse.processing.org/t/nomenclature-question-for-finding-information-about-combining-classes/38919)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 6\
**Last updated:** [September 22, 2022, 4:01am UTC](https://discourse.processing.org/t/nomenclature-question-for-finding-information-about-combining-classes/38919 "2022-09-22T04:01:21Z")

</div>

Hello!! Is this called nested classes? I need to know the correct name for placing a class within a class so I can search for reference materials. For example, if I have 3 separate classes: 1st one = Grid class 2nd …

---

## [Converting from int to long](https://discourse.processing.org/t/converting-from-int-to-long/38923)

<div class="topic-metadata">

**Author:** [@REK166](https://discourse.processing.org/u/REK166)\
**Replies:** 4\
**Last updated:** [September 21, 2022, 7:17pm UTC](https://discourse.processing.org/t/converting-from-int-to-long/38923 "2022-09-21T19:17:53Z")

</div>

how can i convert an int type into a long type value?

---

## [Making results of noise() seem more gradual](https://discourse.processing.org/t/making-results-of-noise-seem-more-gradual/38924)

<div class="topic-metadata">

**Author:** [@REK166](https://discourse.processing.org/u/REK166)\
**Replies:** 8\
**Last updated:** [September 21, 2022, 7:06pm UTC](https://discourse.processing.org/t/making-results-of-noise-seem-more-gradual/38924 "2022-09-21T19:06:38Z")

</div>

which noiseDetail() setting makes the output more smooth?

---

## [Can you find out the cause of the debugging in the program (exe) state?](https://discourse.processing.org/t/can-you-find-out-the-cause-of-the-debugging-in-the-program-exe-state/38898)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 9\
**Last updated:** [September 21, 2022, 12:06pm UTC](https://discourse.processing.org/t/can-you-find-out-the-cause-of-the-debugging-in-the-program-exe-state/38898 "2022-09-21T12:06:07Z")

</div>

Can you find out the cause of the debugging in the program (exe) state? For example, in the case of processing (run), a debugging log file can be obtained. In the case of processing (exe), is there a way to get …

---

## [My code is not running - i need help (it's in German) SOLVED](https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904)

<div class="topic-metadata">

**Author:** [@cherry](https://discourse.processing.org/u/cherry)\
**Replies:** 3\
**Last updated:** [September 21, 2022, 10:59am UTC](https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904 "2022-09-21T10:59:48Z")

</div>

\<double celsius, fahreinheit; void fahreinheitt(){ fahreinheit = (celsius\*1.8)+32; String fa = getTextFromConsole("Bitte geben Sie eine Zahl ein: "); double fahreinheit = Double.parseDouble(fa); println(“Temparatur …

---

## [Problem with Celsius-Asking questions](https://discourse.processing.org/t/problem-with-celsius-asking-questions/38881)

<div class="topic-metadata">

**Author:** [@nenairvin](https://discourse.processing.org/u/nenairvin)\
**Replies:** 3\
**Last updated:** [September 21, 2022, 8:42am UTC](https://discourse.processing.org/t/problem-with-celsius-asking-questions/38881 "2022-09-21T08:42:51Z")

</div>

Temperature conversion You have a fever if your ear temperature is above 100°F How to convert fahrenheit (f) to celsius (c)? what is the fahrenheit (f) to celsius (c) formula?

---

## [Distance conversion- Asking Questions](https://discourse.processing.org/t/distance-conversion-asking-questions/38879)

<div class="topic-metadata">

**Author:** [@vincenzo](https://discourse.processing.org/u/vincenzo)\
**Replies:** 3\
**Last updated:** [September 21, 2022, 8:08am UTC](https://discourse.processing.org/t/distance-conversion-asking-questions/38879 "2022-09-21T08:08:43Z")

</div>

I’m working and have a problem when converting distances. for example : How Many Centimeters In A Foot?, How Many Inches In A Foot? , How to converter Centimeters To Feet (cm to ft)? , How to converter CM To IN? Please…

---

## [Pong-Ball Game Bug](https://discourse.processing.org/t/pong-ball-game-bug/38794)

<div class="topic-metadata">

**Author:** [@isabela](https://discourse.processing.org/u/isabela)\
**Replies:** 2\
**Last updated:** [September 16, 2022, 10:27am UTC](https://discourse.processing.org/t/pong-ball-game-bug/38794 "2022-09-16T10:27:48Z")

</div>

I am trying to code a pong game. Even when following tutorials, the same bug appears: if you loose on the first try, the ball will never bounce on the rectangle. But if you win, the ball will bounce even when the rectang…

---

## [Offset when reading a sample](https://discourse.processing.org/t/offset-when-reading-a-sample/38883)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [September 20, 2022, 3:43pm UTC](https://discourse.processing.org/t/offset-when-reading-a-sample/38883 "2022-09-20T15:43:34Z")

</div>

Hello, I would like to resample a first sample of datas that following a circular movement. Moreover movement of first and second sample are made with interpolations. You make movement with mouseY, you trig the recordi…

---

## [Kinect 2 for Processing](https://discourse.processing.org/t/kinect-2-for-processing/38776)

<div class="topic-metadata">

**Author:** [@madtolla](https://discourse.processing.org/u/madtolla)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 7:28am UTC](https://discourse.processing.org/t/kinect-2-for-processing/38776 "2022-09-20T07:28:40Z")

</div>

hello, I got a bit error when running Kinect 2 with my processing here is the error message ‘ClassNotFoundException: KinectPV2.KinectPV2’ and here is the image of the error \*\*Note I tried every single example cod…

---

## [Updating ArrayList with additional instances of object](https://discourse.processing.org/t/updating-arraylist-with-additional-instances-of-object/38849)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 15\
**Last updated:** [September 20, 2022, 1:32am UTC](https://discourse.processing.org/t/updating-arraylist-with-additional-instances-of-object/38849 "2022-09-20T01:32:23Z")

</div>

Hello! I’ve think I’ve made some progress but… The goal is to: loop through an ArrayList which displays as a grid, – completed randomly select a few of the cells, – completed subdivide the selected into 4 smaller cel…

---

## [\[JAVA\] Get network information](https://discourse.processing.org/t/java-get-network-information/38866)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 12:32am UTC](https://discourse.processing.org/t/java-get-network-information/38866 "2022-09-20T00:32:19Z")

</div>

\[JAVA\] Get network information This is the source code to get network information. It would be good for reference. ref : Showing IP address of my device in the network? - Processing 2.x and 3.x Forum import java.net.…

---

## [setWidth() and setHeight() of Textlabel in ControlP5 not working](https://discourse.processing.org/t/setwidth-and-setheight-of-textlabel-in-controlp5-not-working/38662)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 12:18am UTC](https://discourse.processing.org/t/setwidth-and-setheight-of-textlabel-in-controlp5-not-working/38662 "2022-09-20T00:18:17Z")

</div>

Hello. I am trying to change widh and height of Textlabel in ControlP5. But I am not being able to change it. Please Help. Here is the code from ControlP5 library example. I changed it a little bit. import controlP5.…

---

## [\[JAVA\] Keypressed function / Can't I get Korean, Japanese, Chinese, etc.?](https://discourse.processing.org/t/java-keypressed-function-cant-i-get-korean-japanese-chinese-etc/38799)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [September 19, 2022, 10:56pm UTC](https://discourse.processing.org/t/java-keypressed-function-cant-i-get-korean-japanese-chinese-etc/38799 "2022-09-19T22:56:08Z")

</div>

\[JAVA\] Keypressed function / Can’t I get Korean, Japanese, Chinese, etc.? You cannot receive data through Keypressed. Is it correct that it cannot be received with the ‘Key’ function in processing? Or is there anot…

---

## [Creating a function that returns an ArrayList of manipulated objects](https://discourse.processing.org/t/creating-a-function-that-returns-an-arraylist-of-manipulated-objects/38824)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 6\
**Last updated:** [September 19, 2022, 8:00pm UTC](https://discourse.processing.org/t/creating-a-function-that-returns-an-arraylist-of-manipulated-objects/38824 "2022-09-19T20:00:03Z")

</div>

Hello!! I have been trying to figure out the syntax to create a method that will subdivide a GridCell object. The GridCells display in the main program in a 2-D grid. In the main program I want to be able to loop thru…

---

## [I have Some trouble with a ArrayList](https://discourse.processing.org/t/i-have-some-trouble-with-a-arraylist/38863)

<div class="topic-metadata">

**Author:** [@CreCo](https://discourse.processing.org/u/CreCo)\
**Replies:** 10\
**Last updated:** [September 19, 2022, 6:10pm UTC](https://discourse.processing.org/t/i-have-some-trouble-with-a-arraylist/38863 "2022-09-19T18:10:53Z")

</div>

Dear love Community, I have some trouble with a ArrayList. I have coded a little bit complex Program. In this Program I have a set of Classes. Of one of this Classes i have build a ArrayList. Then I have coded three…

---

## [Saving the sketch to a high quality JPG file](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846)

<div class="topic-metadata">

**Author:** [@Nik](https://discourse.processing.org/u/Nik)\
**Replies:** 2\
**Last updated:** [September 19, 2022, 4:01pm UTC](https://discourse.processing.org/t/saving-the-sketch-to-a-high-quality-jpg-file/38846 "2022-09-19T16:01:45Z")

</div>

Does anyone know how to save processing sketch as a high quality jpg file? When i use save(“\*.jpg”); and even set it to high resolution, the quality for some works is low, the colors of the original work and the saved…

---

## [From Processing to Arduino Stepper motor 28BYJ-48 with ULN2003](https://discourse.processing.org/t/from-processing-to-arduino-stepper-motor-28byj-48-with-uln2003/38804)

<div class="topic-metadata">

**Author:** [@rand\_colors](https://discourse.processing.org/u/rand_colors)\
**Replies:** 13\
**Last updated:** [September 19, 2022, 1:12pm UTC](https://discourse.processing.org/t/from-processing-to-arduino-stepper-motor-28byj-48-with-uln2003/38804 "2022-09-19T13:12:21Z")

</div>

Hi everyone, I need some help to figuring out , why I can’t send data for changing the Speed, from Processing to my stepper motor via Arduino. It’ should be very easy … I saw in the forum other people doing things wit…

---

## [I cant get this to work](https://discourse.processing.org/t/i-cant-get-this-to-work/38766)

<div class="topic-metadata">

**Author:** [@dep6142](https://discourse.processing.org/u/dep6142)\
**Replies:** 4\
**Last updated:** [September 19, 2022, 7:31am UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766 "2022-09-19T07:31:01Z")

</div>

I am trying to use this laser maze processing code and i cant seem to get it to work Laser Maze site and when i try and run it it says “Could not run the sketch (Target VM failed to initialize).”

---

## [Control servos using sliders](https://discourse.processing.org/t/control-servos-using-sliders/38787)

<div class="topic-metadata">

**Author:** [@jeffmorris1956](https://discourse.processing.org/u/jeffmorris1956)\
**Replies:** 7\
**Last updated:** [September 18, 2022, 9:11pm UTC](https://discourse.processing.org/t/control-servos-using-sliders/38787 "2022-09-18T21:11:57Z")

</div>

I’m trying to write Processing code that uses ControlP5 to create an GUI that have sliders that send values to Arduino code to control many servos. If I have four sliders called Hand, Wrist, Elbow, and Shoulder in Proces…

---

## [Looks like you are mixing "active" and "static" modes](https://discourse.processing.org/t/looks-like-you-are-mixing-active-and-static-modes/38833)

<div class="topic-metadata">

**Author:** [@RobM](https://discourse.processing.org/u/RobM)\
**Replies:** 2\
**Last updated:** [September 18, 2022, 10:22am UTC](https://discourse.processing.org/t/looks-like-you-are-mixing-active-and-static-modes/38833 "2022-09-18T10:22:07Z")

</div>

void placeRectangle2() { myRect = loadImage("myRect.jpg"); myRect.loadPixels(); loadPixels(); for(int j=0;j\<height;j++){ for(int i=0;i\<width;i++){ int loc=i+j\*width; pixels\[loc\]=myRect.pixels\[…

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

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