# Latest

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

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

**Page:** 114

---

## [Timing of the Daily User Statistics Update](https://discourse.processing.org/t/timing-of-the-daily-user-statistics-update/38943)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 11:26am UTC](https://discourse.processing.org/t/timing-of-the-daily-user-statistics-update/38943 "2022-09-23T11:26:59Z")

</div>

I sometimes check the user statistics page to find out who has been active over various periods of time. That page is updated approximately once per day, however the timing of the update varies. Evidently, the statistics…

---

## [Complex Fourier Transformation using Processing](https://discourse.processing.org/t/complex-fourier-transformation-using-processing/38946)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 12:44pm UTC](https://discourse.processing.org/t/complex-fourier-transformation-using-processing/38946 "2022-09-23T12:44:43Z")

</div>

I have made a few animations using complex Fourier Transformations and processing. Sketch to generate the points/\*\* ENGLISH Instructions: When the sketch launches you have to import a image. You can adjust said image b…

---

## [Viewing 360 degree videos](https://discourse.processing.org/t/viewing-360-degree-videos/25085)

<div class="topic-metadata">

**Author:** [@noahbuddy](https://discourse.processing.org/u/noahbuddy)\
**Replies:** 3\
**Last updated:** [September 23, 2022, 11:14am UTC](https://discourse.processing.org/t/viewing-360-degree-videos/25085 "2022-09-23T11:14:27Z")

</div>

Playing around with texture mapping. Can render “polar” or “skybox” type videos. Move the mouse to look around. If your video has a different mapping, I have not run across it. /\*\* \* Based on "Texture Sphere" examp…

---

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

---

## [Javascript class - class instance variables declaration](https://discourse.processing.org/t/javascript-class-class-instance-variables-declaration/38936)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 11:55pm UTC](https://discourse.processing.org/t/javascript-class-class-instance-variables-declaration/38936 "2022-09-22T23:55:05Z")

</div>

In Java I could: class Stuff{ //a instance var not got trough constructor color c = color(0,0,0); Stuff(float \_x){ float x = \_x; } } in js, instance vars need all to be inside the constructo…

---

## [\[p5\] I want to change the value of the gauge graphic in real time](https://discourse.processing.org/t/p5-i-want-to-change-the-value-of-the-gauge-graphic-in-real-time/38928)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 11:04pm UTC](https://discourse.processing.org/t/p5-i-want-to-change-the-value-of-the-gauge-graphic-in-real-time/38928 "2022-09-22T23:04:46Z")

</div>

\[p5\] I want to change the value of the gauge graphic in real time. Is there an easy way to change that value? link : p5.js Web Editor ref : Gauge charts in JavaScript source code index.html \<!DOCTYPE html\> \<html l…

---

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

---

## [Loading screen with preload](https://discourse.processing.org/t/loading-screen-with-preload/38917)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 16\
**Last updated:** [September 22, 2022, 3:44pm UTC](https://discourse.processing.org/t/loading-screen-with-preload/38917 "2022-09-22T15:44:19Z")

</div>

Hi all, I’m using the function preload in my p5 project, because of that I have a couple of seconds of a white page at the beginning, so I want to create a loading screen. I tried to do the following here: and instead…

---

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

---

## [Help with createSelect() using array](https://discourse.processing.org/t/help-with-createselect-using-array/38822)

<div class="topic-metadata">

**Author:** [@zara2355](https://discourse.processing.org/u/zara2355)\
**Replies:** 12\
**Last updated:** [September 22, 2022, 6:49am UTC](https://discourse.processing.org/t/help-with-createselect-using-array/38822 "2022-09-22T06:49:07Z")

</div>

Hi all, I was hoping to get some advice on how to use createSelect() a little better. im trying to incorporate a dropdown to use with an autosuggest in my sketch. I sort of have it working, but instead of listing each it…

---

## [Pass Slider value into a class](https://discourse.processing.org/t/pass-slider-value-into-a-class/38668)

<div class="topic-metadata">

**Author:** [@Tilman](https://discourse.processing.org/u/Tilman)\
**Replies:** 19\
**Last updated:** [September 22, 2022, 6:34am UTC](https://discourse.processing.org/t/pass-slider-value-into-a-class/38668 "2022-09-22T06:34:17Z")

</div>

I am doing the NOC 5.3 Steering Behaviour coding challenge and try to map certain values like: maxSpeed, maxForce, and slowRadius to sliders. I also watched the slider tutorials by dan but struggle to implement this corr…

---

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

---

## [Ichthyarchy: The Domain of Fishes](https://discourse.processing.org/t/ichthyarchy-the-domain-of-fishes/38913)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 5\
**Last updated:** [September 21, 2022, 6:35pm UTC](https://discourse.processing.org/t/ichthyarchy-the-domain-of-fishes/38913 "2022-09-21T18:35:14Z")

</div>

ichthyarchy: The domain of fishes; the fish-world in all of its orders. Reference: Saved .png image: Twelve swimming Fish objects are instantiated when the sketch is loaded. For each Fish, the initial location, di…

---

## [Help with javascript \`this\` keyword and \`bind\`](https://discourse.processing.org/t/help-with-javascript-this-keyword-and-bind/38897)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 11\
**Last updated:** [September 21, 2022, 2:34pm UTC](https://discourse.processing.org/t/help-with-javascript-this-keyword-and-bind/38897 "2022-09-21T14:34:59Z")

</div>

It’s a bit of a follow up of this question but no need to read back. As that one is marked solved, I’m starting a new topic. Not pasting the whole code, but making a pseudo example here to isolate the issue. I cooked …

---

## [Low video quality using createVideo](https://discourse.processing.org/t/low-video-quality-using-createvideo/38912)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 5\
**Last updated:** [September 21, 2022, 2:19pm UTC](https://discourse.processing.org/t/low-video-quality-using-createvideo/38912 "2022-09-21T14:19:52Z")

</div>

hey, I have a video.mp4 on my computer and I want to load it to a p5 sketch. this is the code: let pause\_vid = true; function preload() { vid = createVideo("video.mp4"); } function setup() { createCanvas(window.inn…

---

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

---

## [Calculate specific angle between velocity.heading and p5.Vector](https://discourse.processing.org/t/calculate-specific-angle-between-velocity-heading-and-p5-vector/38882)

<div class="topic-metadata">

**Author:** [@Tilman](https://discourse.processing.org/u/Tilman)\
**Replies:** 2\
**Last updated:** [September 21, 2022, 9:12am UTC](https://discourse.processing.org/t/calculate-specific-angle-between-velocity-heading-and-p5-vector/38882 "2022-09-21T09:12:10Z")

</div>

Hi, I know how to calculate an angle between two vectors and did this. But in this example (derived from the NOC steering behavior tutorial) I did calculate the angle from the vehicle to the center of the canvas(grey ci…

---

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

---

## [P5.js input text](https://discourse.processing.org/t/p5-js-input-text/38887)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [September 20, 2022, 9:57pm UTC](https://discourse.processing.org/t/p5-js-input-text/38887 "2022-09-20T21:57:02Z")

</div>

Hello all, I have 2 questions about text input. a) I am looking for a text field where suggestions of what you going to type appear underneath your text. Similar to when you use save as and type an existing file name …

---

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

---

## [AndroidWidgetCollection](https://discourse.processing.org/t/androidwidgetcollection/38889)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [September 20, 2022, 8:43pm UTC](https://discourse.processing.org/t/androidwidgetcollection/38889 "2022-09-20T20:43:01Z")

</div>

Collection of Android controls uploaded here: https://github.com/vsquared/AndroidWidgets\_Processing4\_0\_1. Controls were initially designed on a 10" tablet in landscape orientation and have not been tested on a smaller d…

---

## [2D displacement mapping for water effect](https://discourse.processing.org/t/2d-displacement-mapping-for-water-effect/3191)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 13\
**Last updated:** [September 20, 2022, 7:00pm UTC](https://discourse.processing.org/t/2d-displacement-mapping-for-water-effect/3191 "2022-09-20T19:00:45Z")

</div>

Hi all, I’ve recently stumbled on the work of Leonardo Solaas and was particularly interested in the technique used for his “Displacements” series. According to the brief description provided by the author, the wat…

---

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

---

## [How to combine React and P5.js? (loading image)](https://discourse.processing.org/t/how-to-combine-react-and-p5-js-loading-image/38877)

<div class="topic-metadata">

**Author:** [@Mangelo](https://discourse.processing.org/u/Mangelo)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 3:44pm UTC](https://discourse.processing.org/t/how-to-combine-react-and-p5-js-loading-image/38877 "2022-09-20T15:44:58Z")

</div>

Hi! I am currently learning P5.js, and I’m planning on using it with my personal portfolio. I managed to do what I want in p5.js, however, when I try to import it to my react project i’m not able to do it. This is what…

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

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