default.txt 900 B

12345678910111213141516171819202122232425262728
  1. import Animate
  2. import SeasonsGreetingsTheme
  3. import "myhelper.xl"
  4. theme "SeasonsGreetings"
  5. function X:real -> sin(X*0.5) + 16#0.002
  6. page "A nice car",
  7. // --------------------------------------
  8. // Display car model on a pedestal
  9. // --------------------------------------
  10. clear_color 0, 0, 0, 1
  11. hand_scale -> 0.3
  12. // Display the background image
  13. background -4000,
  14. locally
  15. disable_depth_test
  16. corridor N:integer ->
  17. locally
  18. rotatez 60 * N
  19. translatex 1000
  20. rotatey 90
  21. color "white"
  22. texture "stars.png"
  23. texture_wrap true, true
  24. texture_transform
  25. translate (time + N) * 0.02 mod 1, 0, 0
  26. scale 0.2, 0.3, 0.3
  27. rectangle 0, 0, 100000, 1154