Short code
This page details my attempts at creating short code scenes, as specified by the POV-Ray short code contest. The basic idea is to create a 'proper' POV-Ray image using no more than 255 characters of scene description language. Tricky but fun; code pruning isn't for everyone but it's strangely satisfying... Click on the image thumbnails for larger versions.
The SCC Round 5 has also just been completed - 512 bytes for an animation this time. My entry came 6th!
light_source{999 rgb 1}#local n=0;#local a=seed(5);#macro r()(rand(a))#end #while(n<9999)superellipsoid{r()*.05 scale 150*r() translate 9999*<-.03,r()-.5,r()-.5>pigment{rgb 1}}#local n=n+1;#end fog{rgb 1 distance 999}sphere{<2,0,5>,2 finish{reflection{1}}} |
light_source{18,rgb 2*<1,.8,.6>spotlight radius 10 falloff 12 point_at z*8}#local a=0;#while(a<2*pi)sphere{ |
global_settings{radiosity{count 150}}light_source{<-.2,.2,.9>rgb.8 fade_power 2 fade_distance 2}#local p=function{pigment{bozo color_map{[0 rgb 1][1 rgb 0]}scale.05}}isosurface{function{p(x,y,z).x-.4}max_gradient 25 scale 9 pigment{rgb <1,.5,.7>}} |
camera{rotate 35*x+45*y}light_source{<90,30,90>,rgb 1-z*.2}#local a=0;#local b=0;#while(b<60)#while(a<60)superellipsoid{.1 translatepigment{rgb 1}finish{phong.8 phong_size 8}normal{granite.2}}#local a=a+2;#end#local b=b+2;#local a=-mod(b/2,2);#end |