If you like messing with commands, you might thought about graphing something. But there's a problem. You can't put coordinate values into expressions, even if you try using commands, it would be very slow.
Select version for changelog:
Changelog
Status is now left undrafted.
More detailed description about how the behavour pack works.