YouTuber Jamie created a generator out of Lego that produces electricity by spinning in the air to generate power.
Using Lego Technic parts he created a turbine with the help of magnets to keep the rotor in mid air and spinning to generate power.
The generator works by using a few gas dusters to power the device, with the gas being made up of 70-80% butane and 20-30% propane.
From this, he was able to power a set of LEDs and a radio, though theSkip to 2:20 to see the demonstration of the generator working.
Although the generator is not the most practical way to generate power, the video is helpful for understanding the process and for mechanical engineering.
It is also interesting to note the dangers of using gas dusters, due to the harmful gasses they release into the atmosphere.