Sorry for its messiness, there’s too little room to make it neat.
You may notice a strong resemblance between the outputs of this and the Chua oscillator. Mathematically the outputs are very similar structures, both being chaotic attractors.
I also made a Lorenz Attractor a while ago in the free coding app SoloLearn: https://code.sololearn.com/WLmxwggpd70z/?ref=app This link will likely take you to the desktop site which is extremely limited compared to the app, although the program will still run fine, but if you wish to interact with the community (e.g. post a comment on my code) then you need to get the mobile app which is free.