# OpenAI's ChatGPT is writing Processing sketches

**URL:** <https://discourse.processing.org/t/openais-chatgpt-is-writing-processing-sketches/39963>\
**Category:** Teaching\
**Created:** [December 1, 2022, 12:47pm UTC](https://discourse.processing.org/t/openais-chatgpt-is-writing-processing-sketches/39963 "2022-12-01T12:47:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [December 1, 2022, 12:56pm UTC](https://discourse.processing.org/t/openais-chatgpt-is-writing-processing-sketches/39963/2 "2022-12-01T12:56:27Z")

</div>

Just for fun, here is the AI trying to solve a real forum issue:

 ![Screenshot 2022-12-01 13:54:33](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/1/c/1c6a9b532ea951ca4ebb8d0012175718ff052cbb.png)

> [@'Scaling' the canvas?](https://discourse.processing.org/t/scaling-the-canvas/39909):
>
> Hello Is it possible to scale/change the resolution of the canvas in p5.js to create pixel type games? For example, to create a canvas which is 640x640 but will only display 160x160 ‘pixels’ (each being 4x4 actual pixels)? TIA Paul

---

_[View the full topic](https://discourse.processing.org/t/openais-chatgpt-is-writing-processing-sketches/39963)._
