The first photo was a male. It was about three metres from where I saw the other lizard. It was resting on the end of a tree that had fallen into the river. The lizard was wet like it had just been swimming but was in no rush to leave the water. The third photo shows the one I almost trod on. I was walking east along the path when a “branch” near my foot suddenly ran towards the river. Fortunately the dragon ran onto a branch that had fallen into the river where it stopped. It kept an eye on me for a while, before it also started to look at things in the water, although I was not sure what it was eyeing off. After a while it moved a little further along the branch before pausing again, checking me out from its new location. It repeated this a couple of times, not rushing, just moving at a steady pace but nor moving far until it finally crawled into the leaves at the end of the branch that were resting in the water.