aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/particle.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/particle.zig b/src/particle.zig
index 00eace7..e0cb789 100644
--- a/src/particle.zig
+++ b/src/particle.zig
@@ -20,15 +20,15 @@ pub fn ruleMatrix() [cfg.colorAmnt][cfg.colorAmnt]f32 {
/// Prints rules generated from ruleMatrix()
pub fn printRules(rules: [cfg.colorAmnt][cfg.colorAmnt]f32) void {
- std.debug.print("\n|{s:^6}", .{"Rules"});
+ std.debug.print("\n| {s:^7} ", .{"Rules"});
for (0..cfg.colors.len) |c|
- std.debug.print("| {s:^4} ", .{colorToString(c)});
+ std.debug.print("| {s:^7} ", .{colorToString(c)});
std.debug.print("|\n", .{});
for (rules, 0..) |row, i| {
- std.debug.print("| {s:^4} ", .{colorToString(i)});
+ std.debug.print("| {s:^7} ", .{colorToString(i)});
for (row) |col|
- std.debug.print("| {d:^4.1} ", .{col});
+ std.debug.print("| {d:^7.1} ", .{col});
std.debug.print("|\n", .{});
}