diff options
author | psrcek <p.srcek@gmail.com> | 2016-08-03 23:48:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-03 23:48:15 +0200 |
commit | 94accc238a61fbef836cb98ddfd704300f126f78 (patch) | |
tree | 866a242fa41eb772c483379460098ac22650146d | |
parent | 2b803e8de818302e2a13f76cc5b248e24bf0ef24 (diff) |
Delete plotter.py
We have https://github.com/RedstonerServer/Parcels now.
-rw-r--r-- | plotter.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/plotter.py b/plotter.py deleted file mode 100644 index d598554..0000000 --- a/plotter.py +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/python - -""" -*Very basic* start of a custom plot-plugin like PlotMe -on hold because the PlotMe developer continued to develop PlotMe -""" - -import sys - -x_plot_size = 3 -z_plot_size = 3 -padding = 1 - -def base_coords(x, z): - pid = plot_id(x, z) - return [pid[0] * (x_plot_size + padding), pid[1] * (z_plot_size + padding)] - -def bounds(x, z): - base = base_coords(x, z) - return [base, [base[0] + x_plot_size, base[1] + z_plot_size]] - -def plot_id(x, z): - return [x // (x_plot_size + padding), z // (z_plot_size + padding)] - - -x = int(sys.argv[1]) -z = int(sys.argv[2]) -print "id: %s" % plot_id(x, z) -print "base: %s" % base_coords(x, z) -print "bounds: %s" % bounds(x, z) |