aboutsummaryrefslogtreecommitdiffstats
path: root/test/scanTest2.c
blob: 40c82fe4b4922f987af810a6d2b081c6c4598ce2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>

#include "libsldj/util.h"

Color lineScanner(uint16_t x, uint16_t y, uint32_t frameNumber)
{
    return (Color){.r = x % 100 == 1 ? 255 : 0, .g = 0, .b = 0, .a = 255};
}