Fountain
by Peterson Trethewey



This video was produced by rendering the following 510 bytes of code with POV-Ray:

Still Images

Frame #2 | Frame #53

About

This Video is part of the POV-Ray Short Code Contest #5 which was originally published by Paul Bourke in 2008. This page shows a new re-rendering of the original POV-Ray source code at a higher resolution, although here and there some miniscule syntactic changes had to be made to the code in order to get POV-Ray 3.7 to parse it.

Author's Comment

I started out the fountain with lofty ideas about a particle system with a blob around it to make the water. After coding that up, I quickly realized that the stream of water needed some kind of context. I got the idea that the animation could loop, so I tried having the stream pour into a rippling body of water, but after tinkering with that for a while, it began to look like just barely too many characters, and I didn't even have a background yet or a place for the water to come out. By then, the particle system seemed unnecessary, so I got started dreaming up ways to fake it. A small enough arc of an ellipse could be mistaken for a parabola, I figured, so I replaced the stream with a scaled torus and rotated the normal map with the clock to give the illusion of flow. That looked just as good as I was ever able to get the particles to look anyway, so I scratched the particle idea. For an extra bang, the movie automatically loops, because the torus makes an almost full rotation in the space of the animation. With my newfound character real estate I commenced to cranking up the realism. I added photons, a texture to the wall, a hole where the water comes out and the additional copy of the wave form to get the effect of the wave bouncing off the back wall and interfering with itself. When I reached 510 characters, I stopped.

Metadata

SCC Award3rd place winner
Author:Peterson Trethewey
Author's Website:medium.com/@petersontrethewey
Submission ID:thbqad
Source Filesize:510 Bytes
Source Page:SCC5
Source Code:long | short

Render Process

Frames: 120
Pixels: 230 400 000
Rays:3 039 720 742
CPU-Seconds: 206 237

Links

Entire Collection | even more POV-Ray related things | official POV-Ray website | GIF
#Povray #animation #fountain #mechanical-spring #water #waves #loop #wall #faucet #photons #set-difference #set-merge #box #isosurface #sphere #torus #agate-pattern #bumps-pattern #function-pattern #512 #SCC5 #video #short-code #Peterson-Trethewey #rendered #raytracing #POV-Ray #cuboid #code