codex-rs % ./target/debug/codex prompt -m gpt-5-codex-mini "Write a POV-Ray file that shows a pelican riding on a bicycle."
Rate limits: RateLimitSnapshot { primary: Some(RateLimitWindow { used_percent: 0.0, window_minutes: Some(300), resets_at: Some(1762723958) }), secondary: Some(RateLimitWindow { used_percent: 29.0, window_minutes: Some(10080), resets_at: Some(1762981171) }) }
(reasoning summary) **Preparing POV-Ray script for pelican riding bicycle**
Here’s a POV-Ray scene that models a bicycling pelican. It uses simple primitives for the bird (spheres and cylinders) and a bicycle (wheels as toruses, frame from cylinders). Save it as `pelican_bike.pov` and render with POV-Ray.
```pov
// pelican on bicycle
global_settings { assumed_gamma 1.0 }
// Camera
camera {
location <0, 5, -20>
look_at <0, 3, 0>
right x*image_width/image_height
}
// Lighting
light_source { <0, 30, -20> color rgb <1, 0.95, 0.9> }
light_source { <0, 5, -20> color rgb <0.2, 0.3, 0.6> }
// Ground
plane {
y, 0
texture {
pigment { color rgb <0.2, 0.6, 0.2> }
}
}
// Bicycle wheels
union {
torus { 5, 0.5 rotate <90, 0, 0> }
torus { 5, 0.5 translate <8, 0, 0> rotate <90, 0, 0> }
texture { pigment { color rgb <0.1, 0.1, 0.1> } }
}
// Bicycle frame
#declare FrameColor = pigment { color rgb <0.7, 0.1, 0.1> }
cylinder { <0, 0, 0>, <4, 4, 0>, 0.25 texture { FrameColor } }
cylinder { <4, 4, 0>, <8, 0, 0>, 0.25 texture { FrameColor } }
cylinder { <2.5, 4, 0>, <2.5, 7, 0>, 0.2 texture { FrameColor } }
cylinder { <2.5, 7, 0>, <5, 6, 0>, 0.15 texture { FrameColor } }
cylinder { <5, 6, 0>, <6.5, 3, 0>, 0.2 texture { FrameColor } }
cylinder { <5, 6, 0>, <0, 3, 0>, 0.2 texture { FrameColor } }
// Seat
cylinder { <2.5, 7, 0>, <2.5, 7.5, 0>, 0.5 texture { pigment { color rgb <0.2, 0.2, 0.2> } } }
// Handlebar
cylinder { <6.5, 3, 0>, <6.5, 3.5, 0>, 0.15 texture { FrameColor } }
cylinder { <5.5, 3.5, -0.4>, <7.5, 3.5, -0.4>, 0.15 texture { FrameColor } }
// Pelican body
sphere { <2.5, 8.5, 0>, 1.5 texture { pigment { color rgb <0.95, 0.9, 0.6> } } }
sphere { <2, 9.4, 0>, 0.4 texture { pigment { color rgb <0.95, 0.9, 0.6> } } }
cylinder { <2.2, 9.2, 0>, <2.8, 8.4, 0>, 0.25 texture { pigment { color rgb <0.8, 0.7, 0.3> } } }
sphere { <1.6, 9.45, 0.2>, 0.2 pigment { color rgb <0, 0, 0> } }
sphere { <1.6, 9.45, -0.2>, 0.2 pigment { color rgb <0, 0, 0> } }
// Beak
cone { <2.8, 9.1, 0>, <4.3, 8.9, 0>, 0.15 texture { pigment { color rgb <1, 0.7, 0.1> } } }
// Wings
rotate <0, 0, -30> {
cylinder { <1.8, 8.8, -0.1>, <0, 7.5, -1.5>, 0.4 texture { pigment { color rgb <0.95, 0.9, 0.6> } } }
}
rotate <0, 0, 30> {
cylinder { <3.2, 8.8, -0.1>, <4.5, 7.5, -1.5>, 0.4 texture { pigment { color rgb <0.95, 0.9, 0.6> } } }
}
// Legs
cylinder { <2.5, 7.5, 0>, <2.5, 5, 0.2>, 0.15 pigment { color rgb <0.8, 0.6, 0.4> } }
cylinder { <2.5, 7.5, 0>, <2.5, 5, -0.2>, 0.15 pigment { color rgb <0.8, 0.6, 0.4> } }
// Feet on pedals
sphere { <3.8, 5.3, 0.4>, 0.18 pigment { color rgb <0.9, 0.4, 0.1> } }
sphere { <3.8, 5.3, -0.4>, 0.18 pigment { color rgb <0.9, 0.4, 0.1> } }
```
Let me know if you’d like more detail, animation, or different lighting.
Token usage: total=3767 input=2402 cached_input=2304 output=1365 reasoning_output=64
-
-
Save simonw/059e0c5aee54258cdc62ed511ae26b4b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment