<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="euler2d" _label="Euler 2D">

  <command arg="--root"/>

  <video href="https://www.youtube.com/watch?v=ZH1ZtfId0iA"/>

  <hgroup>
   <vgroup>
    <number id="delay" type="slider" arg="--delay %"
            _label="Frame rate" _low-label="Low" _high-label="High"
            low="0" high="100000" default="10000"
            convert="invert"/>

    <number id="count" type="slider" arg="--count %"
             _label="Particles" _low-label="Few" _high-label="Many"
            low="2" high="5000" default="1024"/>

    <number id="eulertail" type="slider" arg="--eulertail %"
             _label="Trail length" _low-label="Short" _high-label="Long"
            low="2" high="500" default="10"/>
   </vgroup>

   <vgroup>
    <number id="cycles" type="slider" arg="--cycles %"
             _label="Duration" _low-label="Short" _high-label="Long"
            low="100" high="5000" default="3000"/>

    <number id="ncolors" type="slider" arg="--ncolors %"
              _label="Number of colors" _low-label="Two" _high-label="Many"
              low="2" high="255" default="64"/>
   </vgroup>
  </hgroup>

  <boolean id="showfps" _label="Show frame rate" arg-set="--fps"/>
  <xscreensaver-updater />

  <_description>
Simulates two dimensional incompressible inviscid fluid flow.

https://en.wikipedia.org/wiki/Euler_equations_%28fluid_dynamics%29
https://en.wikipedia.org/wiki/Inviscid_flow

Written by Stephen Montgomery-Smith; 2002.
  </_description>
</screensaver>
