# I can't make my lorenz attractor balls opaque help pls

**URL:** <https://discourse.processing.org/t/i-cant-make-my-lorenz-attractor-balls-opaque-help-pls/44599>\
**Category:** Coding Questions\
**Created:** [June 14, 2024, 10:40pm UTC](https://discourse.processing.org/t/i-cant-make-my-lorenz-attractor-balls-opaque-help-pls/44599 "2024-06-14T22:40:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 14, 2024, 11:46pm UTC](https://discourse.processing.org/t/i-cant-make-my-lorenz-attractor-balls-opaque-help-pls/44599/2 "2024-06-14T23:46:19Z")

</div>

Hello @mayara,

Welcome.

Please read:  
_[Guidelines—Asking Questions](https://discourse.processing.org/t/guidelines-asking-questions/2147)_

You did not format your code correctly.

What is the source of this code?

Hints only:

- _[reference | p5.js](https://p5js.org/reference/#/p5/fill)_ \< Add some color with opacity to the sphere.
- Remove the _background()_
- Make the sphere larger and remove the stroke.
- Add the end of _draw()_ overlay the the entire sketch window with a _rect()_ that is black and also has opacity.

Experiment a little with above to achieve desired results.

I did the above to achieve this:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/7/5/754209362c273784f9c29229097cbec75589991c.png)

It looks much better live than in a screen grab.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/i-cant-make-my-lorenz-attractor-balls-opaque-help-pls/44599)._
