Flow

Today, we were left to our own devices as we weren’t required to meet with Dr. Aziz. I continued my work on simulation water flow through a fungal filter by making nutrients, O2, Co2, etc. spawn at the bottom of the screen and move upwards, vanishing as it reaches the top. However, when the speed of the water is set above 1, nothing moves upwards properly, leading to a giant dead zone where only the top and bottom rows have these nutrients.

The problem is this one line of code, which is supposed to make the nutrients disappear if they’re about to exit the top of the screen, but is apparently going gung-ho on everything and deleting it all as soon as it spawns in.

As I don’t know how to solve the issue, I’ll have to consult with Dr. Aziz tomorrow.

Leave a Reply

Your email address will not be published. Required fields are marked *

Skip to toolbar