Skip to content

RobotNinja15/Flow-Field-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flow Field in C - Because C++ overwhelms me

This is a Simple flow field visualizer written in C.

Images:

11111image i1111mage image111 image11111

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

other

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

About

Flow field visualizer program written in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published