# Draw Pixels (Native Extension)

**URL:** <https://forum.defold.com/t/draw-pixels-native-extension/18946>\
**Category:** The Defoldmine\
**Created:** [April 13, 2018, 12:50pm UTC](https://forum.defold.com/t/draw-pixels-native-extension/18946 "2018-04-13T12:50:31Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [May 9, 2022, 8:59am UTC](https://forum.defold.com/t/draw-pixels-native-extension/18946/21 "2022-05-09T08:59:03Z")

</div>

Absolutely fascinating. Ended up watching the Biosim 4 video, and it’s highly recommended. Do post (maybe in a different thread?) any future experiments with this!

---

<div class="post-metadata">

**Author:** ![dlannan](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dlannan/32/39440_2.png) [@dlannan](https://forum.defold.com/u/dlannan)\
**Post date:** [May 9, 2022, 3:34pm UTC](https://forum.defold.com/t/draw-pixels-native-extension/18946/22 "2022-05-09T15:34:56Z")

</div>

> [@Defold + Biosim4](https://forum.defold.com/t/defold-biosim4/70882):
>
> I recently watched the great video on biosim4 here and was fascinated by the evolution approach taken. [[I programmed some creatures. They Evolved.] ](https://www.youtube.com/watch?v=N3tRFayqVtk) Ive always been interested in ALife type programs and have tinkered and made many myself. I thought it would be an interesting exercise to turn biosim4 into a little native extension. And with the help of the great drawpixels native extension from @AGulev it was in and working. Heres the project - Im going to add imgui so you c…

---

<div class="post-metadata">

**Author:** ![vikash](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vikash/32/22674_2.png) [@vikash](https://forum.defold.com/u/vikash)\
**Post date:** [April 5, 2023, 2:35am UTC](https://forum.defold.com/t/draw-pixels-native-extension/18946/23 "2023-04-05T02:35:17Z")

</div>

Example project used stretch projection and also canvas size is edge to edge to window size. But what will be approach for using this with fixed projection and if canvas part is smaller in size. How will achive drawing pixel align to mouse cursor in this case. Or if we are rendering on gui node then how drawing pixel align to mouse cursor position.

---

<div class="post-metadata">

**Author:** ![Tom\_Arnold](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/tom_arnold/32/21348_2.png) [@Tom\_Arnold](https://forum.defold.com/u/Tom_Arnold)\
**Post date:** [August 30, 2024, 11:57am UTC](https://forum.defold.com/t/draw-pixels-native-extension/18946/24 "2024-08-30T11:57:18Z")

</div>

I think atm it is broken. There seems to be a font missing, I replaced it with the default font, but still the brush won’t draw and something is broken. Might be related.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 30, 2024, 5:55pm UTC](https://forum.defold.com/t/draw-pixels-native-extension/18946/25 "2024-08-30T17:55:53Z")

</div>

Please create an issue on GitHub!

[Previous page](https://forum.defold.com/t/draw-pixels-native-extension/18946.md?page=1)
