Skip to content
Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

Author: elbeno

Miscellanea

elbeno, 14 April, 200814 April, 2008

Sorry for the relative blog silence recently. Here’s what I’ve been doing lately: Buying stuff at the local library book sale last weekend. Old maths textbooks FTW! Puzzling over how to approximate spirals with Bézier curves. Or otherwise thinking of a way to draw them. Having lunch with Gary. He…

Vecto get!

elbeno, 8 April, 20088 April, 2008

Xach has released version 1.2.1 of Vecto, featuring circle arc paths, and I’m sure a whole lot more on the drawing board. (asdf-install:install :vecto)

A bit of a new look

elbeno, 4 April, 20084 April, 2008

I broke out the programmer art skills and tweaked the header image to something a bit nicer than the default, and while I was at it, made myself an icon for the site. If the icon doesn’t show up for you, don’t blame me. Get yourself a standards–compliant browser. I…

Language memage

elbeno, 3 April, 20083 April, 2008

OK, this is going to be a strange mix. WHAT DO YOU CALL: 1. A body of water, smaller than a river, contained within relatively narrow banks. A stream. 2. What the thing you push around the grocery store is called. A trolley or a cart. Depends if the back…

Curve and Vector

elbeno, 30 March, 200830 March, 2008

Curve (com.elbeno.curve) is my common lisp package for doing cool things with two-dimensional curves. In particular, modulating cubic Bézier curves and splines, but also approximating arbitrary elliptical and circular arc segments with cubic Bézier curves. It depends on Vector (com.elbeno.vector), a cobbled together set of functionality for representing and manipulating…

Approximating elliptical arcs with Bézier curves

elbeno, 29 March, 2008

In doing my modulation work with curves and ellipses, I extended the vecto function for drawing an ellipse to enable an oriented ellipse. Lately it occurred to me that this didn’t go far enough in terms of functionality, and I began wondering about how to draw part of an elliptical…

Functional Fills with Vecto

elbeno, 25 March, 200825 March, 2008

I’ve been wanting to do exclusive-or functional fill in vecto for a while, so tonight I delved in. I added a pixel function to the graphics state and kept the default as the normal alpha-blending it was already doing. The pixel function signature is a bit clumsy, but it was…

The Hedgehog

elbeno, 16 March, 200820 March, 2008

The hedgehog is a noble beast; he keeps the garden clear Of slugs and snails and other pests throughout the temperate year. Just after dusk you’ll see him on his customary beat Hunting Lumbricus terrestris or some other juicy treat. Although he’s not the biggest or the fastest or most…

A bit of Pythagoras

elbeno, 15 March, 200815 March, 2008

Given Pythagorean triples that satisfy the Diophantine equation: a² + b² = c² where a, b and c share no common factors, one of a and b must be odd, the other must be even, and c is always odd. First, note that squares of even numbers are always divisible…

Even more on ellipses and splines

elbeno, 15 March, 200815 March, 2008

Honestly, they’re incredibly interesting. Anyway, I’ll skip straight to the pièce de résistance: This is a 4-curve cubic Bézier spline modulated onto an ellipse. The ellipse [a=4, b=3] is at an angle of π/4. C1 continuity of the complete curve is preserved. The flickr set tells the story of how…

  • Previous
  • 1
  • …
  • 21
  • 22
  • 23
  • …
  • 69
  • Next
©2026 Why is a raven like a writing desk? | WordPress Theme by SuperbThemes