Add basic plotter for WebGL

There're still a bunch of TODOs. Will address those when we actually
have a need for this.

Change-Id: I137390d384967ffb618e0ecda37503e1e0df8301
diff --git a/frc971/analysis/plotting/BUILD b/frc971/analysis/plotting/BUILD
new file mode 100644
index 0000000..eb817ba
--- /dev/null
+++ b/frc971/analysis/plotting/BUILD
@@ -0,0 +1,30 @@
+cc_library(
+    name = "webgl2_plotter",
+    srcs = ["webgl2_plotter.cc"],
+    hdrs = ["webgl2_plotter.h"],
+    linkopts = [
+        "-s",
+        "USE_WEBGL2=1",
+        "-s",
+        "FULL_ES3=1",
+    ],
+    restricted_to = ["//tools:web"],
+    visibility = ["//visibility:public"],
+    deps = ["@org_tuxfamily_eigen//:eigen"],
+)
+
+cc_library(
+    name = "webgl2_animator",
+    srcs = ["webgl2_animator.cc"],
+    hdrs = ["webgl2_animator.h"],
+    linkopts = [
+        "-s",
+        "USE_WEBGL2=1",
+    ],
+    restricted_to = ["//tools:web"],
+    visibility = ["//visibility:public"],
+    deps = [
+        ":webgl2_plotter",
+        "@org_tuxfamily_eigen//:eigen",
+    ],
+)