How to create a basket and have it open

My team is considering having a basket to collect the balls and have it open from below so they can drop it on the cube. Does anyone have any ideas on how they can open the basket in such a way?

I don’t have a good way to illustrate it, but if you used some gears that are perpendicular to the floor with beams sticking out, rotating the gears would move the beams. They would be parallel to the floor, to hold balls, and then rotated out/open to drop balls.