Element Test - Plus Automatic Image Update
2021-6-9
Made with draft 16 of the project, as a way of testing all the elements that the engine can render. This collection will of course change in future - as the character and string elements are added - but with the addition of the image element and its auto-update feature, I wanted to share how it is right now.
In this demo you can see that we've expanded from just being able to render a rectangle (and the group). Now available are:
- Rectangle With Outline
- Circle
- Circle With Outline
- Polygon
- Polygon With Outline
- Path
- Image

You'll notice that this demo also comes with an "images" folder, which contains the file used in the Image element: "colour_squares.jpg". You can modify this file how you like and the system will render it. Whats more; you don't have to restart the program for those updates to take effect. The engine is constantly checking that file every second for changes, so once you press save in your editor - the engine will reload and re-render the image automatically.