Photocell Controlled Vibrating Motor

I'd really appreciate some help with a simple experiment I'm doing. I'm trying to wire up a CdS photoresistor to control the speed of a vibrating motor based on black/white marks on paper. I wired it up with a transistor, but it didn't seem to have much (if any) effect when I covered the photocell or shined light on it. Any help?