Reduces the size of the static JSON data produced by the script by limiting precision to 4 decimal places.
This precision should be fine for the u & v vectors for display purposes. There isn't really any finer grained formatting available, though, so it's difficult (or impossible) to customize for different variables.
Reduces the size of the static JSON data produced by the script by limiting precision to 4 decimal places.
This precision should be fine for the u & v vectors for display purposes. There isn't really any finer grained formatting available, though, so it's difficult (or impossible) to customize for different variables.