And if you believe the story, this idea comes to him as he's taking a bath, lowering himself in, and he's watching the water level rise and fall.
Si on en croit la légende, l'idée lui est venue quand il prenait son bain, se plongeant dedans, et observant le niveau de l'eau monter et baisser.