DRAWFISHTANK is a proyect for draw a possible forms of fishtank can be easy to calcuate and draw DRAWFISHTANK is a part of proyects of wwwofish wwwofish git repo
p5js is incluide in hyperlink
depend of setInterval() for reload animation
git clone https://github.com/jero98772/dibujo_acuario_p5js.git
have some things in spanish like letter_for_science_fair and depend of setInterval() for reload animation
git clone -b español https://github.com/jero98772/dibujo_acuario_p5js.git
execute drawFISHTANK.html and the program open will be ask you the inputs to calculate depedes of drop-down list
is maded for make the presentation of science fair more interactive work without p5js
git clone -b esp32_server_to_expose https://github.com/jero98772/dibujo_acuario_p5js.git
you need a esp32 and arduino ide
this video can help you youtube go to preferences and add in "additional boards manage URLs" this
https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
this is for you can download borad and libraris in esp32
go to boards and search esp32 and download
and you need WiFi.h to generate a network (if you need install go to manage libaris and search and install)
verify that all working and click in upload
upload file "esp32_server_to_expose" default to esp32 with before configurations and conenct to wifi of esp32 (default wifi are "feria_ciencias_volumenes")the program open will be ask you the inputs
this have is made in OOP for not use the fuction setInterval() for reload page
git clone -b drawFISHTANK https://github.com/jero98772/dibujo_acuario_p5js.git
execute drawFISHTANK.html and the program open will be ask you the inputs to calculate depedes of drop-down list
cubic --> (a pow 2)/1000 = volumen in liters
rectagle --> (side1 * side2 * side3)/1000 = volume in liters
triangle --> (((base * base_heigth)/2) * Heigth)/1000 = volume in liters
cylinder --> (3.141592653592 * Radio * Heigth)/1000 = volume in liters