added proof of concept  attractor with mousePressed