Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am hkrish on github.
  • I am hari (https://keybase.io/hari) on keybase.
  • I have a public key whose fingerprint is 87F4 9DD4 8505 437F 4AA9 7BC6 7644 1E66 8C53 16CE

To claim this, I am signing this object:

##
#
# Most of the source code, except for the ones dealing with matplotlib are
# a rough and direct translation from javascript code for bezier clipping.
# This was written to accompany the ipython notebook viewable at
# http://nbviewer.ipython.org/gist/hkrish/6527b9ad7cb7c2cc0cb0
#
# The original javascript source code is available under MIT licence from
# https://github.com/paperjs/paper.js/
@hkrish
hkrish / The Bezier Clipping Algorithm
Created January 13, 2015 17:58
An introduction into Bezier (fatline) clipping algorithm.
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "",
"signature": "sha256:593eded11564f2566908360259a51aa16c6bc5e39fff248061988cc58caf5721"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [