Skip to main content

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.

3votes
2answers
766views

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 ...
John K's user avatar
3votes
0answers
55views

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 ...
dedepe's user avatar
1vote
2answers
340views

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 ...
Simple coder's user avatar
6votes
2answers
3kviews

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 ...
Zach Saucier's user avatar
1vote
3answers
1kviews

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 ...
Light Drake's user avatar
2votes
0answers
91views

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 ...
Masoud Nazemi's user avatar
3votes
1answer
503views

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 ...
Caridorc's user avatar
3votes
1answer
1kviews

"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 ...
Ping Lin's user avatar
2votes
1answer
4kviews

Pong game in Processing

I programmed a Pong game in the editor Processing. I would be glad if you could give some improvements. ...
panden's user avatar
2votes
2answers
178views

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 ...
Ping Lin's user avatar
6votes
1answer
4kviews

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; ...
J Atkin's user avatar
  • 1,810
8votes
1answer
1kviews

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 ...
Eric Roch's user avatar
4votes
1answer
1kviews

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....
Eric Roch's user avatar
5votes
1answer
112views

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 ...
Eric Roch's user avatar
4votes
1answer
111views

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 ...
Toadfish's user avatar

153050per page
close