The user test feedback mentioned: "for extending a simulation with animation, searching for icons may take longer than implementing the visualization".
The idea of this task is to elaborate the idea of providing default icons.
Currently two ideas of a possible integration exist.
Icons as base64 string as part of simplay
The icons are part of the simplay package encoded in base64 and could be used like the following:
from simplay import SimplayIcon
env.visualization_manager.register_base64('MONKEY', SimplayIcon.MONKEY)
env.visualization_manager.register_base64('BANANA', SimplayIcon.BANANA)
The big advantage of having the icons in the same Package is that no additional installation is required.
Icons as base64 in another package
The icons are part of a new package encoded in base64 and could be used like the following:
from simplay_icons import SimplayIcon
env.visualization_manager.register_base64('MONKEY', SimplayIcon.MONKEY)
env.visualization_manager.register_base64('BANANA', SimplayIcon.BANANA)
The advantage of this is that the simplay package is not polluted with images. Maybe there is already a library available that provides such icons and could be used easily.
DoD:
The user test feedback mentioned: "for extending a simulation with animation, searching for icons may take longer than implementing the visualization".
The idea of this task is to elaborate the idea of providing default icons.
Currently two ideas of a possible integration exist.
Icons as base64 string as part of
simplayThe icons are part of the
simplaypackage encoded in base64 and could be used like the following:The big advantage of having the icons in the same Package is that no additional installation is required.
Icons as base64 in another package
The icons are part of a new package encoded in base64 and could be used like the following:
The advantage of this is that the
simplaypackage is not polluted with images. Maybe there is already a library available that provides such icons and could be used easily.DoD: