Exactly what Dale said
Having done hobby electronics, and buying my LEDs from Super Bright for years - trying to 'MacGyver' a solution without having that background will probably end up with blown LEDs
Get a dedicated dimming circuit - it might cost a little bit, but at least your LEDs will...