<div style="font-family: 'Times New Roman'; font-size: 16px;">Hello, <br _moz_dirty="" /><br _moz_dirty="" />I have tried to make a function which display a car running on a empty-screen.<br _moz_dirty="" />When the car  is at the end. The car has to begin at the beginning.<br _moz_dirty="" /><br _moz_dirty="" />I have made this : <br _moz_dirty="" /><br _moz_dirty="" />(define wheel-radius 5)<br _moz_dirty="" />(define cab (beside (rectangle (* 6 wheel-radius)(* 4 wheel-radius) &quot;solid&quot; &quot;red&quot;)(right-triangle (* 2 wheel-radius) (* 4 wheel-radius) &quot;solid&quot; &quot;red&quot;)))<br _moz_dirty="" />(define body (rectangle (* 20 wheel-radius) (* 6 wheel-radius) &quot;solid&quot; &quot;red&quot;))<br _moz_dirty="" />(define top (above/align &quot;right&quot; cab body))<br _moz_dirty="" />(define tire (circle wheel-radius &quot;solid&quot; &quot;black&quot;))<br _moz_dirty="" />(define bot (beside tire (rectangle (* 5 wheel-radius) (* 2 wheel-radius) &quot;solid&quot; &quot;white&quot;) tire))<br _moz_dirty="" />(define auto (above top bot))<br _moz_dirty="" /><br _moz_dirty="" />(define Y-CAR 50)<br _moz_dirty="" />(define BACKGROUND (empty-scene 1000 200))<br _moz_dirty="" /><br _moz_dirty="" />; CarState -&gt; CarState<br _moz_dirty="" />; the clock ticked; move the car by three pixels<br _moz_dirty="" />; example:<br _moz_dirty="" />; given: 20, expected 23<br _moz_dirty="" />; given: 78, expected 81<br _moz_dirty="" />(define (tock ws) <br _moz_dirty="" />  (if (&lt; ws (-(image-width BACKGROUND)(* 0.54  (image-width auto))))(+ ws 3) ( - ws (image-width BACKGROUND))))<br _moz_dirty="" /><br _moz_dirty="" />; CarState -&gt; Image<br _moz_dirty="" />; place the car into a scene, according to the given world state<br _moz_dirty="" />(define (render ws)<br _moz_dirty="" />  (place-image auto ws Y-CAR BACKGROUND))<br _moz_dirty="" /><br _moz_dirty="" />; main : CarState -&gt; CarState<br _moz_dirty="" />; launch the program from some initial state<br _moz_dirty="" />(define (main ws)<br _moz_dirty="" />   (big-bang ws (on-tick tock) (to-draw render)))<br _moz_dirty="" /><br _moz_dirty="" />But now I wonder if I can do the same with setting the variable ws to zero.<br _moz_dirty="" />So like this : If ws is smaller then the image-width increase with the half width of the car. then ws = ws+ 3 else ws = 0 <br _moz_dirty="" /><br _moz_dirty="" />Regards,<br _moz_dirty="" /><br _moz_dirty="" />Roelof<br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" />                    <br _moz_dirty="" /><br _moz_dirty="" /><br _moz_dirty="" /><br /></div>