Hi, as title say, my question is: there is a way for draw a function with axis programmatically?
I need to show some results to user in Cartesian coordinate system.
Hi, as title say, my question is: there is a way for draw a function with axis programmatically?
I need to show some results to user in Cartesian coordinate system.
There is no proper API for drawing lines, circles and other geometric shapes, but you could probably use draw_line to achieve what you need.
You could probably do what you want to do with shaders and render targets too. Can you describe / illustrate more of what you want to accomplish?
In the next release, we are adding some functionality to easier work with “buffers”. These buffers allow for easier communication between extensions and Lua, and we use them for instance to pass large data such as video or camera images from an extension to the engine (via Lua). The next release will allow you to do this directly from Lua.
Here is an example of this in action: creating a buffer (with pixels), and overwriting the texture of a sprite (the entire atlas)