This showcases how more CO2 should mean more Oxygen. In this case I use the photosynthesis formula and have carbon dioxide as an editable variable. If the number you input is dididisible by 6 then you get the BIG number as an Oxyegen output.
Sadly I wasn't able to get the oxygen bubbles workinmg nor having that if the input isn't exaclty divisible by 6 then just get the next closest.