#include "shader.h" void init_status(Status* status) { status->index = 0; status->time = 0; } Color shader(Status* status) { if (status->index == 0) { return hex_to_color(0xFFFFFF); } return hsv_to_color(status->time * 120 + status->index * 6, 1, 1); }