aboutsummaryrefslogtreecommitdiff
path: root/src/config.zig
blob: 98eab62e94a0c9210cc8dd6f1bd31c276fffdd00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const rl = @import("raylib");
const part = @import("particle.zig");

pub const screenWidth = 2880;
pub const screenHeight = 1620;
pub const particleMax = 5000;
pub const initialParticles = 2000;
pub const colorAmnt = colors.len;

pub var particleCount: i32 = initialParticles;
pub var radius: f32 = 100.0;
pub var minDistance: f32 = 20.0;
pub const colors = [_]rl.Color{
    rl.Color.red,
    rl.Color.green,
    rl.Color.blue,
    rl.Color.yellow,
    rl.Color.magenta,
    rl.Color.brown,
    rl.Color.orange,
    rl.Color.gray,
};
pub var rules: [colorAmnt][colorAmnt]f32 = undefined;