For three years, Leonardo had been working this way on the “Last Supper.”

Sometimes he would work from dawn to dusk forgetting to eat; other times, he would stay away for days and then run back just to add a touch. Once he arrived and, with his arms folded across his chest, he stood in front of it for two hours just studying what he had done.

Leonardo da Vinci, Pathfinder of Science — Part 40

Now, in 1498, the painting was nearing completion and the only faces still left blank were those of Christ and Judas. Leonardo had drawn hundreds of sketches, taking his models wherever he found them—once he sketched a man just for his hands. Now that his name had become well known he always had an audience while he worked. His pupils, the monks, visiting nobility, church officials, and frequently Ludovico himself watched him as he painted the “Last Supper.”

Leonardo da Vinci, Pathfinder of Science — Part 40

But Leonardo, as usual, was involved in many different tasks. He was supervising the installation of a hydraulic pump over seventy feet high beside a stream which would use the power of the stream itself to pump water into the castle. Mindful, too, of the uncertainty of court patronage, he was designing commercial machinery, hoping thereby to secure an income outside the court. Among the most notable of these were an olive press, an automatic file-cutter, a hydraulic saw, and a needle sharpener. This latter was a forerunner of modern sharpeners with their mass-production methods. With it, Leonardo dreamt of sharpening four hundred needles at a time, or forty thousand an hour so that in twelve hours one person could sharpen four hundred and eighty thousand needles! The needles were arranged successively on a moving belt of leather and brought against a rotating grindstone. This grindstone was set in such a way that the needles were sharpened into curvilinear points rather than the usual triangular points.

Leonardo da Vinci, Pathfinder of Science — Part 40

In his travels to Vigevano and other parts of the countryside around Milan, Leonardo had studied flour mills. He had talked with the workmen, asked the prices of grain, and noted the time that it took to do the milling. Then he made calculations on ways to cut down the time, and, in fact, redesigned the entire mill. He mounted twelve cylindrical millstones in rows of four on one side of a canal and another twelve on the other side. In the canal were hydraulic wheels or paddlewheels. Each wheel was attached to a rod that ran underneath four millstones. Geared to the one rod were four grinding levers to the stones above. In this way it was possible to have twenty-four millstones operating at the same time.