function love.draw() local eyeX = 200 local eyeY = 200 local distanceX = love.mouse.getX() - eyeX local distanceY = love.mouse.getY() - eyeY local distance = math.sqrt(distanceX^2 + distanceY^2) local angle = math.atan2(distanceY, distanceX) love.graphics.setColor(1, 1, 1) love.graphics.circle('fill', eyeX, eyeY, 50) love.graphics.setColor(0, 0, .4) love.graphics.circle('fill', 200, 200, 15) love.graphics.setColor(1, 1, 1) love.graphics.print(table.concat({ 'distance x: '..distanceX, 'distance y: '..distanceY, 'distance: '..distance, 'angle: '..angle, }, '\n')) end