Recurrence relations are very often taught in first- or second-year computer science and discrete mathematics courses. This post takes a somewhat different and more visual approach to understanding linear recurrences and solving them by drawing the link between linear recurrences, automata, and matrices, using the problem of generating all domino-tilings of a board as the springboard. Code in Python and visualizations in JavaScript are used to demonstrate the ideas.
-
-
Visualizing Philosophers And Scientists By The Words They Used With Python and d3.js
Creating a word-cloud based off of publicly available project Gutenberg books, with d3.js and Python.
-
Visualizing the Convex Hull Using Raphaël
Visualizing a simple incremental convex hull algorithm using HTML5, JavaScript and Raphaël, and what I learned from doing so.