Blur filter not working on image in createGraphics image... says: Cannot read property 'getContext'

Hi..

I have a main canvas where i have text..

I want to add a drop shadow to this text... So i created a createGraphics image.. where i paint the same text

In this new createGraphics image i want to add a blur.. and then copy this blured image to my main canvas....

But when i try to apply the blur.. i get this error:

** Cannot read property 'getContext' of undefined**

In this sketch in line 75.. if you uncomment thte line where i add the blur.. it get the error.. : https://codepen.io/giorgiomartini/pen/LzQeGQ?editors=0010

Any idea what is the problem?

Answers

Sign In or Register to comment.