# P5.js copy() issue in Safari

**URL:** https://discourse.processing.org/t/p5-js-copy-issue-in-safari/16289
**Category:** Coding Questions
**Created:** [December 10, 2019, 8:46am UTC](https://discourse.processing.org/t/p5-js-copy-issue-in-safari/16289 "2019-12-10T08:46:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![5f5f5f](https://avatars.discourse-cdn.com/v4/letter/5/46a35a/32.png) [@5f5f5f](https://discourse.processing.org/u/5f5f5f)
#### Post date: [December 10, 2019, 8:46am UTC](https://discourse.processing.org/t/p5-js-copy-issue-in-safari/16289/1 "2019-12-10T08:46:22Z")

</div>

Hi everyone! Need help 🤯

I’m trying to make an animation like [this](https://timrodenbroeker.de/processing-tutorial-kinetic-typography-1/) using p5.js, and faced a really weird issue that is reproduced only in Safari browser, and i really don’t understand why it is happening (ellipse is just starting to blink). All goes well, until I use copy() method, which works just fine in Chrome & Firefox. Here is the code: [https://codepen.io/s5f5f5f/pen/ExaPeEm](https://codepen.io/s5f5f5f/pen/ExaPeEm)

 ![safari p5 issue](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/cc10075b4f959935a664db572786c8ab2620c1a0.gif)

This is just driving me nuts!  
Does anyone know how to fix that?

---

<div class="post-metadata">

### Author: ![5f5f5f](https://avatars.discourse-cdn.com/v4/letter/5/46a35a/32.png) [@5f5f5f](https://discourse.processing.org/u/5f5f5f)
#### Post date: [December 12, 2019, 11:41am UTC](https://discourse.processing.org/t/p5-js-copy-issue-in-safari/16289/2 "2019-12-12T11:41:12Z")

</div>

UPD Finally, I didn’t find out what was the problem, I suppose there are some issues with the copy () method itself in p5.js in some cases. Rewrote all that stuff fully on canvas, works perfect

---

<div class="post-metadata">

### Author: ![shemetsberger](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shemetsberger/32/13274_2.png) [@shemetsberger](https://discourse.processing.org/u/shemetsberger)
#### Post date: [May 16, 2021, 9:08am UTC](https://discourse.processing.org/t/p5-js-copy-issue-in-safari/16289/3 "2021-05-16T09:08:28Z")

</div>

hi! i am facing the exact same problem… any change you can share your custom code, that made it work?

would help me out a lot! thank you!  
best, sebastian

---

<div class="post-metadata">

### Author: ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)
#### Post date: [May 16, 2021, 5:20pm UTC](https://discourse.processing.org/t/p5-js-copy-issue-in-safari/16289/4 "2021-05-16T17:20:15Z")

</div>

Hi! Welcome to the forum!

Do you want to share the code? I cannot test on safari but this might help someone to look into the issue…
