# Exists a way to draw a plot function?

**URL:** <https://forum.defold.com/t/exists-a-way-to-draw-a-plot-function/6375>\
**Category:** Questions\
**Created:** [March 16, 2017, 8:09am UTC](https://forum.defold.com/t/exists-a-way-to-draw-a-plot-function/6375 "2017-03-16T08:09:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [March 16, 2017, 12:07pm UTC](https://forum.defold.com/t/exists-a-way-to-draw-a-plot-function/6375/4 "2017-03-16T12:07:59Z")

</div>

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](https://forum.defold.com/t/native-extensions/4946/20) of this in action: creating a buffer (with pixels), and overwriting the texture of a sprite (the entire atlas)

---

_[View the full topic](https://forum.defold.com/t/exists-a-way-to-draw-a-plot-function/6375)._
