# this.\_renderer.applyMatrix is not a function

**URL:** <https://discourse.processing.org/t/this-renderer-applymatrix-is-not-a-function/11067>\
**Category:** p5.js\
**Created:** [May 9, 2019, 2:08pm UTC](https://discourse.processing.org/t/this-renderer-applymatrix-is-not-a-function/11067 "2019-05-09T14:08:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avatrin](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@Avatrin](https://discourse.processing.org/u/Avatrin)\
**Post date:** [May 9, 2019, 2:08pm UTC](https://discourse.processing.org/t/this-renderer-applymatrix-is-not-a-function/11067/1 "2019-05-09T14:08:09Z")

</div>

I tried running the final code from these examples:  
[https://p5js.org/reference/#/p5/applyMatrix](https://p5js.org/reference/#/p5/applyMatrix)

Yet, the animation doesn’t work locally nor on their own editor ([https://editor.p5js.org](https://editor.p5js.org)).

What am I missing?

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 9, 2019, 2:19pm UTC](https://discourse.processing.org/t/this-renderer-applymatrix-is-not-a-function/11067/2 "2019-05-09T14:19:08Z")

</div>

> [@Avatrin](#):
>
> Yet, the animation doesn’t work locally nor on their own editor ([https://Editor.p5js.org](https://Editor.p5js.org)).

Paste it here instead: [My Sketch - OpenProcessing](http://OpenProcessing.org/sketch/create)

For running p5js locally, read this:

> [@Code 800A0404 issue](https://discourse.processing.org/t/code-800a0404-issue/2036/3):
>
> Easiest & fastest recipe to run “.js” sketches under p5.js: running_man Install any Firefox-based browser in your OS and use it to open your “index.html” file: fox_faceInstall Notepad2 or Notepad++ (or both) in your OS and use it to type in your “sketch.js” file there: scroll[https://XhmikosR.GitHub.io/notepad2-mod/](https://XhmikosR.GitHub.io/notepad2-mod/)[https://Notepad-Plus-Plus.org](https://Notepad-Plus-Plus.org) You can setup those text editors to use UTF-8 and LF line endings for better compatibility. bulbHere’s my minimum “index.html” te…
