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

Hello @mayara,


Please read:
Guidelines—Asking Questions

You did not format your code correctly.

What is the source of this code?

Hints only:

  • reference | p5.js < 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:

It looks much better live than in a screen grab.