Creating visualisations
Given a terrain with 2D inputs, we can visualise it as a map.
Last modified 2026-01-06
Jasper Shuoyang Zheng
Since the control space is 2D, the latent space can be visualised by sampling the control space across a closed interval (i.e., width and height in this example). Use the plot_interval message to do this:
plot_intervalfor 2D plane takes 6 arguments:- interval value boundary at the left, top, right, bottom (these usually are the same as the
values_boundattribute ofnn.terrain.gui), and the resolution of the x and y axes (these usually are the same as the width and height ofnn.terrain.gui)
The greyscale visualisation is like a surface map that looks at a terrain from above, where brighter pixels denote higher latent value.