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#
Licence header on every source file; Authors, Copyright and licence in the projects
Alexander Graef05e58652c862
diff --git a/.editorconfig b/.editorconfigindex 9b75dd4..96b395c 100644--- a/.editorconfig+++ b/.editorconfig@@ -10,6 +10,10 @@ trim_trailing_whitespace = trueindent_style = tabindent_size = 4+# the licence header of every source file (the IDE adds it to new files, IDE0073 flags a file without it)+file_header_template = SPDX-License-Identifier: GPL-3.0-or-later\nCopyright (C) 2026 Alexander Graef <[email protected]>\n\nThis file is part of WaveDude Next, a 2D wave simulator.\n\nBased on the work of\n JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026\n <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>\n Manuel (0x23, Diffraction Limited), author of WaveSimulator2D\n <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>\n\nWaveDude Next is free software: you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or\n<https://www.gnu.org/licenses/>.+dotnet_diagnostic.IDE0073.severity = warning+# No this. qualification; expression bodies for trivial accessorsdotnet_style_qualification_for_field = false:warningdotnet_style_qualification_for_property = false:warningdiff --git a/CLAUDE.md b/CLAUDE.mdindex 246bf3d..4426ed4 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -963,7 +963,7 @@ pan (roadmap); Help > About has no content; dock pane titles are not exposed toDeferred, possibly never: filmstrip thumbnails behind the bar (needs cached frames).6. ~~Retire `Wave_Dude_2D`~~ (removed 2026-10-15 together with the VB source; the solution file still carries the old name).-## Rebrand and licensing (designed 2026-10-15, **not applied yet**)+## Rebrand and licensing (designed 2026-10-15, applied the same day)The WPF app becomes **WaveDude Next** (agreed with Jeroen Vleggaar by mail 2026-10-15; he proposed"Pro", the user chose "Next" since Pro/Plus suggests a paid tier). Project, namespaces, the GitHub@@ -989,8 +989,11 @@ numerics Jeroen's engine took its design from; surname not public; the 0x23 = MaJeroen's mail of 2026-10-08, which also says Manuel consented to publication and will add an MITlicence to his repo). Private addresses stay out of files.-**Source header** (accepted 2026-10-15; the same text in every file, `'` in VB, `//` in C#,-`<!-- -->` in XAML, `#` in PowerShell/Python; no per-file provenance, no "ported from / modified by"):+**Source header** (accepted 2026-10-15, applied to every `.cs`, `.xaml`, `.ps1` and `.py` file the same day, the+generated `Settings.Designer.cs` excepted; the same text in every file, `'` in VB, `//` in C#, `<!-- -->` as one+block in XAML, `#` in PowerShell/Python; no per-file provenance, no "ported from / modified by". The warranty+sentence ends in a full stop, not the semicolon first accepted: Roslyn's editorconfig parser cuts a value at the+first `;` or `#` as a trailing comment, which truncated the `file_header_template` and flagged every file):```' SPDX-License-Identifier: GPL-3.0-or-later@@ -1007,7 +1010,7 @@ licence to his repo). Private addresses stay out of files.' WaveDude Next is free software: you can redistribute it and/or modify it under' the terms of the GNU General Public License as published by the Free Software' Foundation, either version 3 of the License, or (at your option) any later-' version. It is distributed WITHOUT ANY WARRANTY; see the LICENSE.md file or+' version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or' <https://www.gnu.org/licenses/>.```@@ -1025,12 +1028,13 @@ first push** and move the block into the README if the label is missing. The licnever edited (the FSF allows verbatim copies only). `LICENSE.md` is the name the header points at(GitHub also accepts `LICENSE` and `COPYING`; one file, one name).-**Companions when applied**: `<Authors>Alexander Graef</Authors>`, `<Copyright>Copyright (C) 2026+**Companions, applied 2026-10-15**: `<Authors>Alexander Graef</Authors>`, `<Copyright>Copyright (C) 2026Alexander Graef</Copyright>`, `<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>`-in both SDK projects (About and the file properties read them); a README with a Credits section-naming the three people as in the header; `file_header_template` in `.editorconfig` so the IDE adds-the header to new files. Applying all of this is a separate step, after the coding session that is-running on the source today.+in both SDK projects (About and the file properties read them); `file_header_template` in `.editorconfig` so+the IDE adds the header to new files, with IDE0073 at warning and `EnforceCodeStyleInBuild` in all three+projects (the harness too), so **a file without the header is a build warning** and breaks the zero-warnings+rule. Still to come: a README with a Credits section naming the three people as in the header (the file+exists, empty; CLAUDE.md, LICENSE.md and README.md are solution items since 2026-10-15).## Conventionsdiff --git a/WaveDudeNext.WPF/App.xaml b/WaveDudeNext.WPF/App.xamlindex 5ad3831..21a2800 100644--- a/WaveDudeNext.WPF/App.xaml+++ b/WaveDudeNext.WPF/App.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<Application x:Class="WaveDudeNext.WPF.App"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">diff --git a/WaveDudeNext.WPF/App.xaml.cs b/WaveDudeNext.WPF/App.xaml.csindex cd7192c..f6b316f 100644--- a/WaveDudeNext.WPF/App.xaml.cs+++ b/WaveDudeNext.WPF/App.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Configuration;using System.Diagnostics;using System.IO;diff --git a/WaveDudeNext.WPF/AssemblyInfo.cs b/WaveDudeNext.WPF/AssemblyInfo.csindex eb35a51..c08a46b 100644--- a/WaveDudeNext.WPF/AssemblyInfo.cs+++ b/WaveDudeNext.WPF/AssemblyInfo.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;[assembly: ThemeInfo(diff --git a/WaveDudeNext.WPF/Commands/ColorSchemeCommands.cs b/WaveDudeNext.WPF/Commands/ColorSchemeCommands.csindex 2bab272..d437b52 100644--- a/WaveDudeNext.WPF/Commands/ColorSchemeCommands.cs+++ b/WaveDudeNext.WPF/Commands/ColorSchemeCommands.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Commands;diff --git a/WaveDudeNext.WPF/Commands/ExportCommands.cs b/WaveDudeNext.WPF/Commands/ExportCommands.csindex 1db4d3e..b193cf6 100644--- a/WaveDudeNext.WPF/Commands/ExportCommands.cs+++ b/WaveDudeNext.WPF/Commands/ExportCommands.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Commands;diff --git a/WaveDudeNext.WPF/Commands/PreviewCommands.cs b/WaveDudeNext.WPF/Commands/PreviewCommands.csindex 5f89eb5..a2f64c0 100644--- a/WaveDudeNext.WPF/Commands/PreviewCommands.cs+++ b/WaveDudeNext.WPF/Commands/PreviewCommands.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Commands;diff --git a/WaveDudeNext.WPF/Commands/ProjectCommands.cs b/WaveDudeNext.WPF/Commands/ProjectCommands.csindex 182752e..7ec4c8c 100644--- a/WaveDudeNext.WPF/Commands/ProjectCommands.cs+++ b/WaveDudeNext.WPF/Commands/ProjectCommands.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Commands;diff --git a/WaveDudeNext.WPF/Commands/RelayCommand.cs b/WaveDudeNext.WPF/Commands/RelayCommand.csindex 16e19dc..6d2d357 100644--- a/WaveDudeNext.WPF/Commands/RelayCommand.cs+++ b/WaveDudeNext.WPF/Commands/RelayCommand.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Commands;diff --git a/WaveDudeNext.WPF/Commands/SimulationCommands.cs b/WaveDudeNext.WPF/Commands/SimulationCommands.csindex d2ddc60..74900c1 100644--- a/WaveDudeNext.WPF/Commands/SimulationCommands.cs+++ b/WaveDudeNext.WPF/Commands/SimulationCommands.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Commands;diff --git a/WaveDudeNext.WPF/Commands/ViewCommands.cs b/WaveDudeNext.WPF/Commands/ViewCommands.csindex 3089ad3..f42fdd8 100644--- a/WaveDudeNext.WPF/Commands/ViewCommands.cs+++ b/WaveDudeNext.WPF/Commands/ViewCommands.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Commands;diff --git a/WaveDudeNext.WPF/Controls/ColorSchemePicker.cs b/WaveDudeNext.WPF/Controls/ColorSchemePicker.csindex bb6fe86..6442f7d 100644--- a/WaveDudeNext.WPF/Controls/ColorSchemePicker.cs+++ b/WaveDudeNext.WPF/Controls/ColorSchemePicker.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.Collections.Specialized;using System.ComponentModel;diff --git a/WaveDudeNext.WPF/Controls/EditBehavior.cs b/WaveDudeNext.WPF/Controls/EditBehavior.csindex a4a50c0..250cef1 100644--- a/WaveDudeNext.WPF/Controls/EditBehavior.cs+++ b/WaveDudeNext.WPF/Controls/EditBehavior.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Controls/FormPanel.cs b/WaveDudeNext.WPF/Controls/FormPanel.csindex 4c54088..87aeda5 100644--- a/WaveDudeNext.WPF/Controls/FormPanel.cs+++ b/WaveDudeNext.WPF/Controls/FormPanel.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls;diff --git a/WaveDudeNext.WPF/Controls/InsertionAdorner.cs b/WaveDudeNext.WPF/Controls/InsertionAdorner.csindex 46e4946..fee3552 100644--- a/WaveDudeNext.WPF/Controls/InsertionAdorner.cs+++ b/WaveDudeNext.WPF/Controls/InsertionAdorner.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Documents;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Controls/MarkerThumb.cs b/WaveDudeNext.WPF/Controls/MarkerThumb.csindex 59770b2..02cc169 100644--- a/WaveDudeNext.WPF/Controls/MarkerThumb.cs+++ b/WaveDudeNext.WPF/Controls/MarkerThumb.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls.Primitives;diff --git a/WaveDudeNext.WPF/Controls/NumberBox.cs b/WaveDudeNext.WPF/Controls/NumberBox.csindex 9f9f062..a748def 100644--- a/WaveDudeNext.WPF/Controls/NumberBox.cs+++ b/WaveDudeNext.WPF/Controls/NumberBox.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Controls;diff --git a/WaveDudeNext.WPF/Controls/PictureFrame.cs b/WaveDudeNext.WPF/Controls/PictureFrame.csindex f20aa34..797452d 100644--- a/WaveDudeNext.WPF/Controls/PictureFrame.cs+++ b/WaveDudeNext.WPF/Controls/PictureFrame.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Controls/ProbeGraphDrawing.cs b/WaveDudeNext.WPF/Controls/ProbeGraphDrawing.csindex ec97f8f..3bbc0e3 100644--- a/WaveDudeNext.WPF/Controls/ProbeGraphDrawing.cs+++ b/WaveDudeNext.WPF/Controls/ProbeGraphDrawing.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Controls/ProbeGraphOverlay.cs b/WaveDudeNext.WPF/Controls/ProbeGraphOverlay.csindex 2bf1910..9bcabbb 100644--- a/WaveDudeNext.WPF/Controls/ProbeGraphOverlay.cs+++ b/WaveDudeNext.WPF/Controls/ProbeGraphOverlay.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Immutable;using System.Collections.Specialized;using System.ComponentModel;diff --git a/WaveDudeNext.WPF/Controls/SceneOverlay.cs b/WaveDudeNext.WPF/Controls/SceneOverlay.csindex e89d579..94108a3 100644--- a/WaveDudeNext.WPF/Controls/SceneOverlay.cs+++ b/WaveDudeNext.WPF/Controls/SceneOverlay.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Specialized;using System.ComponentModel;using System.Globalization;diff --git a/WaveDudeNext.WPF/Controls/TimelineBar.cs b/WaveDudeNext.WPF/Controls/TimelineBar.csindex a21ba88..29c1919 100644--- a/WaveDudeNext.WPF/Controls/TimelineBar.cs+++ b/WaveDudeNext.WPF/Controls/TimelineBar.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Automation;diff --git a/WaveDudeNext.WPF/Controls/TreeViewExtensions.cs b/WaveDudeNext.WPF/Controls/TreeViewExtensions.csindex c649262..dc0ca07 100644--- a/WaveDudeNext.WPF/Controls/TreeViewExtensions.cs+++ b/WaveDudeNext.WPF/Controls/TreeViewExtensions.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;namespace WaveDudeNext.WPF.Controls;diff --git a/WaveDudeNext.WPF/Converters/ColorSchemeBrushConverter.cs b/WaveDudeNext.WPF/Converters/ColorSchemeBrushConverter.csindex 6597808..66f6fcc 100644--- a/WaveDudeNext.WPF/Converters/ColorSchemeBrushConverter.cs+++ b/WaveDudeNext.WPF/Converters/ColorSchemeBrushConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Converters/DoubleTextConverter.cs b/WaveDudeNext.WPF/Converters/DoubleTextConverter.csindex 4a20144..8576a9a 100644--- a/WaveDudeNext.WPF/Converters/DoubleTextConverter.cs+++ b/WaveDudeNext.WPF/Converters/DoubleTextConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/EnumBooleanConverter.cs b/WaveDudeNext.WPF/Converters/EnumBooleanConverter.csindex 2cb626f..321db60 100644--- a/WaveDudeNext.WPF/Converters/EnumBooleanConverter.cs+++ b/WaveDudeNext.WPF/Converters/EnumBooleanConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/EnumNameConverter.cs b/WaveDudeNext.WPF/Converters/EnumNameConverter.csindex 75328cf..16098bf 100644--- a/WaveDudeNext.WPF/Converters/EnumNameConverter.cs+++ b/WaveDudeNext.WPF/Converters/EnumNameConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Globalization;using System.Reflection;diff --git a/WaveDudeNext.WPF/Converters/EnumerateConverter.cs b/WaveDudeNext.WPF/Converters/EnumerateConverter.csindex 31ccbb3..ec853d8 100644--- a/WaveDudeNext.WPF/Converters/EnumerateConverter.cs+++ b/WaveDudeNext.WPF/Converters/EnumerateConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/EqualityConverter.cs b/WaveDudeNext.WPF/Converters/EqualityConverter.csindex f12e597..101ae3e 100644--- a/WaveDudeNext.WPF/Converters/EqualityConverter.cs+++ b/WaveDudeNext.WPF/Converters/EqualityConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/FrameCountConverter.cs b/WaveDudeNext.WPF/Converters/FrameCountConverter.csindex 39f8a9c..67b3a1f 100644--- a/WaveDudeNext.WPF/Converters/FrameCountConverter.cs+++ b/WaveDudeNext.WPF/Converters/FrameCountConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/FrameMemoryOptionConverter.cs b/WaveDudeNext.WPF/Converters/FrameMemoryOptionConverter.csindex 344f97c..ff363ac 100644--- a/WaveDudeNext.WPF/Converters/FrameMemoryOptionConverter.cs+++ b/WaveDudeNext.WPF/Converters/FrameMemoryOptionConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/FrameToStepConverter.cs b/WaveDudeNext.WPF/Converters/FrameToStepConverter.csindex a7d3e11..75aeeeb 100644--- a/WaveDudeNext.WPF/Converters/FrameToStepConverter.cs+++ b/WaveDudeNext.WPF/Converters/FrameToStepConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/ImageInfoConverter.cs b/WaveDudeNext.WPF/Converters/ImageInfoConverter.csindex 972b451..d64f874 100644--- a/WaveDudeNext.WPF/Converters/ImageInfoConverter.cs+++ b/WaveDudeNext.WPF/Converters/ImageInfoConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.IO;using System.Windows;diff --git a/WaveDudeNext.WPF/Converters/IntEqualsConverter.cs b/WaveDudeNext.WPF/Converters/IntEqualsConverter.csindex 4431f21..c4dc886 100644--- a/WaveDudeNext.WPF/Converters/IntEqualsConverter.cs+++ b/WaveDudeNext.WPF/Converters/IntEqualsConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/ItemCountConverter.cs b/WaveDudeNext.WPF/Converters/ItemCountConverter.csindex 69ebf77..9772882 100644--- a/WaveDudeNext.WPF/Converters/ItemCountConverter.cs+++ b/WaveDudeNext.WPF/Converters/ItemCountConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/MeasurementsForLayerConverter.cs b/WaveDudeNext.WPF/Converters/MeasurementsForLayerConverter.csindex 7dfc485..2d34237 100644--- a/WaveDudeNext.WPF/Converters/MeasurementsForLayerConverter.cs+++ b/WaveDudeNext.WPF/Converters/MeasurementsForLayerConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;using WaveDudeNext.Model;diff --git a/WaveDudeNext.WPF/Converters/NamedCollectionConverter.cs b/WaveDudeNext.WPF/Converters/NamedCollectionConverter.csindex 1749bb8..af17826 100644--- a/WaveDudeNext.WPF/Converters/NamedCollectionConverter.cs+++ b/WaveDudeNext.WPF/Converters/NamedCollectionConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections;using System.ComponentModel;using System.Globalization;diff --git a/WaveDudeNext.WPF/Converters/NotNullConverter.cs b/WaveDudeNext.WPF/Converters/NotNullConverter.csindex 4b72074..7c67f49 100644--- a/WaveDudeNext.WPF/Converters/NotNullConverter.cs+++ b/WaveDudeNext.WPF/Converters/NotNullConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/RgbBrushConverter.cs b/WaveDudeNext.WPF/Converters/RgbBrushConverter.csindex a28b577..ea2380d 100644--- a/WaveDudeNext.WPF/Converters/RgbBrushConverter.cs+++ b/WaveDudeNext.WPF/Converters/RgbBrushConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Converters/RunStatusConverter.cs b/WaveDudeNext.WPF/Converters/RunStatusConverter.csindex 16f4dbe..f275051 100644--- a/WaveDudeNext.WPF/Converters/RunStatusConverter.cs+++ b/WaveDudeNext.WPF/Converters/RunStatusConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/StepToFrameConverter.cs b/WaveDudeNext.WPF/Converters/StepToFrameConverter.csindex 91c7528..9a75e39 100644--- a/WaveDudeNext.WPF/Converters/StepToFrameConverter.cs+++ b/WaveDudeNext.WPF/Converters/StepToFrameConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/TitleConverter.cs b/WaveDudeNext.WPF/Converters/TitleConverter.csindex f6fb957..020c608 100644--- a/WaveDudeNext.WPF/Converters/TitleConverter.cs+++ b/WaveDudeNext.WPF/Converters/TitleConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Converters/TreeIdConverter.cs b/WaveDudeNext.WPF/Converters/TreeIdConverter.csindex 169b206..2b4b04e 100644--- a/WaveDudeNext.WPF/Converters/TreeIdConverter.cs+++ b/WaveDudeNext.WPF/Converters/TreeIdConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows.Data;using WaveDudeNext.Model;diff --git a/WaveDudeNext.WPF/Converters/WavelengthConverter.cs b/WaveDudeNext.WPF/Converters/WavelengthConverter.csindex a68d811..8d9a839 100644--- a/WaveDudeNext.WPF/Converters/WavelengthConverter.cs+++ b/WaveDudeNext.WPF/Converters/WavelengthConverter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Data;diff --git a/WaveDudeNext.WPF/Docking/DockCommands.cs b/WaveDudeNext.WPF/Docking/DockCommands.csindex 414c57c..dc01a7b 100644--- a/WaveDudeNext.WPF/Docking/DockCommands.cs+++ b/WaveDudeNext.WPF/Docking/DockCommands.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Input;namespace WaveDudeNext.WPF.Docking;diff --git a/WaveDudeNext.WPF/Docking/DockDragManager.cs b/WaveDudeNext.WPF/Docking/DockDragManager.csindex 9c7b4b6..e6f66b9 100644--- a/WaveDudeNext.WPF/Docking/DockDragManager.cs+++ b/WaveDudeNext.WPF/Docking/DockDragManager.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Documents;using System.Windows.Input;diff --git a/WaveDudeNext.WPF/Docking/DockDropAdorner.cs b/WaveDudeNext.WPF/Docking/DockDropAdorner.csindex d566df9..f6ea1ad 100644--- a/WaveDudeNext.WPF/Docking/DockDropAdorner.cs+++ b/WaveDudeNext.WPF/Docking/DockDropAdorner.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Windows;using System.Windows.Documents;diff --git a/WaveDudeNext.WPF/Docking/DockGroup.cs b/WaveDudeNext.WPF/Docking/DockGroup.csindex 1530508..b5ead26 100644--- a/WaveDudeNext.WPF/Docking/DockGroup.cs+++ b/WaveDudeNext.WPF/Docking/DockGroup.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.Collections.Specialized;using System.ComponentModel;diff --git a/WaveDudeNext.WPF/Docking/DockGroupControl.cs b/WaveDudeNext.WPF/Docking/DockGroupControl.csindex 62f19e2..72d8275 100644--- a/WaveDudeNext.WPF/Docking/DockGroupControl.cs+++ b/WaveDudeNext.WPF/Docking/DockGroupControl.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls;using System.Windows.Controls.Primitives;diff --git a/WaveDudeNext.WPF/Docking/DockHost.cs b/WaveDudeNext.WPF/Docking/DockHost.csindex 99dc2a3..97634ea 100644--- a/WaveDudeNext.WPF/Docking/DockHost.cs+++ b/WaveDudeNext.WPF/Docking/DockHost.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls;using System.Windows.Input;diff --git a/WaveDudeNext.WPF/Docking/DockItem.cs b/WaveDudeNext.WPF/Docking/DockItem.csindex 97f1a95..a695f2c 100644--- a/WaveDudeNext.WPF/Docking/DockItem.cs+++ b/WaveDudeNext.WPF/Docking/DockItem.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Runtime.CompilerServices;using System.Windows.Markup;diff --git a/WaveDudeNext.WPF/Docking/DockItemCollection.cs b/WaveDudeNext.WPF/Docking/DockItemCollection.csindex 75de847..6eb2318 100644--- a/WaveDudeNext.WPF/Docking/DockItemCollection.cs+++ b/WaveDudeNext.WPF/Docking/DockItemCollection.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;namespace WaveDudeNext.WPF.Docking;diff --git a/WaveDudeNext.WPF/Docking/DockLayout.cs b/WaveDudeNext.WPF/Docking/DockLayout.csindex 1f505ca..57f95c5 100644--- a/WaveDudeNext.WPF/Docking/DockLayout.cs+++ b/WaveDudeNext.WPF/Docking/DockLayout.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.IO;using System.Windows.Controls;using System.Xml;diff --git a/WaveDudeNext.WPF/Docking/DockNode.cs b/WaveDudeNext.WPF/Docking/DockNode.csindex 60ff82c..dfb66bd 100644--- a/WaveDudeNext.WPF/Docking/DockNode.cs+++ b/WaveDudeNext.WPF/Docking/DockNode.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.Collections.Specialized;using System.Windows.Controls;diff --git a/WaveDudeNext.WPF/Docking/DockSide.cs b/WaveDudeNext.WPF/Docking/DockSide.csindex 69e2257..a1864b7 100644--- a/WaveDudeNext.WPF/Docking/DockSide.cs+++ b/WaveDudeNext.WPF/Docking/DockSide.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.WPF.Docking;/// <summary>diff --git a/WaveDudeNext.WPF/FileAssociation.cs b/WaveDudeNext.WPF/FileAssociation.csindex 39e7372..46a108c 100644--- a/WaveDudeNext.WPF/FileAssociation.cs+++ b/WaveDudeNext.WPF/FileAssociation.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.IO;using System.Runtime.InteropServices;using System.Runtime.Versioning;diff --git a/WaveDudeNext.WPF/Localization/LanguageController.cs b/WaveDudeNext.WPF/Localization/LanguageController.csindex d25d4ef..2ea469c 100644--- a/WaveDudeNext.WPF/Localization/LanguageController.cs+++ b/WaveDudeNext.WPF/Localization/LanguageController.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Globalization;using System.Runtime.CompilerServices;diff --git a/WaveDudeNext.WPF/Logging/MessagesTarget.cs b/WaveDudeNext.WPF/Logging/MessagesTarget.csindex c1c0f83..414576d 100644--- a/WaveDudeNext.WPF/Logging/MessagesTarget.cs+++ b/WaveDudeNext.WPF/Logging/MessagesTarget.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Concurrent;using System.Collections.ObjectModel;using System.Windows.Threading;diff --git a/WaveDudeNext.WPF/Logging/StatusBarTarget.cs b/WaveDudeNext.WPF/Logging/StatusBarTarget.csindex e4dd42d..b41052c 100644--- a/WaveDudeNext.WPF/Logging/StatusBarTarget.cs+++ b/WaveDudeNext.WPF/Logging/StatusBarTarget.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Windows;using System.Windows.Controls;diff --git a/WaveDudeNext.WPF/Logging/TraceLogListener.cs b/WaveDudeNext.WPF/Logging/TraceLogListener.csindex 8e798a3..ec11f1d 100644--- a/WaveDudeNext.WPF/Logging/TraceLogListener.cs+++ b/WaveDudeNext.WPF/Logging/TraceLogListener.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Diagnostics;using NLog;diff --git a/WaveDudeNext.WPF/MainWindow.Busy.cs b/WaveDudeNext.WPF/MainWindow.Busy.csindex 333eeba..ceede37 100644--- a/WaveDudeNext.WPF/MainWindow.Busy.cs+++ b/WaveDudeNext.WPF/MainWindow.Busy.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using WaveDudeNext.Export;diff --git a/WaveDudeNext.WPF/MainWindow.Export.cs b/WaveDudeNext.WPF/MainWindow.Export.csindex 7231646..ccf8c0f 100644--- a/WaveDudeNext.WPF/MainWindow.Export.cs+++ b/WaveDudeNext.WPF/MainWindow.Export.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.IO;using System.Windows;using System.Windows.Input;diff --git a/WaveDudeNext.WPF/MainWindow.Live.cs b/WaveDudeNext.WPF/MainWindow.Live.csindex 0fedb4b..902b2da 100644--- a/WaveDudeNext.WPF/MainWindow.Live.cs+++ b/WaveDudeNext.WPF/MainWindow.Live.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.IO;using System.Windows;diff --git a/WaveDudeNext.WPF/MainWindow.Project.cs b/WaveDudeNext.WPF/MainWindow.Project.csindex bf47ea9..e2d5923 100644--- a/WaveDudeNext.WPF/MainWindow.Project.cs+++ b/WaveDudeNext.WPF/MainWindow.Project.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections;using System.IO;using System.Windows.Input;diff --git a/WaveDudeNext.WPF/MainWindow.SceneImageWatch.cs b/WaveDudeNext.WPF/MainWindow.SceneImageWatch.csindex fbd08d6..8c0fa7e 100644--- a/WaveDudeNext.WPF/MainWindow.SceneImageWatch.cs+++ b/WaveDudeNext.WPF/MainWindow.SceneImageWatch.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.IO;using System.Windows.Threading;using WaveDudeNext.Model;diff --git a/WaveDudeNext.WPF/MainWindow.Simulation.cs b/WaveDudeNext.WPF/MainWindow.Simulation.csindex f23957c..ef63020 100644--- a/WaveDudeNext.WPF/MainWindow.Simulation.cs+++ b/WaveDudeNext.WPF/MainWindow.Simulation.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.IO;using System.Windows;using System.Windows.Input;diff --git a/WaveDudeNext.WPF/MainWindow.Taskbar.cs b/WaveDudeNext.WPF/MainWindow.Taskbar.csindex 781f326..a11d39b 100644--- a/WaveDudeNext.WPF/MainWindow.Taskbar.cs+++ b/WaveDudeNext.WPF/MainWindow.Taskbar.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Shell;namespace WaveDudeNext.WPF;diff --git a/WaveDudeNext.WPF/MainWindow.xaml b/WaveDudeNext.WPF/MainWindow.xamlindex ee75ccb..1d34ccb 100644--- a/WaveDudeNext.WPF/MainWindow.xaml+++ b/WaveDudeNext.WPF/MainWindow.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<Window x:Class="WaveDudeNext.WPF.MainWindow"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/MainWindow.xaml.cs b/WaveDudeNext.WPF/MainWindow.xaml.csindex 7596a27..2d378bc 100644--- a/WaveDudeNext.WPF/MainWindow.xaml.cs+++ b/WaveDudeNext.WPF/MainWindow.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Specialized;using System.Configuration;using System.IO;diff --git a/WaveDudeNext.WPF/Markup/EnumValuesExtension.cs b/WaveDudeNext.WPF/Markup/EnumValuesExtension.csindex c81cd4c..d3223db 100644--- a/WaveDudeNext.WPF/Markup/EnumValuesExtension.cs+++ b/WaveDudeNext.WPF/Markup/EnumValuesExtension.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Markup;using System.Xaml;diff --git a/WaveDudeNext.WPF/Markup/ModelMemberExtension.cs b/WaveDudeNext.WPF/Markup/ModelMemberExtension.csindex 9308236..67e77f4 100644--- a/WaveDudeNext.WPF/Markup/ModelMemberExtension.cs+++ b/WaveDudeNext.WPF/Markup/ModelMemberExtension.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Reflection;using System.Windows;diff --git a/WaveDudeNext.WPF/Panes/MessagesPane.xaml b/WaveDudeNext.WPF/Panes/MessagesPane.xamlindex 7565b77..61952cc 100644--- a/WaveDudeNext.WPF/Panes/MessagesPane.xaml+++ b/WaveDudeNext.WPF/Panes/MessagesPane.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Panes.MessagesPane"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Panes/MessagesPane.xaml.cs b/WaveDudeNext.WPF/Panes/MessagesPane.xaml.csindex c08bf36..86287be 100644--- a/WaveDudeNext.WPF/Panes/MessagesPane.xaml.cs+++ b/WaveDudeNext.WPF/Panes/MessagesPane.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.Collections.Specialized;using System.ComponentModel;diff --git a/WaveDudeNext.WPF/Panes/PreviewPane.xaml b/WaveDudeNext.WPF/Panes/PreviewPane.xamlindex dc1ed77..65c8d62 100644--- a/WaveDudeNext.WPF/Panes/PreviewPane.xaml+++ b/WaveDudeNext.WPF/Panes/PreviewPane.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Panes.PreviewPane" x:Name="pane"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Panes/PreviewPane.xaml.cs b/WaveDudeNext.WPF/Panes/PreviewPane.xaml.csindex 782bb3c..0af8351 100644--- a/WaveDudeNext.WPF/Panes/PreviewPane.xaml.cs+++ b/WaveDudeNext.WPF/Panes/PreviewPane.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Diagnostics;using System.Windows;diff --git a/WaveDudeNext.WPF/Panes/ProjectTree.xaml b/WaveDudeNext.WPF/Panes/ProjectTree.xamlindex 7e27e7d..7a833a7 100644--- a/WaveDudeNext.WPF/Panes/ProjectTree.xaml+++ b/WaveDudeNext.WPF/Panes/ProjectTree.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Panes.ProjectTree"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Panes/ProjectTree.xaml.cs b/WaveDudeNext.WPF/Panes/ProjectTree.xaml.csindex 531dc6e..48fd109 100644--- a/WaveDudeNext.WPF/Panes/ProjectTree.xaml.cs+++ b/WaveDudeNext.WPF/Panes/ProjectTree.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Rendering;using System.Collections;using System.Windows;diff --git a/WaveDudeNext.WPF/Panes/PropertiesPane.xaml b/WaveDudeNext.WPF/Panes/PropertiesPane.xamlindex fcefd54..53a4a3a 100644--- a/WaveDudeNext.WPF/Panes/PropertiesPane.xaml+++ b/WaveDudeNext.WPF/Panes/PropertiesPane.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Panes.PropertiesPane"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Panes/PropertiesPane.xaml.cs b/WaveDudeNext.WPF/Panes/PropertiesPane.xaml.csindex 8d9c07c..bbba34d 100644--- a/WaveDudeNext.WPF/Panes/PropertiesPane.xaml.cs+++ b/WaveDudeNext.WPF/Panes/PropertiesPane.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Program.cs b/WaveDudeNext.WPF/Program.csindex 2d19e97..5565944 100644--- a/WaveDudeNext.WPF/Program.cs+++ b/WaveDudeNext.WPF/Program.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.WPF;/// <summary>diff --git a/WaveDudeNext.WPF/Rendering/ColorSchemeCatalog.cs b/WaveDudeNext.WPF/Rendering/ColorSchemeCatalog.csindex 84a1682..95a6314 100644--- a/WaveDudeNext.WPF/Rendering/ColorSchemeCatalog.cs+++ b/WaveDudeNext.WPF/Rendering/ColorSchemeCatalog.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using NLog;using WaveDudeNext.Model;using WaveDudeNext.Rendering;diff --git a/WaveDudeNext.WPF/Rendering/FramePresenter.cs b/WaveDudeNext.WPF/Rendering/FramePresenter.csindex 58f86ab..a504e92 100644--- a/WaveDudeNext.WPF/Rendering/FramePresenter.cs+++ b/WaveDudeNext.WPF/Rendering/FramePresenter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Diagnostics;using System.Windows;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Rendering/ProbeGraphPainter.cs b/WaveDudeNext.WPF/Rendering/ProbeGraphPainter.csindex a382c30..062a0d9 100644--- a/WaveDudeNext.WPF/Rendering/ProbeGraphPainter.cs+++ b/WaveDudeNext.WPF/Rendering/ProbeGraphPainter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Immutable;using System.Globalization;using System.Windows;diff --git a/WaveDudeNext.WPF/Rendering/SceneBitmaps.cs b/WaveDudeNext.WPF/Rendering/SceneBitmaps.csindex 4f7dae6..dfdb8a0 100644--- a/WaveDudeNext.WPF/Rendering/SceneBitmaps.cs+++ b/WaveDudeNext.WPF/Rendering/SceneBitmaps.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Media;using System.Windows.Media.Imaging;using WaveDudeNext.Rendering;diff --git a/WaveDudeNext.WPF/Rendering/SceneImageLoader.cs b/WaveDudeNext.WPF/Rendering/SceneImageLoader.csindex 6efd46a..5a75d25 100644--- a/WaveDudeNext.WPF/Rendering/SceneImageLoader.cs+++ b/WaveDudeNext.WPF/Rendering/SceneImageLoader.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.IO;using System.Windows.Media;using System.Windows.Media.Imaging;diff --git a/WaveDudeNext.WPF/Rendering/WicJpeg.cs b/WaveDudeNext.WPF/Rendering/WicJpeg.csindex eef2c76..db15177 100644--- a/WaveDudeNext.WPF/Rendering/WicJpeg.cs+++ b/WaveDudeNext.WPF/Rendering/WicJpeg.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.IO;using System.Runtime.InteropServices;using System.Windows.Media;diff --git a/WaveDudeNext.WPF/Strings/Strings.DE.xaml b/WaveDudeNext.WPF/Strings/Strings.DE.xamlindex ca1f958..8f8d375 100644--- a/WaveDudeNext.WPF/Strings/Strings.DE.xaml+++ b/WaveDudeNext.WPF/Strings/Strings.DE.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:s="clr-namespace:System;assembly=mscorlib">diff --git a/WaveDudeNext.WPF/Strings/Strings.EN.xaml b/WaveDudeNext.WPF/Strings/Strings.EN.xamlindex cb2615d..72193cc 100644--- a/WaveDudeNext.WPF/Strings/Strings.EN.xaml+++ b/WaveDudeNext.WPF/Strings/Strings.EN.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:s="clr-namespace:System;assembly=mscorlib">diff --git a/WaveDudeNext.WPF/Strings/Strings.FR.xaml b/WaveDudeNext.WPF/Strings/Strings.FR.xamlindex f2a4300..8d770c3 100644--- a/WaveDudeNext.WPF/Strings/Strings.FR.xaml+++ b/WaveDudeNext.WPF/Strings/Strings.FR.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:s="clr-namespace:System;assembly=mscorlib">diff --git a/WaveDudeNext.WPF/Strings/Strings.NL.xaml b/WaveDudeNext.WPF/Strings/Strings.NL.xamlindex b47280f..dae681e 100644--- a/WaveDudeNext.WPF/Strings/Strings.NL.xaml+++ b/WaveDudeNext.WPF/Strings/Strings.NL.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:s="clr-namespace:System;assembly=mscorlib">diff --git a/WaveDudeNext.WPF/Themes/Controls.xaml b/WaveDudeNext.WPF/Themes/Controls.xamlindex 46afbfa..f160c9f 100644--- a/WaveDudeNext.WPF/Themes/Controls.xaml+++ b/WaveDudeNext.WPF/Themes/Controls.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<!--Control styles for the whole application. Visual Studio look, system font at 9pt, everycolour taken from the active colour table (Dark.xaml / Light.xaml) via DynamicResource.diff --git a/WaveDudeNext.WPF/Themes/Dark.xaml b/WaveDudeNext.WPF/Themes/Dark.xamlindex 41f401c..2a2ad02 100644--- a/WaveDudeNext.WPF/Themes/Dark.xaml+++ b/WaveDudeNext.WPF/Themes/Dark.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<!-- Dark colour table (Visual Studio dark values). Keys must match Light.xaml exactly. --><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">diff --git a/WaveDudeNext.WPF/Themes/Editors.xaml b/WaveDudeNext.WPF/Themes/Editors.xamlindex a51ae67..ab3870e 100644--- a/WaveDudeNext.WPF/Themes/Editors.xaml+++ b/WaveDudeNext.WPF/Themes/Editors.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:converters="clr-namespace:WaveDudeNext.WPF.Converters"diff --git a/WaveDudeNext.WPF/Themes/Light.xaml b/WaveDudeNext.WPF/Themes/Light.xamlindex 3246726..21c3460 100644--- a/WaveDudeNext.WPF/Themes/Light.xaml+++ b/WaveDudeNext.WPF/Themes/Light.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<!-- Light colour table (Visual Studio light values). Keys must match Dark.xaml exactly. --><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">diff --git a/WaveDudeNext.WPF/Themes/Lists.xaml b/WaveDudeNext.WPF/Themes/Lists.xamlindex 857bc9c..3f731de 100644--- a/WaveDudeNext.WPF/Themes/Lists.xaml+++ b/WaveDudeNext.WPF/Themes/Lists.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">diff --git a/WaveDudeNext.WPF/Theming/AppTheme.cs b/WaveDudeNext.WPF/Theming/AppTheme.csindex 8c7fabe..0f7fb9d 100644--- a/WaveDudeNext.WPF/Theming/AppTheme.cs+++ b/WaveDudeNext.WPF/Theming/AppTheme.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.WPF.Theming;/// <summary>diff --git a/WaveDudeNext.WPF/Theming/ThemeController.cs b/WaveDudeNext.WPF/Theming/ThemeController.csindex e05f67a..05294f7 100644--- a/WaveDudeNext.WPF/Theming/ThemeController.cs+++ b/WaveDudeNext.WPF/Theming/ThemeController.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Runtime.CompilerServices;using System.Runtime.InteropServices;diff --git a/WaveDudeNext.WPF/Views/CollectionView.xaml b/WaveDudeNext.WPF/Views/CollectionView.xamlindex 887a0f8..f05cadf 100644--- a/WaveDudeNext.WPF/Views/CollectionView.xaml+++ b/WaveDudeNext.WPF/Views/CollectionView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.CollectionView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/CollectionView.xaml.cs b/WaveDudeNext.WPF/Views/CollectionView.xaml.csindex de1c204..764424c 100644--- a/WaveDudeNext.WPF/Views/CollectionView.xaml.cs+++ b/WaveDudeNext.WPF/Views/CollectionView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;namespace WaveDudeNext.WPF.Views;diff --git a/WaveDudeNext.WPF/Views/ColorSchemeView.xaml b/WaveDudeNext.WPF/Views/ColorSchemeView.xamlindex 8eca647..243a537 100644--- a/WaveDudeNext.WPF/Views/ColorSchemeView.xaml+++ b/WaveDudeNext.WPF/Views/ColorSchemeView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.ColorSchemeView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/ColorSchemeView.xaml.cs b/WaveDudeNext.WPF/Views/ColorSchemeView.xaml.csindex 4b5f57f..d8bb147 100644--- a/WaveDudeNext.WPF/Views/ColorSchemeView.xaml.cs+++ b/WaveDudeNext.WPF/Views/ColorSchemeView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using System.Windows.Controls;using System.Windows.Input;diff --git a/WaveDudeNext.WPF/Views/DisplayLayerView.xaml b/WaveDudeNext.WPF/Views/DisplayLayerView.xamlindex 2b249f0..2ec0d10 100644--- a/WaveDudeNext.WPF/Views/DisplayLayerView.xaml+++ b/WaveDudeNext.WPF/Views/DisplayLayerView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.DisplayLayerView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/DisplayLayerView.xaml.cs b/WaveDudeNext.WPF/Views/DisplayLayerView.xaml.csindex a6e73b5..17f8fe0 100644--- a/WaveDudeNext.WPF/Views/DisplayLayerView.xaml.cs+++ b/WaveDudeNext.WPF/Views/DisplayLayerView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows;using WaveDudeNext.Rendering;using System.Windows.Controls;diff --git a/WaveDudeNext.WPF/Views/DisplayView.xaml b/WaveDudeNext.WPF/Views/DisplayView.xamlindex 051013b..e274c88 100644--- a/WaveDudeNext.WPF/Views/DisplayView.xaml+++ b/WaveDudeNext.WPF/Views/DisplayView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.DisplayView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/DisplayView.xaml.cs b/WaveDudeNext.WPF/Views/DisplayView.xaml.csindex 2f89f4b..4dc886d 100644--- a/WaveDudeNext.WPF/Views/DisplayView.xaml.cs+++ b/WaveDudeNext.WPF/Views/DisplayView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;namespace WaveDudeNext.WPF.Views;diff --git a/WaveDudeNext.WPF/Views/ProbeView.xaml b/WaveDudeNext.WPF/Views/ProbeView.xamlindex d4e4e0b..d18166e 100644--- a/WaveDudeNext.WPF/Views/ProbeView.xaml+++ b/WaveDudeNext.WPF/Views/ProbeView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.ProbeView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/ProbeView.xaml.cs b/WaveDudeNext.WPF/Views/ProbeView.xaml.csindex 05d3d80..c23f7ed 100644--- a/WaveDudeNext.WPF/Views/ProbeView.xaml.cs+++ b/WaveDudeNext.WPF/Views/ProbeView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;namespace WaveDudeNext.WPF.Views;diff --git a/WaveDudeNext.WPF/Views/ProjectView.xaml b/WaveDudeNext.WPF/Views/ProjectView.xamlindex 537b09a..4b1c11e 100644--- a/WaveDudeNext.WPF/Views/ProjectView.xaml+++ b/WaveDudeNext.WPF/Views/ProjectView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.ProjectView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/ProjectView.xaml.cs b/WaveDudeNext.WPF/Views/ProjectView.xaml.csindex 5eb596d..2dc0fb6 100644--- a/WaveDudeNext.WPF/Views/ProjectView.xaml.cs+++ b/WaveDudeNext.WPF/Views/ProjectView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;using System.Windows.Input;using WaveDudeNext.Model;diff --git a/WaveDudeNext.WPF/Views/SceneView.xaml b/WaveDudeNext.WPF/Views/SceneView.xamlindex f35a759..50dd2db 100644--- a/WaveDudeNext.WPF/Views/SceneView.xaml+++ b/WaveDudeNext.WPF/Views/SceneView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.SceneView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/SceneView.xaml.cs b/WaveDudeNext.WPF/Views/SceneView.xaml.csindex 7b826b0..b45e437 100644--- a/WaveDudeNext.WPF/Views/SceneView.xaml.cs+++ b/WaveDudeNext.WPF/Views/SceneView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;namespace WaveDudeNext.WPF.Views;diff --git a/WaveDudeNext.WPF/Views/SimulationView.xaml b/WaveDudeNext.WPF/Views/SimulationView.xamlindex 7e361ab..e240b0e 100644--- a/WaveDudeNext.WPF/Views/SimulationView.xaml+++ b/WaveDudeNext.WPF/Views/SimulationView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.SimulationView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/SimulationView.xaml.cs b/WaveDudeNext.WPF/Views/SimulationView.xaml.csindex 4c04ab7..45d54c4 100644--- a/WaveDudeNext.WPF/Views/SimulationView.xaml.cs+++ b/WaveDudeNext.WPF/Views/SimulationView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;namespace WaveDudeNext.WPF.Views;diff --git a/WaveDudeNext.WPF/Views/SourceView.xaml b/WaveDudeNext.WPF/Views/SourceView.xamlindex 2839314..0c2efb3 100644--- a/WaveDudeNext.WPF/Views/SourceView.xaml+++ b/WaveDudeNext.WPF/Views/SourceView.xaml@@ -1,3 +1,22 @@+<!--+SPDX-License-Identifier: GPL-3.0-or-later+Copyright (C) 2026 Alexander Graef <[email protected]>++This file is part of WaveDude Next, a 2D wave simulator.++Based on the work of+ JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+ <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+ Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+ <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>++WaveDude Next is free software: you can redistribute it and/or modify it under+the terms of the GNU General Public License as published by the Free Software+Foundation, either version 3 of the License, or (at your option) any later+version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+<https://www.gnu.org/licenses/>.+-->+<UserControl x:Class="WaveDudeNext.WPF.Views.SourceView"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"diff --git a/WaveDudeNext.WPF/Views/SourceView.xaml.cs b/WaveDudeNext.WPF/Views/SourceView.xaml.csindex 691a8e8..a7dbd05 100644--- a/WaveDudeNext.WPF/Views/SourceView.xaml.cs+++ b/WaveDudeNext.WPF/Views/SourceView.xaml.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Windows.Controls;namespace WaveDudeNext.WPF.Views;diff --git a/WaveDudeNext.WPF/WaveDudeNext.WPF.csproj b/WaveDudeNext.WPF/WaveDudeNext.WPF.csprojindex fa2d131..2068051 100644--- a/WaveDudeNext.WPF/WaveDudeNext.WPF.csproj+++ b/WaveDudeNext.WPF/WaveDudeNext.WPF.csproj@@ -10,6 +10,12 @@<StartupObject>WaveDudeNext.WPF.Program</StartupObject><!-- executable icon (Explorer, taskbar); the window icon is the same file as a resource --><ApplicationIcon>App.ico</ApplicationIcon>+ <!-- read by About and the file properties; the licence text is LICENSE.md, the header of every source file names it -->+ <Authors>Alexander Graef</Authors>+ <Copyright>Copyright (C) 2026 Alexander Graef</Copyright>+ <PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>+ <!-- the .editorconfig code-style rules are build warnings too: a file without the licence header (IDE0073) -->+ <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild></PropertyGroup><ItemGroup>diff --git a/WaveDudeNext.sln b/WaveDudeNext.slnindex cd27b9d..79dee51 100644--- a/WaveDudeNext.sln+++ b/WaveDudeNext.sln@@ -1,12 +1,19 @@Microsoft Visual Studio Solution File, Format Version 12.00# Visual Studio Version 18-VisualStudioVersion = 18.10.12224.181 stable+VisualStudioVersion = 18.10.12224.181MinimumVisualStudioVersion = 10.0.40219.1Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WaveDudeNext", "WaveDudeNext\WaveDudeNext.csproj", "{5F15EA39-6EA9-4352-87C4-B0870C2B9CE5}"EndProjectProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WaveDudeNext.WPF", "WaveDudeNext.WPF\WaveDudeNext.WPF.csproj", "{0EACDED4-F7E3-4BCF-B82D-55401711BDAA}"EndProject+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{02F4BC0A-5E50-4208-AAF7-253BC852DFF5}"+ ProjectSection(SolutionItems) = preProject+ CLAUDE.md = CLAUDE.md+ LICENSE.md = LICENSE.md+ README.md = README.md+ EndProjectSection+EndProjectGlobalGlobalSection(SolutionConfigurationPlatforms) = preSolutionDebug|Any CPU = Debug|Any CPUdiff --git a/WaveDudeNext/Engine/Emitter.cs b/WaveDudeNext/Engine/Emitter.csindex cf8cd38..1a8cb13 100644--- a/WaveDudeNext/Engine/Emitter.cs+++ b/WaveDudeNext/Engine/Emitter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Model;namespace WaveDudeNext.Engine;diff --git a/WaveDudeNext/Engine/EngineOptions.cs b/WaveDudeNext/Engine/EngineOptions.csindex 8a791ff..b76325b 100644--- a/WaveDudeNext/Engine/EngineOptions.cs+++ b/WaveDudeNext/Engine/EngineOptions.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Model;namespace WaveDudeNext.Engine;diff --git a/WaveDudeNext/Engine/FrameShape.cs b/WaveDudeNext/Engine/FrameShape.csindex 56cb7d8..7a12be4 100644--- a/WaveDudeNext/Engine/FrameShape.cs+++ b/WaveDudeNext/Engine/FrameShape.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Numerics.Tensors;using System.Runtime.InteropServices;using WaveDudeNext.Rendering;diff --git a/WaveDudeNext/Engine/FrameSnapshot.cs b/WaveDudeNext/Engine/FrameSnapshot.csindex c58c9f9..e25d118 100644--- a/WaveDudeNext/Engine/FrameSnapshot.cs+++ b/WaveDudeNext/Engine/FrameSnapshot.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Runtime.InteropServices;namespace WaveDudeNext.Engine;diff --git a/WaveDudeNext/Engine/GpuDeviceInfo.cs b/WaveDudeNext/Engine/GpuDeviceInfo.csindex fdc374c..f59d0a5 100644--- a/WaveDudeNext/Engine/GpuDeviceInfo.cs+++ b/WaveDudeNext/Engine/GpuDeviceInfo.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Engine;/// <summary>diff --git a/WaveDudeNext/Engine/GpuWaveSimulator.cs b/WaveDudeNext/Engine/GpuWaveSimulator.csindex bdc58a5..8b588d8 100644--- a/WaveDudeNext/Engine/GpuWaveSimulator.cs+++ b/WaveDudeNext/Engine/GpuWaveSimulator.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Text;using WaveDudeNext.Model;diff --git a/WaveDudeNext/Engine/IWaveEngine.cs b/WaveDudeNext/Engine/IWaveEngine.csindex a4c0abd..d5d2fad 100644--- a/WaveDudeNext/Engine/IWaveEngine.cs+++ b/WaveDudeNext/Engine/IWaveEngine.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Probes;namespace WaveDudeNext.Engine;diff --git a/WaveDudeNext/Engine/OpenClApi.cs b/WaveDudeNext/Engine/OpenClApi.csindex a2cff8b..622255f 100644--- a/WaveDudeNext/Engine/OpenClApi.cs+++ b/WaveDudeNext/Engine/OpenClApi.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Runtime.InteropServices;using System.Text;diff --git a/WaveDudeNext/Engine/SceneData.cs b/WaveDudeNext/Engine/SceneData.csindex e7833d4..418c784 100644--- a/WaveDudeNext/Engine/SceneData.cs+++ b/WaveDudeNext/Engine/SceneData.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Engine;/// <summary>diff --git a/WaveDudeNext/Engine/WaveEngineFactory.cs b/WaveDudeNext/Engine/WaveEngineFactory.csindex 705eafa..234a8ab 100644--- a/WaveDudeNext/Engine/WaveEngineFactory.cs+++ b/WaveDudeNext/Engine/WaveEngineFactory.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Engine;/// <summary>diff --git a/WaveDudeNext/Engine/WaveSimulator.cs b/WaveDudeNext/Engine/WaveSimulator.csindex 96798ba..7f7de7b 100644--- a/WaveDudeNext/Engine/WaveSimulator.cs+++ b/WaveDudeNext/Engine/WaveSimulator.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Numerics.Tensors;using WaveDudeNext.Model;diff --git a/WaveDudeNext/Export/AviWriter.cs b/WaveDudeNext/Export/AviWriter.csindex f48b536..f501950 100644--- a/WaveDudeNext/Export/AviWriter.cs+++ b/WaveDudeNext/Export/AviWriter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Buffers.Binary;namespace WaveDudeNext.Export;diff --git a/WaveDudeNext/Export/BitWriter.cs b/WaveDudeNext/Export/BitWriter.csindex b2b51f2..ecb75a4 100644--- a/WaveDudeNext/Export/BitWriter.cs+++ b/WaveDudeNext/Export/BitWriter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Export;/// <summary>diff --git a/WaveDudeNext/Export/ExportFormat.cs b/WaveDudeNext/Export/ExportFormat.csindex cb8699c..a706bce 100644--- a/WaveDudeNext/Export/ExportFormat.cs+++ b/WaveDudeNext/Export/ExportFormat.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Export;/// <summary>The export formats, in the order of the Save dialog's filter.</summary>diff --git a/WaveDudeNext/Export/ExportJob.cs b/WaveDudeNext/Export/ExportJob.csindex 0fc23d3..60a7bf8 100644--- a/WaveDudeNext/Export/ExportJob.cs+++ b/WaveDudeNext/Export/ExportJob.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Concurrent;using System.ComponentModel;using System.Diagnostics;diff --git a/WaveDudeNext/Export/IFrameSink.cs b/WaveDudeNext/Export/IFrameSink.csindex f5e6587..cb8e067 100644--- a/WaveDudeNext/Export/IFrameSink.cs+++ b/WaveDudeNext/Export/IFrameSink.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Export;/// <summary>diff --git a/WaveDudeNext/Export/ImageFileSink.cs b/WaveDudeNext/Export/ImageFileSink.csindex 92eb80a..674b0c6 100644--- a/WaveDudeNext/Export/ImageFileSink.cs+++ b/WaveDudeNext/Export/ImageFileSink.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Export;/// <summary>diff --git a/WaveDudeNext/Export/ImageSequenceSink.cs b/WaveDudeNext/Export/ImageSequenceSink.csindex 78c1005..598286f 100644--- a/WaveDudeNext/Export/ImageSequenceSink.cs+++ b/WaveDudeNext/Export/ImageSequenceSink.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Concurrent;namespace WaveDudeNext.Export;diff --git a/WaveDudeNext/Export/JpegEncoder.cs b/WaveDudeNext/Export/JpegEncoder.csindex 4a0be9d..f48d3da 100644--- a/WaveDudeNext/Export/JpegEncoder.cs+++ b/WaveDudeNext/Export/JpegEncoder.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Buffers.Binary;using System.Numerics;using System.Runtime.Intrinsics;diff --git a/WaveDudeNext/Export/MediaFoundation.cs b/WaveDudeNext/Export/MediaFoundation.csindex ff68609..d71a943 100644--- a/WaveDudeNext/Export/MediaFoundation.cs+++ b/WaveDudeNext/Export/MediaFoundation.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Runtime.InteropServices;using System.Runtime.Versioning;diff --git a/WaveDudeNext/Export/MovAnimationWriter.cs b/WaveDudeNext/Export/MovAnimationWriter.csindex 8151dbd..7ae08b3 100644--- a/WaveDudeNext/Export/MovAnimationWriter.cs+++ b/WaveDudeNext/Export/MovAnimationWriter.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Buffers.Binary;using System.Text;diff --git a/WaveDudeNext/Export/Mp4Writer.cs b/WaveDudeNext/Export/Mp4Writer.csindex 154b04c..b4fa1c6 100644--- a/WaveDudeNext/Export/Mp4Writer.cs+++ b/WaveDudeNext/Export/Mp4Writer.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Runtime.InteropServices;using System.Runtime.Versioning;using NLog;diff --git a/WaveDudeNext/Export/Mpeg1Writer.cs b/WaveDudeNext/Export/Mpeg1Writer.csindex 037f191..2b833f0 100644--- a/WaveDudeNext/Export/Mpeg1Writer.cs+++ b/WaveDudeNext/Export/Mpeg1Writer.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Runtime.Intrinsics;namespace WaveDudeNext.Export;diff --git a/WaveDudeNext/Export/PngEncoder.cs b/WaveDudeNext/Export/PngEncoder.csindex 56430a3..14293d6 100644--- a/WaveDudeNext/Export/PngEncoder.cs+++ b/WaveDudeNext/Export/PngEncoder.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Buffers.Binary;using System.IO.Compression;using System.Text;diff --git a/WaveDudeNext/Export/ProbeMarkers.cs b/WaveDudeNext/Export/ProbeMarkers.csindex 3a65b25..aee51b0 100644--- a/WaveDudeNext/Export/ProbeMarkers.cs+++ b/WaveDudeNext/Export/ProbeMarkers.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Model;namespace WaveDudeNext.Export;diff --git a/WaveDudeNext/Export/YuvPlanes.cs b/WaveDudeNext/Export/YuvPlanes.csindex 4ca40fe..0c38b99 100644--- a/WaveDudeNext/Export/YuvPlanes.cs+++ b/WaveDudeNext/Export/YuvPlanes.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Runtime.Intrinsics;using System.Runtime.Intrinsics.X86;diff --git a/WaveDudeNext/Model/Display.cs b/WaveDudeNext/Model/Display.csindex 0dce687..827d32b 100644--- a/WaveDudeNext/Model/Display.cs+++ b/WaveDudeNext/Model/Display.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Xml.Serialization;diff --git a/WaveDudeNext/Model/LegacyProject.cs b/WaveDudeNext/Model/LegacyProject.csindex 23efc31..5959af2 100644--- a/WaveDudeNext/Model/LegacyProject.cs+++ b/WaveDudeNext/Model/LegacyProject.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Text.Json;using NLog;diff --git a/WaveDudeNext/Model/ObservableObject.cs b/WaveDudeNext/Model/ObservableObject.csindex 172ebce..2b36670 100644--- a/WaveDudeNext/Model/ObservableObject.cs+++ b/WaveDudeNext/Model/ObservableObject.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Runtime.CompilerServices;diff --git a/WaveDudeNext/Model/Probe.cs b/WaveDudeNext/Model/Probe.csindex f79bafe..0d1c569 100644--- a/WaveDudeNext/Model/Probe.cs+++ b/WaveDudeNext/Model/Probe.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Xml.Serialization;diff --git a/WaveDudeNext/Model/Project.cs b/WaveDudeNext/Model/Project.csindex 48d1360..0155de8 100644--- a/WaveDudeNext/Model/Project.cs+++ b/WaveDudeNext/Model/Project.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.ComponentModel;using System.Xml;diff --git a/WaveDudeNext/Model/ProjectWatcher.cs b/WaveDudeNext/Model/ProjectWatcher.csindex b198501..b685c75 100644--- a/WaveDudeNext/Model/ProjectWatcher.cs+++ b/WaveDudeNext/Model/ProjectWatcher.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.Collections.Specialized;using System.ComponentModel;diff --git a/WaveDudeNext/Model/Scene.cs b/WaveDudeNext/Model/Scene.csindex c466315..b88cb78 100644--- a/WaveDudeNext/Model/Scene.cs+++ b/WaveDudeNext/Model/Scene.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Xml.Serialization;diff --git a/WaveDudeNext/Model/Simulation.cs b/WaveDudeNext/Model/Simulation.csindex 23ba5a9..8033442 100644--- a/WaveDudeNext/Model/Simulation.cs+++ b/WaveDudeNext/Model/Simulation.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Xml.Serialization;diff --git a/WaveDudeNext/Model/Source.cs b/WaveDudeNext/Model/Source.csindex 4e27620..a1ae3a2 100644--- a/WaveDudeNext/Model/Source.cs+++ b/WaveDudeNext/Model/Source.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Xml.Serialization;diff --git a/WaveDudeNext/Pcg32.cs b/WaveDudeNext/Pcg32.csindex 13555b5..248442f 100644--- a/WaveDudeNext/Pcg32.cs+++ b/WaveDudeNext/Pcg32.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext;/// <summary>diff --git a/WaveDudeNext/Probes/ProbeCollector.cs b/WaveDudeNext/Probes/ProbeCollector.csindex 73df365..1330486 100644--- a/WaveDudeNext/Probes/ProbeCollector.cs+++ b/WaveDudeNext/Probes/ProbeCollector.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Engine;namespace WaveDudeNext.Probes;diff --git a/WaveDudeNext/Probes/ProbeGraph.cs b/WaveDudeNext/Probes/ProbeGraph.csindex 059f4d9..f010a9e 100644--- a/WaveDudeNext/Probes/ProbeGraph.cs+++ b/WaveDudeNext/Probes/ProbeGraph.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Numerics;using WaveDudeNext.Model;diff --git a/WaveDudeNext/Probes/ProbeSampler.cs b/WaveDudeNext/Probes/ProbeSampler.csindex 9cfd844..4ae366d 100644--- a/WaveDudeNext/Probes/ProbeSampler.cs+++ b/WaveDudeNext/Probes/ProbeSampler.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Engine;using WaveDudeNext.Model;diff --git a/WaveDudeNext/Probes/ProbeSeries.cs b/WaveDudeNext/Probes/ProbeSeries.csindex a1756c0..6d346cf 100644--- a/WaveDudeNext/Probes/ProbeSeries.cs+++ b/WaveDudeNext/Probes/ProbeSeries.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Probes;/// <summary>diff --git a/WaveDudeNext/Probes/ProbeSpec.cs b/WaveDudeNext/Probes/ProbeSpec.csindex 9e7b692..0cdf061 100644--- a/WaveDudeNext/Probes/ProbeSpec.cs+++ b/WaveDudeNext/Probes/ProbeSpec.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Model;namespace WaveDudeNext.Probes;diff --git a/WaveDudeNext/Probes/ProbeTrace.cs b/WaveDudeNext/Probes/ProbeTrace.csindex fdc2e72..6fe8cb8 100644--- a/WaveDudeNext/Probes/ProbeTrace.cs+++ b/WaveDudeNext/Probes/ProbeTrace.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Probes;/// <summary>diff --git a/WaveDudeNext/Probes/ProbeUpdate.cs b/WaveDudeNext/Probes/ProbeUpdate.csindex 6805ffe..393c3ce 100644--- a/WaveDudeNext/Probes/ProbeUpdate.cs+++ b/WaveDudeNext/Probes/ProbeUpdate.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Probes;/// <summary>diff --git a/WaveDudeNext/Rendering/ColorLut.cs b/WaveDudeNext/Rendering/ColorLut.csindex 6468c65..6a1a482 100644--- a/WaveDudeNext/Rendering/ColorLut.cs+++ b/WaveDudeNext/Rendering/ColorLut.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Rendering;/// <summary>diff --git a/WaveDudeNext/Rendering/ColorScheme.cs b/WaveDudeNext/Rendering/ColorScheme.csindex 12d4cff..6318730 100644--- a/WaveDudeNext/Rendering/ColorScheme.cs+++ b/WaveDudeNext/Rendering/ColorScheme.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.ObjectModel;using System.Collections.Specialized;using System.ComponentModel;diff --git a/WaveDudeNext/Rendering/ColorSchemeStore.cs b/WaveDudeNext/Rendering/ColorSchemeStore.csindex 273921b..e55cc44 100644--- a/WaveDudeNext/Rendering/ColorSchemeStore.cs+++ b/WaveDudeNext/Rendering/ColorSchemeStore.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Reflection;using System.Text;diff --git a/WaveDudeNext/Rendering/FrameRenderer.cs b/WaveDudeNext/Rendering/FrameRenderer.csindex 6d899ce..f940449 100644--- a/WaveDudeNext/Rendering/FrameRenderer.cs+++ b/WaveDudeNext/Rendering/FrameRenderer.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Numerics.Tensors;namespace WaveDudeNext.Rendering;diff --git a/WaveDudeNext/Rendering/GlowingEdges.cs b/WaveDudeNext/Rendering/GlowingEdges.csindex ff86c0e..a18b655 100644--- a/WaveDudeNext/Rendering/GlowingEdges.cs+++ b/WaveDudeNext/Rendering/GlowingEdges.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Rendering;/// <summary>diff --git a/WaveDudeNext/Rendering/Rgb.cs b/WaveDudeNext/Rendering/Rgb.csindex 52bfb1b..604e9a8 100644--- a/WaveDudeNext/Rendering/Rgb.cs+++ b/WaveDudeNext/Rendering/Rgb.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.ComponentModel;using System.Globalization;diff --git a/WaveDudeNext/Runs/FrameCache.cs b/WaveDudeNext/Runs/FrameCache.csindex 8742c1e..d3cb9b0 100644--- a/WaveDudeNext/Runs/FrameCache.cs+++ b/WaveDudeNext/Runs/FrameCache.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using NLog;namespace WaveDudeNext.Runs;diff --git a/WaveDudeNext/Runs/FrameLayer.cs b/WaveDudeNext/Runs/FrameLayer.csindex 99753d6..50eb882 100644--- a/WaveDudeNext/Runs/FrameLayer.cs+++ b/WaveDudeNext/Runs/FrameLayer.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Runs;/// <summary>One plane of a stored frame.</summary>diff --git a/WaveDudeNext/Runs/FrameMemory.cs b/WaveDudeNext/Runs/FrameMemory.csindex 1fac3bc..4a509e5 100644--- a/WaveDudeNext/Runs/FrameMemory.cs+++ b/WaveDudeNext/Runs/FrameMemory.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Runtime.InteropServices;namespace WaveDudeNext.Runs;diff --git a/WaveDudeNext/Runs/FrameStore.cs b/WaveDudeNext/Runs/FrameStore.csindex d9cf0da..5c25452 100644--- a/WaveDudeNext/Runs/FrameStore.cs+++ b/WaveDudeNext/Runs/FrameStore.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Concurrent;using System.Runtime.InteropServices;using Microsoft.Win32.SafeHandles;diff --git a/WaveDudeNext/Runs/IFrameSource.cs b/WaveDudeNext/Runs/IFrameSource.csindex 6916cea..9a2ca0c 100644--- a/WaveDudeNext/Runs/IFrameSource.cs+++ b/WaveDudeNext/Runs/IFrameSource.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Runtime.InteropServices;using WaveDudeNext.Engine;diff --git a/WaveDudeNext/Runs/PreviewQuality.cs b/WaveDudeNext/Runs/PreviewQuality.csindex 6795bdb..1d1c304 100644--- a/WaveDudeNext/Runs/PreviewQuality.cs+++ b/WaveDudeNext/Runs/PreviewQuality.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Engine;namespace WaveDudeNext.Runs;diff --git a/WaveDudeNext/Runs/RunSpec.cs b/WaveDudeNext/Runs/RunSpec.csindex 0173a41..e063cce 100644--- a/WaveDudeNext/Runs/RunSpec.cs+++ b/WaveDudeNext/Runs/RunSpec.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Immutable;using NLog;using WaveDudeNext.Engine;diff --git a/WaveDudeNext/Runs/RunState.cs b/WaveDudeNext/Runs/RunState.csindex 1068dec..f606710 100644--- a/WaveDudeNext/Runs/RunState.cs+++ b/WaveDudeNext/Runs/RunState.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Runs;/// <summary>Where a <see cref="SimulationRun"/> is in its life.</summary>diff --git a/WaveDudeNext/Runs/ScenePixels.cs b/WaveDudeNext/Runs/ScenePixels.csindex 81d446a..b3d2888 100644--- a/WaveDudeNext/Runs/ScenePixels.cs+++ b/WaveDudeNext/Runs/ScenePixels.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+namespace WaveDudeNext.Runs;/// <summary>diff --git a/WaveDudeNext/Runs/ScratchRunner.cs b/WaveDudeNext/Runs/ScratchRunner.csindex ea26587..3e3d0bc 100644--- a/WaveDudeNext/Runs/ScratchRunner.cs+++ b/WaveDudeNext/Runs/ScratchRunner.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Diagnostics;using NLog;using WaveDudeNext.Engine;diff --git a/WaveDudeNext/Runs/SimulationRun.cs b/WaveDudeNext/Runs/SimulationRun.csindex 66d962f..d66f286 100644--- a/WaveDudeNext/Runs/SimulationRun.cs+++ b/WaveDudeNext/Runs/SimulationRun.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Collections.Concurrent;using System.ComponentModel;using System.Diagnostics;diff --git a/WaveDudeNext/Runs/StridedFrameSource.cs b/WaveDudeNext/Runs/StridedFrameSource.csindex 9874369..540799b 100644--- a/WaveDudeNext/Runs/StridedFrameSource.cs+++ b/WaveDudeNext/Runs/StridedFrameSource.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using WaveDudeNext.Engine;namespace WaveDudeNext.Runs;diff --git a/WaveDudeNext/WaveDudeNext.csproj b/WaveDudeNext/WaveDudeNext.csprojindex a1dfda7..f661b82 100644--- a/WaveDudeNext/WaveDudeNext.csproj+++ b/WaveDudeNext/WaveDudeNext.csproj@@ -11,6 +11,12 @@<Optimize>true</Optimize><!-- the MP4 writer copies a frame into a Media Foundation buffer through its raw pointer --><AllowUnsafeBlocks>true</AllowUnsafeBlocks>+ <!-- read by About and the file properties; the licence text is LICENSE.md, the header of every source file names it -->+ <Authors>Alexander Graef</Authors>+ <Copyright>Copyright (C) 2026 Alexander Graef</Copyright>+ <PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>+ <!-- the .editorconfig code-style rules are build warnings too: a file without the licence header (IDE0073) -->+ <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild></PropertyGroup><!-- the shipped colour schemes are part of the binary; the ColorSchemes folder of this project is their source (2026-10-15: one file per scheme, named like the scheme, with spaces) -->diff --git a/_tools/field_usage.py b/_tools/field_usage.pyindex 378069f..c6b70e6 100644--- a/_tools/field_usage.py+++ b/_tools/field_usage.py@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+"""List every private field/const of the classes in the given .cs files with usage counts, grouped by method."""import re, sysdiff --git a/_tools/library_check/ExportChecks.cs b/_tools/library_check/ExportChecks.csindex 96b8da7..6cd6d62 100644--- a/_tools/library_check/ExportChecks.cs+++ b/_tools/library_check/ExportChecks.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Buffers.Binary;using System.Diagnostics;using System.Globalization;diff --git a/_tools/library_check/LibraryCheck.csproj b/_tools/library_check/LibraryCheck.csprojindex 15b0a77..5bf519b 100644--- a/_tools/library_check/LibraryCheck.csproj+++ b/_tools/library_check/LibraryCheck.csproj@@ -10,6 +10,8 @@<ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><RootNamespace>LibraryCheck</RootNamespace>+ <!-- the .editorconfig code-style rules are build warnings too: a file without the licence header (IDE0073) -->+ <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild></PropertyGroup><!-- UseWPF drops System.IO from the implicit usings -->diff --git a/_tools/library_check/Program.cs b/_tools/library_check/Program.csindex 1b09667..ace5dd6 100644--- a/_tools/library_check/Program.cs+++ b/_tools/library_check/Program.cs@@ -1,3 +1,20 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright (C) 2026 Alexander Graef <[email protected]>+//+// This file is part of WaveDude Next, a 2D wave simulator.+//+// Based on the work of+// JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+// <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+// Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+// <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+//+// WaveDude Next is free software: you can redistribute it and/or modify it under+// the terms of the GNU General Public License as published by the Free Software+// Foundation, either version 3 of the License, or (at your option) any later+// version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+// <https://www.gnu.org/licenses/>.+using System.Globalization;using System.Diagnostics;using System.Numerics.Tensors;diff --git a/_tools/ui_check/ComboListShot.ps1 b/_tools/ui_check/ComboListShot.ps1index 779d402..e8dd98e 100644--- a/_tools/ui_check/ComboListShot.ps1+++ b/_tools/ui_check/ComboListShot.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Opens the preview's speed combo by keyboard (Tab to it, F4, Down) and saves a screenshot of the# open list, for looking at list colours. Keystrokes are posted to the app window; the popup has# no window handle of its own in UI Automation, so its screen rectangle (from the item bounds) isdiff --git a/_tools/ui_check/Common.ps1 b/_tools/ui_check/Common.ps1index fe97fd0..c57e646 100644--- a/_tools/ui_check/Common.ps1+++ b/_tools/ui_check/Common.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Shared part of the UI harnesses (dot-source it): the native helpers, UI Automation lookups and the# launch/park/stop logic. Keystrokes are posted to the app window (WM_KEYDOWN/WM_CHAR), results are# read back through UI Automation *properties*. Nothing here activates the app window or uses thediff --git a/_tools/ui_check/ExportCheck.ps1 b/_tools/ui_check/ExportCheck.ps1index d998b4a..a4bed3c 100644--- a/_tools/ui_check/ExportCheck.ps1+++ b/_tools/ui_check/ExportCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Drives the export (2026-10-14) on tiny.wdproj (64 x 48, 200 steps, a frame every 2 = 100 frames): File > Export ># Export field... with no run yet (a run is started first, then 100 PNGs land in <temp>\wd_export\tiny_field), the# title's asterisk after an edit, and Export both... from the picture's context menu (the Apps key on a focuseddiff --git a/_tools/ui_check/ImportCheck.ps1 b/_tools/ui_check/ImportCheck.ps1index 770381b..ac9486e 100644--- a/_tools/ui_check/ImportCheck.ps1+++ b/_tools/ui_check/ImportCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Opens one of the author's projects (Wave_Dude_Examples/Example12_Dispersion/configuration.json) through the# command line and checks the import landed in the app (2026-10-14): the title shows no file (the project is# unsaved), the tree lists the four sources and two probes, the preview's canvas is the embedded image'sdiff --git a/_tools/ui_check/LanguageCheck.ps1 b/_tools/ui_check/LanguageCheck.ps1index ccd6abb..b046264 100644--- a/_tools/ui_check/LanguageCheck.ps1+++ b/_tools/ui_check/LanguageCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Drives View > Language by keyboard (F10 focuses the menu bar, Down opens a menu, Left/Right move between menus, Enter picks): switches to# German, checks that menus, tooltips and property labels change at once, closes the app, starts it again# and checks the choice was kept (the Language user setting), then switches back to System and checks thediff --git a/_tools/ui_check/MessagesCheck.ps1 b/_tools/ui_check/MessagesCheck.ps1index 62faf49..62d645a 100644--- a/_tools/ui_check/MessagesCheck.ps1+++ b/_tools/ui_check/MessagesCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# UI harness for the Messages pane: shows the pane through View > Panes, checks that start-up# lines are listed, that the level toggles carry counts, that the search box filters, and# screenshots the result.diff --git a/_tools/ui_check/PreviewCheck.ps1 b/_tools/ui_check/PreviewCheck.ps1index c11cec5..856af7a 100644--- a/_tools/ui_check/PreviewCheck.ps1+++ b/_tools/ui_check/PreviewCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Drives the WPF preview pane with keystrokes posted to its window and reads the result back through# UI Automation; see Common.ps1 for the rules (no mouse, no activation, no UIA patterns). Runs on the# default (new) project, so no simulation is involved: playback moves over the placeholder pictures.diff --git a/_tools/ui_check/PreviewQualityCheck.ps1 b/_tools/ui_check/PreviewQualityCheck.ps1index 9f50653..2c3545b 100644--- a/_tools/ui_check/PreviewQualityCheck.ps1+++ b/_tools/ui_check/PreviewQualityCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Drives View > Preview resolution / frames / samples by keyboard (F10 focuses the menu bar, Down opens a menu, Right moves# to View, Down walks its entries, Right opens a submenu, Enter picks) on tiny.wdproj (64 x 48, 200 steps, a frame every# 2 steps): a run is made, then each choice marks it stale and the automatic re-run follows in the reduced shape (thediff --git a/_tools/ui_check/ProbeGraphCheck.ps1 b/_tools/ui_check/ProbeGraphCheck.ps1index a3d4076..8b7eeb4 100644--- a/_tools/ui_check/ProbeGraphCheck.ps1+++ b/_tools/ui_check/ProbeGraphCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Checks the probe graph boxes drawn over the preview pictures (2026-10-14): on tiny_probes.wdproj (320x240,# 100 steps, a point probe with a custom 120x60 box on the field, a line probe with a Small box at its own# position on the intensity) the boxes must sit on the right picture at the probe's box position, show thediff --git a/_tools/ui_check/ProjectTreeCheck.ps1 b/_tools/ui_check/ProjectTreeCheck.ps1index 68b3bde..4b424d3 100644--- a/_tools/ui_check/ProjectTreeCheck.ps1+++ b/_tools/ui_check/ProjectTreeCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# UI harness for the Project pane: drives add, move, duplicate, remove and drag-and-drop# through UI Automation against the Debug build and prints the tree order after each step.# Usage: powershell -NoProfile -ExecutionPolicy Bypass -File ProjectTreeCheck.ps1diff --git a/_tools/ui_check/RunCheck.ps1 b/_tools/ui_check/RunCheck.ps1index d5e0ec2..76e3157 100644--- a/_tools/ui_check/RunCheck.ps1+++ b/_tools/ui_check/RunCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# Runs a simulation in the WPF app through the keyboard and checks the preview follows it: F5 on a tiny# project (64x48, 200 steps, a frame every 2 steps) must complete and leave the preview live on the last# frame; stepping detaches, the picture differs between frames, F re-attaches. A second, long projectdiff --git a/_tools/ui_check/SceneImageCheck.ps1 b/_tools/ui_check/SceneImageCheck.ps1index 3ebca6f..b2b0fb1 100644--- a/_tools/ui_check/SceneImageCheck.ps1+++ b/_tools/ui_check/SceneImageCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# The embedded scene image follows its file (2026-10-15): a project whose embedded image differs from the file its# path names takes the file when opened (the project turns dirty: asterisk in the title), and while the project is# open a change of that file on disk is re-embedded within a second (the picture changes, the status bar says so).diff --git a/_tools/ui_check/StatusBarCheck.ps1 b/_tools/ui_check/StatusBarCheck.ps1index e486ea8..1f75830 100644--- a/_tools/ui_check/StatusBarCheck.ps1+++ b/_tools/ui_check/StatusBarCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# UI harness for the status bar log target: starts the Debug build with a good project file# (expects the "Opened" line in the bar) and with a missing one (expects the error line on red# behind the message box), and screenshots the second case.diff --git a/_tools/ui_check/StatusBarDoubleClickCheck.ps1 b/_tools/ui_check/StatusBarDoubleClickCheck.ps1index 618aacc..9fe9000 100644--- a/_tools/ui_check/StatusBarDoubleClickCheck.ps1+++ b/_tools/ui_check/StatusBarDoubleClickCheck.ps1@@ -1,3 +1,20 @@+# SPDX-License-Identifier: GPL-3.0-or-later+# Copyright (C) 2026 Alexander Graef <[email protected]>+#+# This file is part of WaveDude Next, a 2D wave simulator.+#+# Based on the work of+# JJM Vleggaar (Huygens Optics), author of Wave Dude 2D, Copyright (C) 2026+# <https://www.youtube.com/@HuygensOptics>, <https://www.huygensoptics.com>+# Manuel (0x23, Diffraction Limited), author of WaveSimulator2D+# <https://www.youtube.com/@DiffractionLimited>, <https://github.com/0x23/WaveSimulator2D>+#+# WaveDude Next is free software: you can redistribute it and/or modify it under+# the terms of the GNU General Public License as published by the Free Software+# Foundation, either version 3 of the License, or (at your option) any later+# version. It is distributed WITHOUT ANY WARRANTY. See the LICENSE.md file or+# <https://www.gnu.org/licenses/>.+# UI harness: double-clicking the status bar opens the Messages pane when hidden and focuses# it when shown. Hides the pane first via View > Panes if needed.param(