This is a Simple flow field visualizer written in C.
The code is not the best to be honest, but I have made some effort to add comments to make everything clear.
I made use of the dos-like library/framework made by Mattias Gustavsson.
If you want to compile this you will need the Tiny C compiler, which is bundled with the files:
tcc\tcc .\main.c dos.c
There are adjustable values in the program that you can change to get different patterns.
#define NB
#define NOISE_SCALE
#define NOISE_ANGLE
float noiseSpeed
I made this because I couldn't find any "simple" C implementation of a flow field. All or most of the examples I could find were in C++ and that language overwhelms me, so I avoided even checking them out.
Anyway enjoy.
Kenneth