A downloadable game

Download NowName your own price

This is a simple Unity game that can visualize one or multiple vector fields put into a file into the following format:

<x position> <y position> <x component of vector> <y component of vector>

Please note, use the absolute path to the file and use 2 backslashes (\\) for each folder change. Also add the file extension for the input file.

Example: D:\\Data.dat

You can also go into settings and change the vector scale, maximum size of a vector, and y scale of the vector.

The view can be moved using the arrow keys and zoomed in or out with the numpad plus and minus.

The program works by reading each vector from the input file, line by line, then by converting the vector (which it interprets as a complex number in algebraic form) and it converts it into trigonometric form, after that it places a vector on the position and rotates it by the argument of the trigonometric complex number converted from radians to degrees. This process is repeated each line until the end of the file.

I find that it is acceptably performant, could be better.

Download

Download NowName your own price

Click download now to get access to the following files:

Vector Field Visualizer 2D Build.rar 15 MB

Leave a comment

Log in with itch.io to leave a comment.