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#
1.0 KB
Raw Blame
<Project Sdk="Microsoft.NET.Sdk">

  <!-- Verification harness for the WaveDudeNext library (engines, probes, rendering, frame store, run driver).
       Not part of the solution; run with "dotnet run" on this project (Release) -->
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <!-- Windows with WPF, for the bench of the WIC JPEG encoder (the library itself stays net10.0) -->
    <TargetFramework>net10.0-windows</TargetFramework>
    <UseWPF>true</UseWPF>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <RootNamespace>LibraryCheck</RootNamespace>
    <!-- the .editorconfig code-style rules are build warnings too: a file without the license header (IDE0073) -->
    <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>

  <!-- UseWPF drops System.IO from the implicit usings -->
  <ItemGroup>
    <Using Include="System.IO" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\WaveDudeNext\WaveDudeNext.csproj" />
  </ItemGroup>

</Project>