This document proposes using a semi-active tuned mass damper (TMD) pendulum to control vibrations in offshore wind turbines. It describes a mathematical model of the wind turbine tower and floating foundation as an inverted pendulum. A bang-bang control strategy is used to vary the TMD pendulum's stiffness and damping between optimal values calculated using linear quadratic regulation. Simulation results show the semi-active TMD reduces tower vibrations compared to a passive TMD or no control across different wind conditions. While preliminary, the study demonstrates semi-active control's potential to effectively dampen offshore wind turbine vibrations.