# Glowy ellipses using javaFX bloom \[MULTIPLE QUESTIONS\]

**URL:** <https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156>\
**Category:** Coding Questions\
**Created:** [November 2, 2019, 8:08pm UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156 "2019-11-02T20:08:00Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 3, 2019, 10:12am UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/21 "2019-11-03T10:12:17Z")

</div>

Try changing PSurfaceFX into a normal PSurface. Since you didn‘t define the sketch differently in size() it should be default, and i doubt the default is fx, and more likely to be an AWT if it‘s Java2D… Anyway, FX probably isn‘t needed for the surface, so just change the Class from FX to the normal variant.

---

<div class="post-metadata">

**Author:** ![FilDomInteractive](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fildominteractive/32/6678_2.png) [@FilDomInteractive](https://discourse.processing.org/u/FilDomInteractive)\
**Post date:** [November 3, 2019, 10:14am UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/22 "2019-11-03T10:14:59Z")

</div>

Hello! Thank you for your help, but I just realized I said “javaFX” instead of “postFX”.

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 3, 2019, 10:16am UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/23 "2019-11-03T10:16:40Z")

</div>

Oh… you mean postFx the Library by cansik?

---

<div class="post-metadata">

**Author:** ![FilDomInteractive](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fildominteractive/32/6678_2.png) [@FilDomInteractive](https://discourse.processing.org/u/FilDomInteractive)\
**Post date:** [November 3, 2019, 10:18am UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/24 "2019-11-03T10:18:25Z")

</div>

yes postFX. idk if cansik made it.

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 3, 2019, 10:19am UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/25 "2019-11-03T10:19:24Z")

</div>

Then read the Code here :

> <https://github.com/cansik/processing-postfx/blob/master/examples/SimpleEffect/SimpleEffect.pde>

  
It perfectly shows how Bloom effect is implemented. 😅

Just add the 3 lines with fx to your code. Note, the third one is split in 4 lines.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 3, 2019, 10:22am UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/26 "2019-11-03T10:22:22Z")

</div>

see also

> [@Glowing ellipse](https://discourse.processing.org/t/glowing-ellipse/15099/7):
>
> please study that picture, you see install library find example run it find the bloom code line

---

<div class="post-metadata">

**Author:** ![FilDomInteractive](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fildominteractive/32/6678_2.png) [@FilDomInteractive](https://discourse.processing.org/u/FilDomInteractive)\
**Post date:** [November 3, 2019, 10:25am UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/27 "2019-11-03T10:25:54Z")

</div>

Thank you !!!

---

<div class="post-metadata">

**Author:** ![ericfickes](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ericfickes/32/7522_2.png) [@ericfickes](https://discourse.processing.org/u/ericfickes)\
**Post date:** [November 11, 2019, 9:38pm UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156/28 "2019-11-11T21:38:36Z")

</div>

Late to this party, but I have some JavaFX code inside of P5 JAVA to share if anybody finds this helpful. The only note I wanted to add to this thread is often times I work with **FX2D** in my setup() call.

> <https://github.com/ericfickes/PROCESSING_CODE/blob/master/FXinP5/FXinP5.pde>

FIXLIB can be found here, but there’s really no JavaFX specifics in there.

> **[ericfickes/FIXLIB](https://github.com/ericfickes/FIXLIB)**
>
> Processing Library. Contribute to ericfickes/FIXLIB development by creating an account on GitHub.

[Previous page](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156.md?page=1)
