timer


  
  DEF time TimeSensor { loop TRUE cycleInterval 1 }
  DEF script Script {
  eventIn SFTime pulse 
  eventOut SFInt32 next
  url "javascript:
  function pulse(value) { next = 1; Browser.print('x'); }
  "
  }
  ROUTE time.cycleTime TO script.pulse
  ROUTE script.next TO slides.next
  
  #Viewpoint { position 0 0 10 }