Skip to content

Instantly share code, notes, and snippets.

View thatcotter's full-sized avatar

Andrew Cotter thatcotter

View GitHub Profile
@thatcotter
thatcotter / particles.clj
Created March 11, 2018 19:56 — forked from nasser/particles.clj
particles
(ns nasser.particles)
(defn new-particle
([x y vx vy] {::x x ::y y ::vx vx ::vy vy})
([x y] (new-particle x y 0 0)))
(defn particles-at-origin [n]
(repeat n (new-particle 0 0)))
(defn random-particle []
@thatcotter
thatcotter / GIF-Screencast-OSX.md
Created June 26, 2017 23:51 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: