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.
Edit: It's entirely outdated now, and based on the other packs made at a similar time, this one probably won't be updated either.