# Short guide about sending data from iframe embeded p5 sketches to a host webpage

**URL:** https://discourse.processing.org/t/short-guide-about-sending-data-from-iframe-embeded-p5-sketches-to-a-host-webpage/41029
**Category:** p5.js
**Created:** [February 23, 2023, 4:46pm UTC](https://discourse.processing.org/t/short-guide-about-sending-data-from-iframe-embeded-p5-sketches-to-a-host-webpage/41029 "2023-02-23T16:46:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![guidoschmidt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/guidoschmidt/32/16900_2.png) [@guidoschmidt](https://discourse.processing.org/u/guidoschmidt)
#### Post date: [February 23, 2023, 4:46pm UTC](https://discourse.processing.org/t/short-guide-about-sending-data-from-iframe-embeded-p5-sketches-to-a-host-webpage/41029/1 "2023-02-23T16:46:03Z")

</div>

Hey everyone ✌

just wanted to share this short blog post I recently wrote about sending data from p5 sketches embeded via `<iframe/>` on a host web page. Initially I stumbled upon this, when a student asked me for help while working on some tools for her bachelor thesis about generative design. Learned a lot myself, so I thought I’d be nice to share some learnings:

👉 [communication with p5 iframes](https://guidoschmidt.cc/journal/iframe-p5)

Just realised, this could probably also be used to communicate between a bunch of different `<iframe/>` sketches on one page, too (share the color palette or random seeds e.g.) 🤔
