A simple template for blocks gists. Replace the code, drop a new 230x120 png, and of course update this README. After updating, look for the result on the blocks account page.
<span class="target"> | |
<span> | |
<span style="letter-spacing:0.5pt; color:#595959;">a</span> | |
<span style="letter-spacing:0.8pt; color:#7F7F7F;">b</span> | |
<span style="letter-spacing:1.0pt; color:#7F7F7F;">c</span> | |
</span> | |
<span> | |
<span style="letter-spacing:0.6pt; color:#000000;">a</span> | |
<span style="letter-spacing:0.7pt; color:#A4A4A4;">b</span> | |
<span style="letter-spacing:0.8pt; color:#B3B3B3;">c</span> |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Ant sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Copyright (c) Rich Hickey. All rights reserved. | |
; The use and distribution terms for this software are covered by the | |
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php) | |
; which can be found in the file CPL.TXT at the root of this distribution. | |
; By using this software in any fashion, you are agreeing to be bound by | |
; the terms of this license. | |
; You must not remove this notice, or any other, from this software. | |
; Note: This code cannot run for very long on clojure 1.3 because |
blocks version of my silly radial clock program. This was made as an animation test and was reimplemented with various (clojure) libraries. More details available in the clocky repo and related talk slides.
An experimental followup from the js version of my silly radial clock program, this time programmed in clojurescript atop the nascent strokes library.
(Merge request? Use the repo version)
A quick throw together of a circle-packing example using a data file provided by zach atop my strokes library.
Note: There is a known performance problem with the library that is being looked into - this is running 1-2 orders of magnitude slower than normal.
The leaflet quick start tutorial mapped into ClojureScript atop a stub library called blade.
Part of the strokes ClojureScript interop library.
;(function(){ | |
/** | |
* hasOwnProperty. | |
*/ | |
var has = Object.prototype.hasOwnProperty; | |
/** |
. |
. |