Questions tagged [processing]
Open-source programming language and IDE built to teach the fundamentals of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks.
21 questions
3
votes
2
answers
835
views
Multithread reading and processing when working with HDF5 files
I have a program that should read and process about 500,000 files in the format hdf5, each of them containing about 400 data points representing the coordinates of ...
3
votes
0
answers
97
views
Multiple circle - line crossing performance
So I made a game during the pandemic, and I really enjoyed seeing it grow and learn a ton of stuff and implement it.. The game is about small moving circles that cross a line and when they intersect ...
1
vote
2
answers
398
views
Simple definite integral calculator
I made this code to compute definite integrals in Processing. It works by getting the rectangle between the maximum value between the previous function value and the current function value, and then I ...
6
votes
2
answers
3k
views
Improving particle performance in P5.js
I have modified a particle system to create an effect similar to the one that I want. However, with any substantial amount of particles it performs very slowly on my laptop (around 1.7 fps at the ...
1
vote
3
answers
1k
views
Interactive Mandelbrot Set in Processing
I have created an interactive rendering of the Mandelbrot set in Processing. The image allows zooming (left and right mouse buttons) and translating (arrow keys) and prevents loss of quality by ...
2
votes
0
answers
107
views
Display Hex and Color of Web color based on Name
This code is written using the latest version of Processing. This has been compiled and proven working.
What this code does: Enter name of the web color listed in Wikipedia in the text field. Or ...
3
votes
1
answer
555
views
Lissajous pattern simulator
I had seen a YouTube video making actual Lissajous patterns with sand falling from a pendulum with 2 different periods and looking in the Wikipedia page the looked very easy to simulate.
I made a ...
3
votes
1
answer
1k
views
"Destroy the Asteroid" Game
I made this game for my computer science class.
Here is my professor's requirements:
Write a Processing program that draws a triangle in the middle of the window.
Rotate the triangle when the ...
2
votes
1
answer
4k
views
Pong game in Processing
I programmed a Pong game in the editor Processing. I would be glad if you could give some improvements.
...
2
votes
2
answers
212
views
My spaceship is slow to explode after being hit by the asteroid
I am making a game for my computer science class. My professor's requirements are:
Write a Processing program that draws a triangle in the middle of the window.
Rotate the triangle when the left and ...
6
votes
1
answer
4k
views
Java snow animation
I was inspired by this to write a graphic snow animation in Java/Processing. It works great, but it has some design issues.
The full project is here on github;
...
8
votes
1
answer
1k
views
Multi-function clock GUI
I was sitting in my bedroom, looking at my Powers of 2 clock sitting next to my radio, under my analog clock on the wall, and wondered to myself: "Why have all these different clocks when I can have ...
4
votes
1
answer
1k
views
Seven-segment display GUI
I am building a GUI to display a digital clock face (four seven-segment displays), and I have a selector to switch between 12/24-hour formats. I have working code to show both formats, but it is messy....
5
votes
1
answer
126
views
Clone of "Pop the Lock" iPhone Game
As an exercise, I decided to program my own version of the game Pop the Lock for the iPhone. The look and functionality are essentially the same, though the controls are modified for playing on a ...
4
votes
1
answer
156
views
Binary/yijing clock in Processing with excessive resource consumption
I've been learning Processing for the last week or two, and I've made a couple of little 'desktop toy' type apps like this one that I'm quite pleased with. However, it just occurred to me today to ...
2
votes
1
answer
163
views
Processing 2 Sketch
I'm working on a processing sketch here.
Main sketch:
...
0
votes
1
answer
130
views
New features for Processing game/desk accessory
I have written a simple desk accessory in Proccessing called Trip, you can see it below. It is working, but it is very simple, and needs more features.
...
1
vote
1
answer
3k
views
Organizing classes for Blackjack game
I have to write a Blackjack game for college using the Processing language. It has to be done in a strict object-oriented approach, so I can't make an object of a class in another class unless there ...
3
votes
1
answer
162
views
Zero crossings from a 1D signal
I'm trying to get the peaks/zero crossings from a basic 1D signal and am not sure if my naive/basic approach is correct:
...
3
votes
1
answer
542
views
Ray reflection with a triangle
I'm trying to reflect a ray of a triangle using Processing and not sure I got the code right. I'm using two bits of pseudo code from two locations:
Intersection of a Line with a Plane from Paul Bourke'...
6
votes
2
answers
594
views
Particles moving around a Perlin Noise field
I made this sketch in Processing (basically Java) that consists of a bunch of particles moving around a Perlin Noise field. Each particle is aware of the position of one other particle and this ...