# teaching machines

## Tulip

I challenged myself to make a tulip in Twoville, and here’s my response:

## Raindrop

I was challenged to make a raindrop in Twoville, and here’s my response: The exercise helped me fix an issue with mirror. Previously if the middle vertex was not on the mirror axis, I automatically inserted a straight line segment to bridge the gap between the mirrored segments. That produced more of a Hershey’s Kiss […]

## Seven Digit Study

My son and I are on our way to school. It’s just the two of us. These drives should be a great opportunity for some genuine father-son talk, but it rarely happens. My mind is usually anxious about the day ahead, the traffic around us, and the hazards of winter. Even when we do talk, […]

## Direct Tweaking in Twoville

A student and I working on tools for composing SVG files. The scenes are programmatically generated, but the geometric properties can be tweaked via direct manipulation. In other words, the user can drag on the shapes to modify both the scene and the source code. Consider the following program, which plots a rectangle. Select the […]

## Kawaii Donut

During this time of staying at home, my family has not been able to get out and satisfy our sweet teeth as much as we would like. We have also been faithfully participating in graphic novelist Jarrett Krosoczka’s Draw Everyday with JJK on YouTube. JJK frequently profiles the work of his illustrator friends, and in […]

## Dates as Fractions

Today is 4/28. As a fraction, today is $\frac{4}{28} = \frac{1}{7} \approx 0.143$. But how close is that to the proportion of the year that has passed? We are on day 119 of a year with 366 days, and $\frac{119}{366} \approx 0.325$. That’s a difference of approximately 0.182. That’s not very close. Perhaps there are […]

## Infield Form Labels

I’ve done enough web development now and taught enough web development courses that I am starting to develop opinions. Or maybe I’ve had opinions since the start, but now I feel qualified enough to air them publicly. Today’s opinion is on labels for form elements. Let’s all agree that we need them. But where do […]

## Apathetic Numbers

My son is 11, and he likes to think about numbers. In this time of working and learning from home, I’ve had him reading Isaac Asimov’s Realm of Numbers. The other day my son stumbled upon this numerical curiosity: $$3 \times 1.5 = 3 + 1.5$$ How fascinating that the numbers don’t care whether they […]

## Apache and Icons

This semester I’m teaching a web development course. This is the first time I’ve taught the course, which means I have no Catalog of Errors that we teachers consult when trouble arises. Rather, I am writing the first entries in this Catalog as we speak. This week I spent an hour chasing down a pernicious […]

## Modeling a Jump Sound

I recently unveiled Earpiece as a playground for exploring how sounds are shaped by their frequency and amplitude envelopes. Today we use it to explore a jump sound. First, close your eyes. Imagine you are holding a game controller. Press the jump button. Wrong one. Try again. That’s right. What did you hear? We can […]