Skip to content

Instantly share code, notes, and snippets.

View pmonks's full-sized avatar
👔
Preparing TPS report cover pages

Peter Monks pmonks

👔
Preparing TPS report cover pages
View GitHub Profile
@pmonks
pmonks / quil-radar-chart.clj
Last active November 19, 2018 19:24
quil-radar-chart.clj
; Start a REPL with `lein try quil`, on JDK 1.8 (quil is not yet functional on JRE 9+)
(require '[quil.core :as q])
; Tunables (feel free to play with these)
(def window-size [1000 1000]) ; Initial size of the window
(def num-dimensions 9) ; Number of "dimensions" (spokes) to draw
(def num-circles 10) ; Number of circles in the chart
(def save-image (atom true)) ; Save the image (to a PNG) once, after it's first drawn
; Other constants (do not touch!)

Keybase proof

I hereby claim:

  • I am pmonks on github.
  • I am pmonks (https://keybase.io/pmonks) on keybase.
  • I have a public key ASCxXap2ro4H4RZvS9DP6oEMvE4uCx-z-eOCBZZj5aj5SQo

To claim this, I am signing this object:

/*
*
* Copyright © 2011-2016 Peter Monks ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*