The old picture shrinking to a point (the screen's centre unless to names one) over the new scene.
to
import { shrink } from '@datamoc/mwg/two-d/render';const closeToButton = shrink({ to: { x: 700, y: 40 } });console.log(closeToButton.name); // 'shrink' Copy
import { shrink } from '@datamoc/mwg/two-d/render';const closeToButton = shrink({ to: { x: 700, y: 40 } });console.log(closeToButton.name); // 'shrink'
The old picture shrinking to a point (the screen's centre unless
tonames one) over the new scene.