python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How do I oscillate the height of individual shapes whilst keeping the total height of their sum constant?
I am trying to create an effect where the total height of a group of shapes is constant (say 300), whilst each shape within that group has a dynamic, oscillating, height. In one instance, maybe the mi...

Danny
Votes: 0
Answers: 2
Drawing image from external class in Processing
I'm trying to create an external Archer class for a tower defense game with its own draw function, but I'm having trouble accessing the image function from within the Archer class. I've got a workarou...
matthillial
Votes: 0
Answers: 2
trying to make overlapping rectangles on canvas grid
I´m trying to make a grid with overlapping squares that change between black and white. So far I could do the grid responsive to the canvas, also assign a random color, but the overlapping part doesnt...
elis-MM
Votes: 0
Answers: 1
P5.JS - Action every few seconds
I am quite new to p5 and would need some advice.
Is it possible to trigger an action only every few seconds?
For example: After two seconds i++;
If I use draw() or an own loop function it just goes wa...
Skaend
Votes: 0
Answers: 1