# Trying to run p5 code on codepen, what files to include, pls?

**URL:** <https://discourse.processing.org/t/trying-to-run-p5-code-on-codepen-what-files-to-include-pls/26615>\
**Category:** Beginners\
**Created:** [December 30, 2020, 8:52am UTC](https://discourse.processing.org/t/trying-to-run-p5-code-on-codepen-what-files-to-include-pls/26615 "2020-12-30T08:52:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richengle](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@richengle](https://discourse.processing.org/u/richengle)\
**Post date:** [December 30, 2020, 8:52am UTC](https://discourse.processing.org/t/trying-to-run-p5-code-on-codepen-what-files-to-include-pls/26615/1 "2020-12-30T08:52:29Z")

</div>

i ami trying to run some p5 code from [https://editor.p5js.org/aatish/sketches/SJoT7GDtf](https://editor.p5js.org/aatish/sketches/SJoT7GDtf) on codepen [html/CSS/JS intepreter] I have included [https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.min.js](https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.min.js) and many others…  
yet nothing at all happens.

Can someone please recomend files to include, or other hints?

thx,  
Rich

---

<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:** [December 30, 2020, 9:21am UTC](https://discourse.processing.org/t/trying-to-run-p5-code-on-codepen-what-files-to-include-pls/26615/2 "2020-12-30T09:21:34Z")

</div>

> [@richengle](#):
>
> Can someone please recomend files to include, or other hints?

https://codepen.io/GoSubRoutine/embed/preview/KaerGb?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=KaerGb
