The original hockey puck mouse had a ball (I had to Google it to confirm my memory, since otherwise it's just your memory against mine!)
https://en.wikipedia.org/wiki/Hockey_puck_mouse
I remember the later G3 education models my school had having a "laser" (I assume LED?) mouse.
Likely the iMac went the same way.