# Https://processing.org/examples/hue.html

**URL:** <https://discourse.processing.org/t/https-processing-org-examples-hue-html/19506>\
**Category:** Coding Questions\
**Created:** [April 7, 2020, 3:47pm UTC](https://discourse.processing.org/t/https-processing-org-examples-hue-html/19506 "2020-04-07T15:47:25Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [April 16, 2020, 2:07am UTC](https://discourse.processing.org/t/https-processing-org-examples-hue-html/19506/5 "2020-04-16T02:07:06Z")

</div>

> [@wuzywute](#):
>
> how a working processing application can work in a website?

> [@wuzywute](#):
>
> how you embed a processing file in an html file

One way is to use p5.js rather than the original Processing (Java) mode

If you want a hosted solution and to embed a sketch, you can also use openprocessing – which can host processing.js (written in Java-style syntax) or p5.js (in JavaScript style). The example you linked is actually using processing.js – but for the web, p5.js is usually preferred.

See also:

> [@Processing web sketch embeds on this forum](https://discourse.processing.org/t/test-processing-web-sketch-embeds-on-this-forum/19097):
>
> Discourse has the ability to whitelist embedded iframes from select hosts. We could use this to enable embedding web-hosted Processing / p5.js sketches from community-trusted platforms such as the p5.js web editor, or [openprocessing.org](http://openprocessing.org), et cetera. An embed from [editor.p5js.org](http://editor.p5js.org): \<iframe src="https://editor.p5js.org/jeremydouglass/sketches/C8iRfwjx-" width="100%" height="510" allowfullscreen frameborder="0" marginwidth="0" marginheight="0"\>\</iframe\> An embed from [openprocessing.org](http://openprocessing.org) \<iframe…

---

_[View the full topic](https://discourse.processing.org/t/https-processing-org-examples-hue-html/19506)._
