Functional Heatmap
A real-time visualization system for conditioned time-dependent functions that represents their movement in heatmaps.


Project Details
Functional Heatmapping is a visualization system for conditioned time-dependent functions. It represents the functions in real-time heatmaps and calculates their movement. It can identify when functions cross the perimeter boundary or satisfy other specified conditions, providing clear visual insight into their paths. Using this tool, Bellman’s Lost in a Forest problem can be visually verified in seconds by representing time-dependent function data in real-time heatmaps. This ensures rapid, accurate verification of solutions for any conditioned time-dependent function. Behind the scenes, Functional Heatmapping is simulating thousands of copies of the same function from equally spaced starting points towards many directions. It tracks each of these functions until a condition is met, averages the times retrieved, and assigns it to its unique grid space to create the functional heatmap.
Functional Heatmapping is a visualization system for conditioned time-dependent functions. It represents the functions in real-time heatmaps and calculates their movement. It can identify when functions cross the perimeter boundary or satisfy other specified conditions, providing clear visual insight into their paths. Using this tool, Bellman’s Lost in a Forest problem can be visually verified in seconds by representing time-dependent function data in real-time heatmaps. This ensures rapid, accurate verification of solutions for any conditioned time-dependent function.
Note: As Functional Heatmapping is being actively developed, it may occasionally generate incorrect information. I am committed to remedying these issues, and encourage you to reach out if you find any instances of this.
Getting Started with Functional Heatmapping
The system offers a few starter variables for you to modify and use, allowing you to change the shape, accuracy, function, and grid size of the heatmap.
- Shape: Shape is the type of shape you want to calculate the average exit time for. Options are 'circle', 'square', 'triangle', or 'rectangle'
- Accuracy: Accuracy is the number of directions checked for the average exit time calculation. Higher accuracy means more directions are checked
- Function: Function is the type of growth function used for the trajectory. Options are 'straight_line', 'exponential', 'logarithmic', 'inverse', or 'spiral'
- Grid Size: Grid size is the number of points in the x and y directions for the heatmap. Higher grid size for finer resolution
An example to visualize a heatmap of the straight_line function (y=t) with accuracy 3 (2^3 directions) and grid size 25 (25^2 points) for a circle shape:
Run the code with these modified variables to visualize:
Functional Heatmapping is optimized for you to create your own functions or shapes as well. Refer to code for setting up and testing your own functions or boundaries.
Behind the Scenes
In the background, Functional Heatmapping is simulating thousands of copies of the same function from equally spaced starting points on grid of size grid_size towards 2^(accuracy) directions from the origin point. It tracks each of these functions until a condition is met, in this case, hitting the perimeter of the boundary. It runs this simulation for each direction individually, then averages the times retrieved and assigns it to its unique grid space. Once the entire grid is populated with these average times, we convert the matrix to a heatmap which can be visualized easily, creating a functional heatmap.
Contributing
If you would like to contribute, please fork the repository, create a new branch for your feature or bug fix, and submit a pull request. Feel free to open an issue to discuss any new ideas or questions beforehand.