Dimmer switch for bicycle generated power

Hi - my project doesn't involve heavy machinery but it does involve motors, mechanics and power.
I've created a VR video game that is controlled by the users heart rate while they pedal a stationary bike.
I want to dynamically adjust the bikes back wheel resistance based on the gear they are in inside the game. To do this my bike is mounted on a stand and the back wheel is connected to a scooter motor and this bike motor [rotated by the cyclist] powers a 100watt bulb.

I want to dynamically adjust the dimness of the bulb to affect the ease of the engine shaft rotation. I have seen tutorials on creating a dimmer switch from scratch but unfortunately I don't have the electronics know how or the time to create one from a schematic and was wondering if there is any online store where a pre-made arduino dimmer switch could be purchased ?

This is done in motor controllers using a PWM switched load resistor (aka braking resistor). So add
extra bulbs with a PWM'd MOSFET?

You could switch in and out a whole set of lower current bulbs to provide several load levels without
needing PWM, but that takes more hardware (but less programmin).

Premade? I doubt there's anything like this available unless you buy an entire motor controller, and
they don't usually like having the motor back-driven at speed as a generator.

Thanks for the advice - I'll give that a go.

There have been several projects here where they were using bicycles, generators and lights to show output etc. One thing to consider with a light bulb is they change resistance depending on how bright they are, so it makes the response a somewhat non-linear load. Not sure how much change that is, but worth checking out. A different way to do it that could be more linear would be a load resistor (with a heat sink) and then you measure the voltage across the resistor and turn on various lights as appropriate for the different output levels (or some combination of the light and load resistor to flatten the non-linearity). Seems to me someone in good shape can put out somewhere in the 350watt range continuously - not sure about that number though.

Thanks for the info Mikey - I'll check it out