| Title | openclose |
| Creator | Tim |
| Year | 2024 |
| File Size | 108.18 KB |
| Dimensions | 128x128 px |
| Frames | 128 |
| Colors | 7 |
| Description | int[] state; int tilesX = 8; int tilesY = 4; int max = 8; void setup() { // Here you can change the final format size(128, 128, P2D); state = new int[tilesX * tilesY]; for (int i = 0; i < state.length; i++) { float driver1 = sin(radians(i*9)); float driver2 = sin(radians(i*9)); state[i] = int(map(driver1, -1, 1, 0, max)); } //frameRate(5); } void draw() { float driver = map(frameCount, 0, 128, 0, 360); background(#aaaaaa); int x = 0; int y = 0; … |
| Tags | #128x128, #Processing |