Skip to content

Interactive 2D wave optics simulator. Turn any image into a refractive scene, add sources, watch waves refract, diffract and interfere. Probes, intensity maps, video export.

C#
3.4 KB
Raw Blame
<?xml version="1.0" encoding="UTF-8"?>
<!-- 05_rainbow_rings: damped circular wave, scheme "Default_Intensity" (magnitude), period 17.0, decay 22.0. Generated by make_icons.py. -->
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128">
  <defs>
    <radialGradient id="wave" gradientUnits="userSpaceOnUse" cx="64" cy="64" r="96">
      <stop offset="0.0000" stop-color="#FF0000"/>
      <stop offset="0.0168" stop-color="#FF0000"/>
      <stop offset="0.0209" stop-color="#F04D1D"/>
      <stop offset="0.0246" stop-color="#EAB348"/>
      <stop offset="0.0281" stop-color="#F2F94D"/>
      <stop offset="0.0314" stop-color="#21F63D"/>
      <stop offset="0.0346" stop-color="#20E0D3"/>
      <stop offset="0.0378" stop-color="#21ACDE"/>
      <stop offset="0.0410" stop-color="#0E4494"/>
      <stop offset="0.0476" stop-color="#0E4494"/>
      <stop offset="0.0511" stop-color="#21ACDE"/>
      <stop offset="0.0548" stop-color="#20E0D3"/>
      <stop offset="0.0589" stop-color="#21F63D"/>
      <stop offset="0.0636" stop-color="#F2F94D"/>
      <stop offset="0.0696" stop-color="#EAB348"/>
      <stop offset="0.0800" stop-color="#F04D1D"/>
      <stop offset="0.0885" stop-color="#F1481B"/>
      <stop offset="0.0903" stop-color="#F04D1D"/>
      <stop offset="0.1014" stop-color="#EAB348"/>
      <stop offset="0.1080" stop-color="#F2F94D"/>
      <stop offset="0.1136" stop-color="#21F63D"/>
      <stop offset="0.1186" stop-color="#20E0D3"/>
      <stop offset="0.1234" stop-color="#21ACDE"/>
      <stop offset="0.1281" stop-color="#0E4494"/>
      <stop offset="0.1378" stop-color="#0E4494"/>
      <stop offset="0.1432" stop-color="#21ACDE"/>
      <stop offset="0.1493" stop-color="#20E0D3"/>
      <stop offset="0.1573" stop-color="#21F63D"/>
      <stop offset="0.1771" stop-color="#C9F84A"/>
      <stop offset="0.1908" stop-color="#21F63D"/>
      <stop offset="0.1999" stop-color="#20E0D3"/>
      <stop offset="0.2074" stop-color="#21ACDE"/>
      <stop offset="0.2144" stop-color="#0E4494"/>
      <stop offset="0.2288" stop-color="#0E4494"/>
      <stop offset="0.2375" stop-color="#21ACDE"/>
      <stop offset="0.2506" stop-color="#20E0D3"/>
      <stop offset="0.2656" stop-color="#20E6AC"/>
      <stop offset="0.2742" stop-color="#20E0D3"/>
      <stop offset="0.2889" stop-color="#21ACDE"/>
      <stop offset="0.2997" stop-color="#0E4494"/>
      <stop offset="0.3212" stop-color="#0E4494"/>
      <stop offset="0.3380" stop-color="#21ACDE"/>
      <stop offset="0.3542" stop-color="#21B7DC"/>
      <stop offset="0.3639" stop-color="#21ACDE"/>
      <stop offset="0.3833" stop-color="#0E4494"/>
      <stop offset="0.4163" stop-color="#0E4494"/>
      <stop offset="0.4427" stop-color="#1879BA"/>
      <stop offset="0.4640" stop-color="#0E4494"/>
      <stop offset="0.5348" stop-color="#0E4494"/>
      <stop offset="0.6198" stop-color="#0A2F67"/>
      <stop offset="0.7083" stop-color="#072046"/>
      <stop offset="0.7969" stop-color="#041630"/>
      <stop offset="0.8854" stop-color="#030F20"/>
      <stop offset="0.9740" stop-color="#020A16"/>
      <stop offset="1.0000" stop-color="#01050C"/>
    </radialGradient>
    <filter id="soften" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="1.0"/></filter>
  </defs>
  <rect width="128" height="128" fill="#000000"/>
  <rect width="128" height="128" fill="url(#wave)" filter="url(#soften)"/>
</svg>