Challenge: Create a diagram depicting water from a garden hose, following a parabolic trajectory (for a math text book).

At first I tried to do it with inkscape; using the "Tiled clones" feature. That proved impossible: I could create the water drops, but not make them follow a parable.

So I ended up doing it in Mathematica. Here's the code:

And the results:At first I tried to do it with inkscape; using the "Tiled clones" feature. That proved impossible: I could create the water drops, but not make them follow a parable.

So I ended up doing it in Mathematica. Here's the code:

The idea is to start with nearly identical "streams" but introduce a small vertical perturbations which depends on the

*x*coordinate (so it grows to the right).

## No comments:

## Post a Comment