dream geography

In a dream, while strolling among bookshops and the like, I chance to meet someone who hates me but is constrained to be polite. With a venomous smile that person asks, the better to avoid them, on what streets one is most likely to meet me. I name two streets in Oakland, one in Berkeley and one in San Francisco.

On waking, I remember that none of those streets exists.

Posted in psychology | Leave a comment

models of the 35 smallest fullerenes

I noticed that Shapeways had 13 models of the roundest of the fullerenes (one of the 1812 forms of C60), but none of the less regular forms; so I made some.

Each of the white pieces has mirror symmetry; the red pieces are chiral. Not shown (because it hasn’t been printed yet): the blue set, which is a reflection of the red set. The idea is that you buy both red and blue if and only if you count reflected chiral forms separately.

These figures have 12 pentagons and up to 8 hexagons. They include the two smallest forms with no nontrivial symmetries, and the two smallest with no ‘peaks’ where three pentagons meet.

Posted in merch, sciences | 4 Comments

FCC cube generator

I could have used this a week ago.

def fccstack():
	newlimit = 0
	while True:
		oldlimit = newlimit
		newlimit += 1
		# extend z
		for x in xrange(oldlimit):
			for y in xrange((x+oldlimit)&1, oldlimit, 2):
				yield (x,y,oldlimit)

		# extend y
		for x in xrange(oldlimit):
			for z in xrange((x+oldlimit)&1, newlimit, 2):
				yield (x,oldlimit,z)

		# extend x
		for y in xrange(newlimit):
			for z in xrange((y+oldlimit)&1, newlimit, 2):
				yield (oldlimit,y,z)

g = fccstack()
for dummy in xrange(512):
	p,q,r = g.next()
	print "%d %d %d\t%d" % (p,q,r, p+q+r)

This lists coordinates of sites in a face-centred cubic lattice, filling the smallest cube that contains the number of sites required.

Posted in mathematics, neep-neep | Leave a comment

some thoughts about packing

My bundle of 19 fullerenes is arranged in a face-centred cubic lattice, each ball occupying one of the 24 even-numbered cells of a 4×4×3 array (and parts of the adjacent cells). The spacing of the grid planes is determined by the sums of the radii of the circumspheres of nearest-neighbor balls.

There appears to be much more ‘daylight’ between balls than necessary. That’s not a problem here, as the size of the bounding box is not near the limits of the process; but still it got me thinking about how to tighten the packing. Continue reading

Posted in mathematics | 3 Comments

in which I curse my lack of omniscience

I want to push several hundred greyscale images through a threshold filter, so that an output pixel is black or white according to whether the corresponding input pixel is less or more than 1/2 bright. (My goal is a ‘woodcut’ effect.)

ImageMagick can apparently do this with one command, but I lack a library that it needs.

GIMP has a menu command with this function, but to do it from a script it seems I’d need to learn Scheme.

I could write a program using Python Imaging Library (which I’ve used to output most of my mathematical designs in recent years), but so far in RTFM I can’t tell how to, y’know, access the pixels it reads in. Later: Found a better FM.

Wish me luck.

Posted in neep-neep | 2 Comments

small irregular fullerenes

Shapeways has thirteen models of (the most symmetrical and famous form of) C60, but none of the thousands of smaller fullerenes. So I designed models of the 35 smallest, i.e. up to C36; this includes the smallest with no symmetries, and the smallest with no ‘peaks’ where three pentagons meet. One bundle has the 19 forms with mirror symmetry; two other bundles will have the 16 or 32 chiral forms (arbitrarily divided), so that the buyer can choose to have both or only one of a pair distinguished only by handedness.

I’ll make them available when I have them in my hands and am satisfied of their strength.

Posted in merch, sciences | 1 Comment

yeah, that makes me a total hermit

Yesterday I relayed a message from the local humane society, which contained an email address and a phone number; and the first response I got was “Is she on Facebook?”

Phooey.

Apparently it’s no longer possible to delete my Facebook account. If I deactivate it,

Your 12 friends will no longer be able to keep in touch with you.

Bruce will miss you
Vanessa will miss you
Mae will miss you
Steve will miss you
Laurel will miss you

Laurel and Vanessa are dead, and Mae left Facebook long ago, which is why I didn’t bother defriending them when I did most everyone else. Bruce and Steve know how to reach me otherwise.

Posted in society | 1 Comment