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#
Colour schemes as positioned stops in XML, embedded in projects; scene image embedded
Alexander Graef7d5171bacdf3
diff --git a/ColorSchemeList/Blue_to_yellow_GNU.wdscheme b/ColorSchemeList/Blue_to_yellow_GNU.wdschemenew file mode 100644index 0000000..5a60196--- /dev/null+++ b/ColorSchemeList/Blue_to_yellow_GNU.wdscheme@@ -0,0 +1,10 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Blue_to_yellow_GNU" Kind="Intensity" Category="sequential" Description="matplotlib colormap gnuplot2, sampled at 255 points">+ <Stop At="0" Color="#000000" />+ <Stop At="0.25196850393700787" Color="#0000FF" />+ <Stop At="0.421259842519685" Color="#8700FF" />+ <Stop At="0.5708661417322834" Color="#FF4DB1" />+ <Stop At="0.9173228346456693" Color="#FFFD01" />+ <Stop At="0.9212598425196851" Color="#FFFF04" />+ <Stop At="1" Color="#FFFFFF" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Bright_rainbow.wdscheme b/ColorSchemeList/Bright_rainbow.wdschemenew file mode 100644index 0000000..7febc6e--- /dev/null+++ b/ColorSchemeList/Bright_rainbow.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Bright_rainbow" Kind="Intensity" Category="custom" Description="9-stop copy of scheme 'Bright_rainbow'">+ <Stop At="0" Color="#000000" />+ <Stop At="0.125" Color="#8005B6" />+ <Stop At="0.25" Color="#3212E0" />+ <Stop At="0.375" Color="#20A4E0" />+ <Stop At="0.5" Color="#40F9BF" />+ <Stop At="0.625" Color="#60F06D" />+ <Stop At="0.75" Color="#CFEA48" />+ <Stop At="0.875" Color="#FCA81D" />+ <Stop At="1" Color="#FF0000" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Copper.wdscheme b/ColorSchemeList/Copper.wdschemenew file mode 100644index 0000000..ea0cbaa--- /dev/null+++ b/ColorSchemeList/Copper.wdscheme@@ -0,0 +1,6 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Copper" Kind="Intensity" Category="sequential" Description="matplotlib colormap copper, sampled at 255 points">+ <Stop At="0" Color="#000000" />+ <Stop At="0.8031496062992126" Color="#FDA065" />+ <Stop At="1" Color="#FFC77E" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Default_Field.wdscheme b/ColorSchemeList/Default_Field.wdschemenew file mode 100644index 0000000..bafa4a8--- /dev/null+++ b/ColorSchemeList/Default_Field.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Default_Field" Kind="Field" Category="custom" Description="9-stop copy of scheme 'Default_Field'">+ <Stop At="0" Color="#FDFDFD" />+ <Stop At="0.125" Color="#3020F4" />+ <Stop At="0.25" Color="#160BD2" />+ <Stop At="0.375" Color="#1A18AA" />+ <Stop At="0.5" Color="#000000" />+ <Stop At="0.625" Color="#770202" />+ <Stop At="0.75" Color="#BF1515" />+ <Stop At="0.875" Color="#FB3B3B" />+ <Stop At="1" Color="#FFFFFF" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Default_Intensity.wdscheme b/ColorSchemeList/Default_Intensity.wdschemenew file mode 100644index 0000000..71eb826--- /dev/null+++ b/ColorSchemeList/Default_Intensity.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Default_Intensity" Kind="Intensity" Category="custom" Description="9-stop copy of scheme 'rainbow_JV'">+ <Stop At="0" Color="#000000" />+ <Stop At="0.125" Color="#0E4494" />+ <Stop At="0.25" Color="#21ACDE" />+ <Stop At="0.375" Color="#20E0D3" />+ <Stop At="0.5" Color="#21F63D" />+ <Stop At="0.625" Color="#F2F94D" />+ <Stop At="0.75" Color="#EAB348" />+ <Stop At="0.875" Color="#F04D1D" />+ <Stop At="1" Color="#FF0000" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Flare_inv.wdscheme b/ColorSchemeList/Flare_inv.wdschemenew file mode 100644index 0000000..82d988e--- /dev/null+++ b/ColorSchemeList/Flare_inv.wdscheme@@ -0,0 +1,11 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Flare_inv" Kind="Intensity" Category="sequential" Description="matplotlib colormap flare, sampled at 255 points">+ <Stop At="0" Color="#ECAF80" />+ <Stop At="0.22440944881889763" Color="#E67760" />+ <Stop At="0.2992125984251969" Color="#E1655B" />+ <Stop At="0.41732283464566927" Color="#D34B60" />+ <Stop At="0.48031496062992124" Color="#C64265" />+ <Stop At="0.6692913385826772" Color="#993570" />+ <Stop At="0.7795275590551181" Color="#7E2E70" />+ <Stop At="1" Color="#4A2262" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Gray_scales.wdscheme b/ColorSchemeList/Gray_scales.wdschemenew file mode 100644index 0000000..1e76067--- /dev/null+++ b/ColorSchemeList/Gray_scales.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Gray_scales" Kind="Intensity" Category="custom" Description="9-stop copy of scheme 'Gray scales'">+ <Stop At="0" Color="#000000" />+ <Stop At="0.125" Color="#232323" />+ <Stop At="0.25" Color="#626262" />+ <Stop At="0.375" Color="#878686" />+ <Stop At="0.5" Color="#9F9F9F" />+ <Stop At="0.625" Color="#B9B9B9" />+ <Stop At="0.75" Color="#D2D2D2" />+ <Stop At="0.875" Color="#EBEBEB" />+ <Stop At="1" Color="#FFFFFF" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Gray_scales_inv.wdscheme b/ColorSchemeList/Gray_scales_inv.wdschemenew file mode 100644index 0000000..a739d30--- /dev/null+++ b/ColorSchemeList/Gray_scales_inv.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Gray_scales_inv" Kind="Intensity" Category="custom" Description="9-stop copy of scheme 'Gray scales'">+ <Stop At="0" Color="#FCFBFB" />+ <Stop At="0.125" Color="#E2DFDF" />+ <Stop At="0.25" Color="#C8C6C6" />+ <Stop At="0.375" Color="#ABAAAA" />+ <Stop At="0.5" Color="#888787" />+ <Stop At="0.625" Color="#656565" />+ <Stop At="0.75" Color="#474646" />+ <Stop At="0.875" Color="#1D1D1D" />+ <Stop At="1" Color="#000000" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Green_blue.wdscheme b/ColorSchemeList/Green_blue.wdschemenew file mode 100644index 0000000..7604a04--- /dev/null+++ b/ColorSchemeList/Green_blue.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Green_blue" Kind="Field" Category="custom" Description="9-stop copy of scheme 'afmhot (5-stop)'">+ <Stop At="0" Color="#FFFAFA" />+ <Stop At="0.125" Color="#5960F6" />+ <Stop At="0.25" Color="#2331DC" />+ <Stop At="0.375" Color="#031BA4" />+ <Stop At="0.5" Color="#000000" />+ <Stop At="0.625" Color="#027F06" />+ <Stop At="0.75" Color="#1BC52A" />+ <Stop At="0.875" Color="#4EF556" />+ <Stop At="1" Color="#FFFFFF" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Green_pink.wdscheme b/ColorSchemeList/Green_pink.wdschemenew file mode 100644index 0000000..7877c2c--- /dev/null+++ b/ColorSchemeList/Green_pink.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Green_pink" Category="custom" Description="9-stop copy of scheme 'vanimo'">+ <Stop At="0" Color="#FFCCFC" />+ <Stop At="0.125" Color="#CD78BD" />+ <Stop At="0.25" Color="#933F80" />+ <Stop At="0.375" Color="#411B38" />+ <Stop At="0.5" Color="#191512" />+ <Stop At="0.625" Color="#293715" />+ <Stop At="0.75" Color="#527126" />+ <Stop At="0.875" Color="#7EAD45" />+ <Stop At="1" Color="#BDFCA5" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Greens.wdscheme b/ColorSchemeList/Greens.wdschemenew file mode 100644index 0000000..ce590c6--- /dev/null+++ b/ColorSchemeList/Greens.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Greens" Kind="Field" Category="sequential" Description="matplotlib colormap Greens, sampled at 255 points">+ <Stop At="0" Color="#F7FCF5" />+ <Stop At="0.11811023622047244" Color="#E6F5E1" />+ <Stop At="0.24015748031496062" Color="#C9EAC2" />+ <Stop At="0.3661417322834646" Color="#A4DA9E" />+ <Stop At="0.4763779527559055" Color="#7DC87D" />+ <Stop At="0.6141732283464567" Color="#44AC5E" />+ <Stop At="0.84251968503937" Color="#087432" />+ <Stop At="0.8700787401574803" Color="#016E2C" />+ <Stop At="1" Color="#00441B" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Hot_orange.wdscheme b/ColorSchemeList/Hot_orange.wdschemenew file mode 100644index 0000000..6c2768d--- /dev/null+++ b/ColorSchemeList/Hot_orange.wdscheme@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Hot_orange" Kind="Intensity" Description="matplotlib colormap afmhot, sampled at 255 points">+ <Stop At="0" Color="#000000" />+ <Stop At="0.25196850393700787" Color="#800000" />+ <Stop At="0.5" Color="#FF8000" />+ <Stop At="0.7480314960629921" Color="#FFFE7F" />+ <Stop At="1" Color="#FFFFFF" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Ice_and_fire.wdscheme b/ColorSchemeList/Ice_and_fire.wdschemenew file mode 100644index 0000000..45c775b--- /dev/null+++ b/ColorSchemeList/Ice_and_fire.wdscheme@@ -0,0 +1,24 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Ice_and_fire" Kind="Field" Description="embedded table in wave_visualizer.py">+ <Stop At="0" Color="#B3E0D8" />+ <Stop At="0.031496062992125984" Color="#A5D6D5" />+ <Stop At="0.15354330708661418" Color="#4F9DCD" />+ <Stop At="0.18110236220472442" Color="#428FCE" />+ <Stop At="0.23228346456692914" Color="#3D72C9" />+ <Stop At="0.2559055118110236" Color="#4164C0" />+ <Stop At="0.2992125984251969" Color="#464FA2" />+ <Stop At="0.3346456692913386" Color="#424282" />+ <Stop At="0.40551181102362205" Color="#2E2D48" />+ <Stop At="0.4448818897637795" Color="#252431" />+ <Stop At="0.4921259842519685" Color="#221E22" />+ <Stop At="0.5354330708661418" Color="#2A1E21" />+ <Stop At="0.5826771653543307" Color="#412229" />+ <Stop At="0.65748031496063" Color="#722B3C" />+ <Stop At="0.7283464566929134" Color="#A63141" />+ <Stop At="0.7716535433070866" Color="#C33D3B" />+ <Stop At="0.8149606299212598" Color="#D95335" />+ <Stop At="0.84251968503937" Color="#E36537" />+ <Stop At="0.889763779527559" Color="#EE864B" />+ <Stop At="0.9606299212598425" Color="#F9B886" />+ <Stop At="1" Color="#FDCBA0" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Orange_hot.wdscheme b/ColorSchemeList/Orange_hot.wdschemenew file mode 100644index 0000000..11a65e1--- /dev/null+++ b/ColorSchemeList/Orange_hot.wdscheme@@ -0,0 +1,7 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Orange_hot" Kind="Field" Category="sequential" Description="matplotlib colormap hot, sampled at 255 points">+ <Stop At="0" Color="#0A0000" />+ <Stop At="0.3661417322834646" Color="#FE0000" />+ <Stop At="0.7440944881889764" Color="#FFFE00" />+ <Stop At="1" Color="#FFFFFF" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Orange_symmetry.wdscheme b/ColorSchemeList/Orange_symmetry.wdschemenew file mode 100644index 0000000..1c92688--- /dev/null+++ b/ColorSchemeList/Orange_symmetry.wdscheme@@ -0,0 +1,24 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Orange_symmetry" Kind="Field" Description="embedded table in wave_visualizer.py">+ <Stop At="0" Color="#FDCBA0" />+ <Stop At="0.027559055118110236" Color="#FABE91" />+ <Stop At="0.09448818897637795" Color="#F29358" />+ <Stop At="0.1220472440944882" Color="#ED8146" />+ <Stop At="0.15354330708661418" Color="#E56B39" />+ <Stop At="0.18503937007874016" Color="#DB5735" />+ <Stop At="0.25196850393700787" Color="#BA383E" />+ <Stop At="0.30708661417322836" Color="#952E42" />+ <Stop At="0.39763779527559057" Color="#562732" />+ <Stop At="0.4645669291338583" Color="#322023" />+ <Stop At="0.5078740157480315" Color="#241E20" />+ <Stop At="0.5354330708661418" Color="#2A1E21" />+ <Stop At="0.5787401574803149" Color="#3F2228" />+ <Stop At="0.6535433070866141" Color="#6F2A3B" />+ <Stop At="0.7283464566929134" Color="#A63141" />+ <Stop At="0.7716535433070866" Color="#C33D3B" />+ <Stop At="0.8149606299212598" Color="#D95335" />+ <Stop At="0.84251968503937" Color="#E36537" />+ <Stop At="0.889763779527559" Color="#EE864B" />+ <Stop At="0.9606299212598425" Color="#F9B886" />+ <Stop At="1" Color="#FDCBA0" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Purple_rain.wdscheme b/ColorSchemeList/Purple_rain.wdschemenew file mode 100644index 0000000..0865abf--- /dev/null+++ b/ColorSchemeList/Purple_rain.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Purple_rain" Kind="Intensity" Category="custom" Description="9-stop copy of scheme 'Gray scales'">+ <Stop At="0" Color="#000000" />+ <Stop At="0.125" Color="#1D012F" />+ <Stop At="0.25" Color="#320151" />+ <Stop At="0.375" Color="#410268" />+ <Stop At="0.5" Color="#6B0280" />+ <Stop At="0.625" Color="#84029E" />+ <Stop At="0.75" Color="#A705C6" />+ <Stop At="0.875" Color="#C915EC" />+ <Stop At="1" Color="#E469FC" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Simply_red.wdscheme b/ColorSchemeList/Simply_red.wdschemenew file mode 100644index 0000000..c9025ed--- /dev/null+++ b/ColorSchemeList/Simply_red.wdscheme@@ -0,0 +1,10 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Simply_red" Kind="Intensity" Category="custom" Description="7-stop copy of scheme 'afmhot'">+ <Stop At="0" Color="#000000" />+ <Stop At="0.16535433070866143" Color="#7D0101" />+ <Stop At="0.3228346456692913" Color="#A60000" />+ <Stop At="0.5" Color="#EB1111" />+ <Stop At="0.6456692913385826" Color="#F54949" />+ <Stop At="0.8267716535433071" Color="#F78E8E" />+ <Stop At="1" Color="#FCEDED" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Turky_brown.wdscheme b/ColorSchemeList/Turky_brown.wdschemenew file mode 100644index 0000000..6c30c94--- /dev/null+++ b/ColorSchemeList/Turky_brown.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Turky_brown" Kind="Field" Category="custom" Description="9-stop copy of scheme 'Green_blown'">+ <Stop At="0" Color="#3E2201" />+ <Stop At="0.125" Color="#995D12" />+ <Stop At="0.25" Color="#CFA154" />+ <Stop At="0.375" Color="#EFDEB0" />+ <Stop At="0.5" Color="#FFFFFF" />+ <Stop At="0.625" Color="#B4E2DB" />+ <Stop At="0.75" Color="#5AB1A7" />+ <Stop At="0.875" Color="#0E726A" />+ <Stop At="1" Color="#000908" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/Yellow_purple.wdscheme b/ColorSchemeList/Yellow_purple.wdschemenew file mode 100644index 0000000..1d6ba75--- /dev/null+++ b/ColorSchemeList/Yellow_purple.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="Yellow_purple" Kind="Field" Category="custom" Description="9-stop copy of scheme 'gist_earth'">+ <Stop At="0" Color="#F76EFC" />+ <Stop At="0.125" Color="#BE02BE" />+ <Stop At="0.25" Color="#800286" />+ <Stop At="0.375" Color="#4D024F" />+ <Stop At="0.5" Color="#000000" />+ <Stop At="0.625" Color="#6F6902" />+ <Stop At="0.75" Color="#C1C203" />+ <Stop At="0.875" Color="#FAF60F" />+ <Stop At="1" Color="#FDF873" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/inferno.wdscheme b/ColorSchemeList/inferno.wdschemenew file mode 100644index 0000000..32b1b5b--- /dev/null+++ b/ColorSchemeList/inferno.wdscheme@@ -0,0 +1,19 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="inferno" Kind="Intensity" Category="sequential" Description="matplotlib colormap inferno, sampled at 255 points">+ <Stop At="0" Color="#000003" />+ <Stop At="0.05905511811023622" Color="#090621" />+ <Stop At="0.09448818897637795" Color="#140B36" />+ <Stop At="0.16141732283464566" Color="#300A5C" />+ <Stop At="0.20866141732283464" Color="#450A69" />+ <Stop At="0.2637795275590551" Color="#5B116E" />+ <Stop At="0.3858267716535433" Color="#8D2369" />+ <Stop At="0.5354330708661418" Color="#C83E4B" />+ <Stop At="0.6614173228346457" Color="#EC6726" />+ <Stop At="0.7480314960629921" Color="#F98C09" />+ <Stop At="0.7795275590551181" Color="#FB9B06" />+ <Stop At="0.8031496062992126" Color="#FBA60B" />+ <Stop At="0.8740157480314961" Color="#F8C931" />+ <Stop At="0.905511811023622" Color="#F5D948" />+ <Stop At="0.952755905511811" Color="#F1EE74" />+ <Stop At="1" Color="#FCFEA4" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/magma.wdscheme b/ColorSchemeList/magma.wdschemenew file mode 100644index 0000000..0dc816b--- /dev/null+++ b/ColorSchemeList/magma.wdscheme@@ -0,0 +1,16 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="magma" Kind="Intensity" Category="sequential" Description="matplotlib colormap magma, sampled at 255 points">+ <Stop At="0" Color="#000003" />+ <Stop At="0.027559055118110236" Color="#02020F" />+ <Stop At="0.1141732283464567" Color="#180F3F" />+ <Stop At="0.17716535433070865" Color="#301065" />+ <Stop At="0.2283464566929134" Color="#470F77" />+ <Stop At="0.2637795275590551" Color="#55137D" />+ <Stop At="0.3858267716535433" Color="#852681" />+ <Stop At="0.4566929133858268" Color="#A3307E" />+ <Stop At="0.5708661417322834" Color="#D3426D" />+ <Stop At="0.6535433070866141" Color="#EE5B5E" />+ <Stop At="0.7362204724409449" Color="#FA805E" />+ <Stop At="0.8307086614173228" Color="#FEAE76" />+ <Stop At="1" Color="#FBFCBF" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/plasma.wdscheme b/ColorSchemeList/plasma.wdschemenew file mode 100644index 0000000..6a8dfe9--- /dev/null+++ b/ColorSchemeList/plasma.wdscheme@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="plasma" Kind="Intensity" Category="custom" Description="9-stop copy of scheme 'plasma'">+ <Stop At="0" Color="#0C0786" />+ <Stop At="0.125" Color="#4C02A1" />+ <Stop At="0.25" Color="#7D03A7" />+ <Stop At="0.375" Color="#A82296" />+ <Stop At="0.5" Color="#CB4777" />+ <Stop At="0.625" Color="#E56C5B" />+ <Stop At="0.75" Color="#F89441" />+ <Stop At="0.875" Color="#FDC328" />+ <Stop At="1" Color="#EFF821" />+</ColorScheme>\ No newline at end of filediff --git a/ColorSchemeList/rainbow.wdscheme b/ColorSchemeList/rainbow.wdschemenew file mode 100644index 0000000..3f6d059--- /dev/null+++ b/ColorSchemeList/rainbow.wdscheme@@ -0,0 +1,15 @@+<?xml version="1.0" encoding="utf-8"?>+<ColorScheme Name="rainbow" Kind="Intensity" Category="other" Description="matplotlib colormap rainbow, sampled at 255 points">+ <Stop At="0" Color="#7F00FF" />+ <Stop At="0.11811023622047244" Color="#435CFA" />+ <Stop At="0.25196850393700787" Color="#00B4EB" />+ <Stop At="0.3464566929133858" Color="#30E1DA" />+ <Stop At="0.39763779527559057" Color="#4AF1CF" />+ <Stop At="0.4763779527559055" Color="#72FEBB" />+ <Stop At="0.5354330708661418" Color="#92FDA9" />+ <Stop At="0.6141732283464567" Color="#BAEE90" />+ <Stop At="0.6692913385826772" Color="#D6DB7E" />+ <Stop At="0.7480314960629921" Color="#FEB461" />+ <Stop At="0.8346456692913385" Color="#FF7E41" />+ <Stop At="1" Color="#FF0000" />+</ColorScheme>\ No newline at end of filediff --git a/Project/test1.wdproj b/Project/test1.wdprojnew file mode 100644index 0000000..a3818c1--- /dev/null+++ b/Project/test1.wdproj@@ -0,0 +1,12 @@+<?xml version="1.0" encoding="utf-8"?>+<Project Version="1" Seed="1706750886">+ <Scene Mode="Image" Image="cavity_highRI_angle.png">+ <ImageData>iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAYAAADo08FDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAADBxUlEQVR42uzBAQ0AAAgDoNvV/hVuDjdgNmkAAAAAAAAAeO8EYIcOSAAAABgGwfuHXo+jEZwCAAAAAAAAgA8JwJ4dyAAAAAAM8re+x1caCWAAAAAAAACAiQRgzw5kAAAAAAb5W9/jK40EMAAAAAAAAMBEArBnBzIAAAAAg/yt7/GVRgIYAAAAAAAAYCIB2LMDGQAAAIBB/tb3+EojAQwAAAAAAAAwkQDs2YEMAAAAwCB/63t8pZEABgAAAAAAAJhIAAHYswMZAAAAgEH+1vf4SiMBDAAAAAAAADCRAOzZgQwAAADAIH/re3ylkQAGAAAAAAAAmEgAAdizAxkAAACAQf7W9/hKIwEMAAAAAAAAMJEA7NmBDAAAAMAgf+t7fKWRAAYAAAAAAACYSAAB2LMDGQAAAIBB/tb3+EojAQwAAAAAAAAwkQDs2YEMAAAAwCB/63t8pZEABgAAAAAAAJhIAAHYswMZAAAAgEH+1vf4SiMBDAAAAAAAADCRAOzZgQwAAADAIH/re3ylkQAGAAAAAAAAmEgAAdizAxkAAACAQf7W9/hKIwEMAAAAAAAAMJEA7NmBDAAAAMAgf+t7fKWRAAYAAAAAAACYSAAB2LMDGQAAAIBB/tb3+EojAQwAAAAAAAAwkQDs2YEMAAAAwCB/63t8pZEABgAAAAAAAJhIAAHYsw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7NmBDAAAAMAgf+t7fKWRAAYAAAAAAACYSAAB2LMDGQAAAIBB/tb3+EojAQwAAAAAAAAwkQDs2YEMAAAAwCB/63t8pZEABgAAAAAAAJhIAAHYswMZAAAAgEH+1vf4SiMBDAAAAAAAADCRAOzZgQwAAADAIH/re3ylkQAGAAAAAAAAmEgAAdizAxkAAACAQf7W9/hKIwEMAAAAAAAAMJEA7NmBDAAAAMAgf+t7fKWRAAYAAAAAAACYSAAB2LMDGQAAAIBB/tb3+EojAQwAAAAAAAAwkQDs2YEMAAAAwCB/63t8pZEABgAAAAAAAJhIAAHYswMZAAAAgEH+1vf4SiMBDAAAAAAAADCRAOzZgQwAAADAIH/re3ylkQAGAAAAAAAAmEgAAdizAxkAAACAQf7W9/hKIwEMAAAAAAAAMJEA7NmBDAAAAMAgf+t7fKWRAAYAAAAAAACYSAAB2LMDGQAAAIBB/tb3+EojAQwAAAAAAAAwkQDs2YEMAAAAwCB/63t8pZEABgAAAAAAAJhIAAEGAA7gmgRYdrGPAAAAAElFTkSuQmCC</ImageData>+ </Scene>+ <Display>+ <Field ColorScheme="Default_Field" BlackLevel="-0.05" />+ <Intensity ColorScheme="Default_intensity" />+ </Display>+ <Source Name="Source 1" X="429" Y="614" />+ <Source Name="Source 2" X="1637" Y="481" />+</Project>\ No newline at end of filediff --git a/WaveDude.WPF/Commands/ColorSchemeCommands.cs b/WaveDude.WPF/Commands/ColorSchemeCommands.csnew file mode 100644index 0000000..5b40831--- /dev/null+++ b/WaveDude.WPF/Commands/ColorSchemeCommands.cs@@ -0,0 +1,16 @@+using System.Windows.Input;++namespace WaveDude.WPF.Commands;++/// <summary>Commands of the colour scheme editor (<c>Views/ColorSchemeView</c>), bound on the view itself.</summary>+public static class ColorSchemeCommands+{+ /// <summary>Turns a sampled 255-colour table into the author's 9 evenly spaced stops (<see cref="WaveDude.Rendering.ColorScheme.ReduceToStops"/>).</summary>+ public static readonly RoutedUICommand ReduceToStops = new("Reduce to stops", nameof(ReduceToStops), typeof(ColorSchemeCommands));++ /// <summary>Adds a stop in the widest gap (<see cref="WaveDude.Rendering.ColorScheme.AddStop"/>).</summary>+ public static readonly RoutedUICommand AddStop = new("Add stop", nameof(AddStop), typeof(ColorSchemeCommands));++ /// <summary>Removes the stop given as parameter; the last stop stays.</summary>+ public static readonly RoutedUICommand RemoveStop = new("Remove stop", nameof(RemoveStop), typeof(ColorSchemeCommands));+}diff --git a/WaveDude.WPF/Commands/ProjectCommands.cs b/WaveDude.WPF/Commands/ProjectCommands.csindex 932d08b..7f1fde3 100644--- a/WaveDude.WPF/Commands/ProjectCommands.cs+++ b/WaveDude.WPF/Commands/ProjectCommands.cs@@ -29,4 +29,10 @@ public static class ProjectCommands/// <summary>Swaps a source or probe with its successor.</summary>public static readonly RoutedUICommand MoveDown = new("Move down", nameof(MoveDown), typeof(ProjectCommands));++ /// <summary>Flips a source's Enabled or a probe's Active (the tree's check boxes; Space on the selected row).</summary>+ public static readonly RoutedUICommand ToggleEnabled = new("Enable or disable", nameof(ToggleEnabled), typeof(ProjectCommands));++ /// <summary>Picks an image file and embeds it as the scene image.</summary>+ public static readonly RoutedUICommand BrowseSceneImage = new("Browse for a scene image", nameof(BrowseSceneImage), typeof(ProjectCommands));}diff --git a/WaveDude.WPF/Controls/ColorSchemePicker.cs b/WaveDude.WPF/Controls/ColorSchemePicker.csnew file mode 100644index 0000000..7947fa7--- /dev/null+++ b/WaveDude.WPF/Controls/ColorSchemePicker.cs@@ -0,0 +1,281 @@+using System.Collections.ObjectModel;+using System.Collections.Specialized;+using System.ComponentModel;+using System.IO;+using System.Windows;+using System.Windows.Controls;+using Microsoft.Win32;+using NLog;+using WaveDude.Model;+using WaveDude.Rendering;+using WaveDude.WPF.Localization;+using WaveDude.WPF.Rendering;++namespace WaveDude.WPF.Controls;++/// <summary>+/// One row of a <see cref="ColorSchemePicker"/>: a scheme with its gradient, the name a layer refers to+/// that no scheme has (greyed), or one of the two actions at the end of the list.+/// </summary>+/// <param name="Scheme">The scheme, or null for a missing name or an action.</param>+/// <param name="Label">Text shown.</param>+/// <param name="Tag">Small grey text on the right ("project" for the project's own schemes), or "".</param>+/// <param name="Action">What selecting the row does; <see cref="PickerAction.None"/> for a scheme.</param>+public sealed record PickerEntry(ColorScheme? Scheme, string Label, string Tag, PickerAction Action)+{+ /// <summary>Whether the row shows a gradient.</summary>+ public bool HasScheme => Scheme != null;++ /// <summary>Actions are italic, so they read as commands rather than names.</summary>+ public FontStyle FontStyle => Action == PickerAction.None ? FontStyles.Normal : FontStyles.Italic;++ /// <summary>A missing name is greyed.</summary>+ public bool IsMissing => Scheme == null && Action == PickerAction.None;+}++/// <summary>What a picker row does when chosen.</summary>+public enum PickerAction+{+ /// <summary>Selects the scheme.</summary>+ None,+ /// <summary>Loads a scheme file into the project and selects it.</summary>+ Browse,+ /// <summary>Copies the selected scheme into the project as 9 editable stops, selects the copy and opens it in the tree.</summary>+ EditCopy,+}++/// <summary>+/// The colour scheme drop-down of a display layer (2026-10-13): every choice with a gradient preview,+/// the project's own schemes first (tagged "project"), then the shared ones of the layer's+/// <see cref="Kind"/> (<see cref="ColorSchemeCatalog.Choices"/>), and two actions at the end: load a+/// scheme file into the project, or copy the current scheme into the project to edit it. The value is+/// the scheme's name (<see cref="SelectedName"/>, bound to <c>DisplayLayer.ColorScheme</c>), so a+/// layer keeps referring to a scheme by name as before. UI thread.+/// </summary>+public sealed class ColorSchemePicker : ComboBox+{+ private static readonly ILogger Logger = LogManager.GetCurrentClassLogger();++ /// <summary>Identifies the <see cref="Project"/> property.</summary>+ public static readonly DependencyProperty ProjectProperty = DependencyProperty.Register(+ nameof(Project), typeof(Project), typeof(ColorSchemePicker), new PropertyMetadata(null, OnProjectChanged));++ /// <summary>Identifies the <see cref="Kind"/> property.</summary>+ public static readonly DependencyProperty KindProperty = DependencyProperty.Register(+ nameof(Kind), typeof(ColorSchemeKind), typeof(ColorSchemePicker), new PropertyMetadata(ColorSchemeKind.Unspecified, (d, _) => ((ColorSchemePicker)d).Rebuild()));++ /// <summary>Identifies the <see cref="SelectedName"/> property.</summary>+ public static readonly DependencyProperty SelectedNameProperty = DependencyProperty.Register(+ nameof(SelectedName), typeof(string), typeof(ColorSchemePicker),+ new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, (d, _) => ((ColorSchemePicker)d).Rebuild()));++ private readonly ObservableCollection<PickerEntry> _entries = [];+ private bool _rebuilding;++ public ColorSchemePicker()+ {+ // one list for the control's lifetime, updated in place: replacing ItemsSource discards every item+ // container, and a discarded ComboBoxItem logs two binding errors as it loses its ancestor+ ItemsSource = _entries;+ // the action rows and the "project" tag are texts of the current language+ PropertyChangedEventManager.AddHandler(LanguageController.Instance, (_, _) => Rebuild(), nameof(LanguageController.Current));+ }++ /// <summary>The project whose own schemes come first and receive loaded files and edit copies.</summary>+ public Project? Project+ {+ get => (Project?)GetValue(ProjectProperty);+ set => SetValue(ProjectProperty, value);+ }++ /// <summary>The output the layer renders; shared schemes of the other kind are left out.</summary>+ public ColorSchemeKind Kind+ {+ get => (ColorSchemeKind)GetValue(KindProperty);+ set => SetValue(KindProperty, value);+ }++ /// <summary>The chosen scheme's name, the layer's setting.</summary>+ public string SelectedName+ {+ get => (string)GetValue(SelectedNameProperty);+ set => SetValue(SelectedNameProperty, value);+ }++ private static void OnProjectChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)+ {+ var picker = (ColorSchemePicker)d;+ if (e.OldValue is Project old)+ {+ old.ColorSchemes.CollectionChanged -= picker.OnSchemesChanged;+ }+ if (e.NewValue is Project project)+ {+ project.ColorSchemes.CollectionChanged += picker.OnSchemesChanged;+ }+ picker.Rebuild();+ }++ private void OnSchemesChanged(object? sender, NotifyCollectionChangedEventArgs e) => Rebuild();++ /// <summary>Fills the list for the current project, kind and name, and selects the row of <see cref="SelectedName"/>.</summary>+ private void Rebuild()+ {+ if (_rebuilding)+ {+ return;+ }+ _rebuilding = true;+ try+ {+ var entries = new List<PickerEntry>();+ string projectTag = TryFindResource("PickerProjectTag") as string ?? "project";+ PickerEntry? selected = null;+ foreach (ColorScheme scheme in ColorSchemeCatalog.Instance.Choices(Project, Kind))+ {+ bool own = Project != null && Project.ColorSchemes.Contains(scheme);+ var entry = new PickerEntry(scheme, scheme.Name, own ? projectTag : "", PickerAction.None);+ entries.Add(entry);+ if (selected == null && string.Equals(scheme.Name, SelectedName, StringComparison.OrdinalIgnoreCase))+ {+ selected = entry;+ }+ }+ if (selected == null && SelectedName.Length > 0)+ {+ string format = TryFindResource("PickerMissingFormat") as string ?? "{0} (not found)";+ selected = new PickerEntry(null, string.Format(format, SelectedName), "", PickerAction.None);+ entries.Insert(0, selected);+ }+ entries.Add(new PickerEntry(null, TryFindResource("PickerBrowse") as string ?? "Load from file…", "", PickerAction.Browse));+ entries.Add(new PickerEntry(null, TryFindResource("PickerEditCopy") as string ?? "Edit a copy in the project…", "", PickerAction.EditCopy));+ // bring the live list to the wanted one with the fewest changes: drop rows that went, insert rows that came+ for (int i = _entries.Count - 1; i >= 0; i--)+ {+ if (!entries.Any(wanted => Same(wanted, _entries[i])))+ {+ _entries.RemoveAt(i);+ }+ }+ for (int i = 0; i < entries.Count; i++)+ {+ int at = IndexOf(entries[i]);+ if (at < 0)+ {+ _entries.Insert(i, entries[i]);+ }+ else if (at != i)+ {+ _entries.Move(at, i);+ }+ if (_entries[i].Label != entries[i].Label || _entries[i].Tag != entries[i].Tag)+ {+ _entries[i] = entries[i]; // relabelled (a language change)+ }+ }+ SelectedItem = selected == null ? null : _entries[IndexOf(selected)];+ }+ finally+ {+ _rebuilding = false;+ }+ }++ private int IndexOf(PickerEntry wanted)+ {+ for (int i = 0; i < _entries.Count; i++)+ {+ if (Same(wanted, _entries[i]))+ {+ return i;+ }+ }+ return -1;+ }++ /// <summary>Whether two rows stand for the same thing (the same scheme object, or the same action or missing name).</summary>+ private static bool Same(PickerEntry a, PickerEntry b) =>+ ReferenceEquals(a.Scheme, b.Scheme) && a.Action == b.Action && (a.Action != PickerAction.None || a.Label == b.Label) && a.Tag == b.Tag;++ /// <inheritdoc/>+ protected override void OnSelectionChanged(SelectionChangedEventArgs e)+ {+ base.OnSelectionChanged(e);+ if (_rebuilding || SelectedItem is not PickerEntry entry)+ {+ return;+ }+ switch (entry.Action)+ {+ case PickerAction.None when entry.Scheme != null:+ SelectedName = entry.Scheme.Name;+ break;+ case PickerAction.Browse:+ Browse();+ break;+ case PickerAction.EditCopy:+ EditCopy();+ break;+ }+ // an action row never stays selected: the list shows the scheme the layer uses+ if (entry.Action != PickerAction.None)+ {+ Dispatcher.InvokeAsync(Rebuild);+ }+ }++ /// <summary>Loads a JSON or XML scheme file into the project's own schemes and selects it.</summary>+ private void Browse()+ {+ if (Project is not { } project)+ {+ return;+ }+ var dialog = new OpenFileDialog+ {+ Filter = TryFindResource("ColorSchemeFilter") as string ?? "Colour schemes (*.wdscheme;*.json)|*.wdscheme;*.json|All files (*.*)|*.*",+ Title = TryFindResource("PickerBrowse") as string ?? "Load from file",+ };+ if (dialog.ShowDialog(Window.GetWindow(this)) != true)+ {+ return;+ }+ try+ {+ ColorScheme scheme = ColorSchemeStore.LoadFile(dialog.FileName);+ scheme.FilePath = ""; // it lives in the project from now on+ project.AddColorScheme(scheme);+ SelectedName = scheme.Name;+ Logger.Info("Colour scheme '{Name}' loaded from '{Path}' into the project", scheme.Name, dialog.FileName);+ }+ catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or InvalidDataException or InvalidOperationException or FormatException or System.Text.Json.JsonException)+ {+ Logger.Error(ex, "The colour scheme could not be loaded: {Message}", ex.Message);+ }+ }++ /// <summary>Copies the scheme in use into the project as 9 stops, selects the copy and opens it in the Project tree.</summary>+ private void EditCopy()+ {+ if (Project is not { } project || ColorSchemeCatalog.Instance.Resolve(project, SelectedName) is not { } current)+ {+ return;+ }+ ColorScheme copy = current.Clone(current.Name + " copy");+ if (!copy.IsStopScheme)+ {+ copy.ReduceToStops();+ }+ if (project.ColorSchemes.Contains(current))+ {+ copy.Description = "copy of project scheme '" + current.Name + "'";+ }+ project.AddColorScheme(copy);+ SelectedName = copy.Name;+ Logger.Info("Colour scheme '{Name}' copied into the project for editing", copy.Name);+ if (Application.Current.MainWindow is MainWindow main)+ {+ main.SelectedItem = copy;+ }+ }+}diff --git a/WaveDude.WPF/Converters/ColorSchemeBrushConverter.cs b/WaveDude.WPF/Converters/ColorSchemeBrushConverter.csnew file mode 100644index 0000000..01951d0--- /dev/null+++ b/WaveDude.WPF/Converters/ColorSchemeBrushConverter.cs@@ -0,0 +1,54 @@+using System.Globalization;+using System.Windows.Data;+using System.Windows.Media;+using WaveDude.Rendering;++namespace WaveDude.WPF.Converters;++/// <summary>+/// A colour scheme (or its stop list, or a plain colour list) as a horizontal gradient brush, the preview+/// strip of the picker, the tree and the editor: every stop becomes a gradient stop at its position when+/// there are up to 64, else 64 samples of the interpolated table. Null gives a transparent brush. The+/// brush is frozen.+/// </summary>+public sealed class ColorSchemeBrushConverter : IValueConverter+{+ private const int MaxStops = 64;++ public object Convert(object? value, Type targetType, object? parameter, CultureInfo culture)+ {+ IReadOnlyList<ColorStop>? stops = value switch+ {+ ColorScheme scheme => scheme.Stops,+ IReadOnlyList<ColorStop> list => list,+ IReadOnlyList<Rgb> colors => colors.Select((c, k) => new ColorStop(colors.Count == 1 ? 0.0 : k / (double)(colors.Count - 1), c)).ToList(),+ _ => null,+ };+ if (stops == null || stops.Count == 0)+ {+ return Brushes.Transparent;+ }+ var collection = new GradientStopCollection();+ if (stops.Count <= MaxStops)+ {+ foreach (ColorStop stop in stops.OrderBy(s => s.Position))+ {+ collection.Add(new GradientStop(Color.FromRgb(stop.Color.R, stop.Color.G, stop.Color.B), Math.Clamp(stop.Position, 0.0, 1.0)));+ }+ }+ else+ {+ Rgb[] samples = ColorScheme.Interpolate(stops, MaxStops);+ for (int i = 0; i < samples.Length; i++)+ {+ collection.Add(new GradientStop(Color.FromRgb(samples[i].R, samples[i].G, samples[i].B), i / (double)(samples.Length - 1)));+ }+ }+ var brush = new LinearGradientBrush(collection, 0.0);+ brush.Freeze();+ return brush;+ }++ public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture) =>+ throw new NotSupportedException();+}diff --git a/WaveDude.WPF/Converters/ImageInfoConverter.cs b/WaveDude.WPF/Converters/ImageInfoConverter.csnew file mode 100644index 0000000..c359d4e--- /dev/null+++ b/WaveDude.WPF/Converters/ImageInfoConverter.cs@@ -0,0 +1,35 @@+using System.Globalization;+using System.IO;+using System.Windows.Data;+using System.Windows.Media.Imaging;++namespace WaveDude.WPF.Converters;++/// <summary>+/// The embedded scene image's bytes as "1920 × 1080, 312 KB" for the scene view; "" without an image,+/// "(unreadable)" when no decoder takes the bytes. Reads the header only (<see cref="BitmapCacheOption.None"/>).+/// </summary>+public sealed class ImageInfoConverter : IValueConverter+{+ public object Convert(object? value, Type targetType, object? parameter, CultureInfo culture)+ {+ if (value is not byte[] bytes)+ {+ return "";+ }+ try+ {+ using var stream = new MemoryStream(bytes, writable: false);+ BitmapDecoder decoder = BitmapDecoder.Create(stream, BitmapCreateOptions.DelayCreation, BitmapCacheOption.None);+ BitmapFrame frame = decoder.Frames[0];+ return string.Format(culture, "{0} × {1}, {2:N0} KB", frame.PixelWidth, frame.PixelHeight, Math.Max(1, bytes.Length / 1024));+ }+ catch (Exception ex) when (ex is NotSupportedException or FileFormatException or IOException)+ {+ return "(unreadable)";+ }+ }++ public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture) =>+ throw new NotSupportedException();+}diff --git a/WaveDude.WPF/Converters/RgbBrushConverter.cs b/WaveDude.WPF/Converters/RgbBrushConverter.csnew file mode 100644index 0000000..a74a9c6--- /dev/null+++ b/WaveDude.WPF/Converters/RgbBrushConverter.cs@@ -0,0 +1,24 @@+using System.Globalization;+using System.Windows.Data;+using System.Windows.Media;+using WaveDude.Rendering;++namespace WaveDude.WPF.Converters;++/// <summary>One <see cref="Rgb"/> as a frozen solid brush, for the swatch beside a stop's text; anything else gives transparent.</summary>+public sealed class RgbBrushConverter : IValueConverter+{+ public object Convert(object? value, Type targetType, object? parameter, CultureInfo culture)+ {+ if (value is not Rgb c)+ {+ return Brushes.Transparent;+ }+ var brush = new SolidColorBrush(Color.FromRgb(c.R, c.G, c.B));+ brush.Freeze();+ return brush;+ }++ public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture) =>+ throw new NotSupportedException();+}diff --git a/WaveDude.WPF/FileAssociation.cs b/WaveDude.WPF/FileAssociation.csindex 9907c74..a63915e 100644--- a/WaveDude.WPF/FileAssociation.cs+++ b/WaveDude.WPF/FileAssociation.cs@@ -9,7 +9,7 @@ namespace WaveDude.WPF;/// <summary>/// Registers the project file extension with Windows Explorer, so that a double-click on a-/// <c>.wdproj</c> file (or "Open with") starts this executable with the file as its first+/// <c>.wdproj</c> or <c>.wdscheme</c> file (or "Open with") starts this executable with the file as its first/// argument; <see cref="App.OnStartup"/> hands that argument to <see cref="MainWindow.OpenFile"/>./// </summary>/// <remarks>@@ -32,10 +32,16 @@ namespace WaveDude.WPF;internal static class FileAssociation{/// <summary>Registry class name of a project file; the extension key points at it.</summary>- private const string ProgId = "WaveDude.Project";+ public const string ProjectProgId = "WaveDude.Project";- /// <summary>What Explorer shows as the file type.</summary>- private const string TypeDescription = "Wave Dude project";+ /// <summary>What Explorer shows as a project file's type.</summary>+ public const string ProjectDescription = "Wave Dude project";++ /// <summary>Registry class name of a colour scheme file (<c>.wdscheme</c>, 2026-10-13).</summary>+ public const string SchemeProgId = "WaveDude.ColorScheme";++ /// <summary>What Explorer shows as a scheme file's type.</summary>+ public const string SchemeDescription = "Wave Dude colour scheme";/// <summary><c>SHChangeNotify</c> event: the file associations changed, flush the icon and type caches.</summary>private const uint SHCNE_ASSOCCHANGED = 0x08000000;@@ -47,14 +53,15 @@ internal static class FileAssociation/// <summary>/// Makes files with <paramref name="extension"/> (leading dot included) open with- /// <paramref name="executable"/>, machine-wide when this process may write there, else for the- /// current user. Call once at start-up; it is cheap when nothing has changed.+ /// <paramref name="executable"/> under the class <paramref name="progId"/> shown as+ /// <paramref name="description"/>, machine-wide when this process may write there, else for the+ /// current user. Call once per file type at start-up; it is cheap when nothing has changed./// </summary>- public static void Register(string extension, string executable)+ public static void Register(string extension, string progId, string description, string executable){try{- Apply(Registry.ClassesRoot, "HKEY_CLASSES_ROOT", extension, executable);+ Apply(Registry.ClassesRoot, "HKEY_CLASSES_ROOT", extension, progId, description, executable);return;}catch (Exception ex) when (ex is UnauthorizedAccessException or SecurityException or IOException)@@ -70,7 +77,7 @@ internal static class FileAssociationLogger.Warn("HKEY_CURRENT_USER\\Software\\Classes does not exist; {Extension} not registered", extension);return;}- Apply(classes, @"HKEY_CURRENT_USER\Software\Classes", extension, executable);+ Apply(classes, @"HKEY_CURRENT_USER\Software\Classes", extension, progId, description, executable);}catch (Exception ex) when (ex is UnauthorizedAccessException or SecurityException or IOException){@@ -79,11 +86,11 @@ internal static class FileAssociation}/// <summary>Writes the four keys under <paramref name="classes"/> unless they already hold these values.</summary>- private static void Apply(RegistryKey classes, string classesName, string extension, string executable)+ private static void Apply(RegistryKey classes, string classesName, string extension, string progId, string description, string executable){string command = $"\"{executable}\" \"%1\"";string icon = $"\"{executable}\",0";- if (IsCurrent(classes, extension, command, icon))+ if (IsCurrent(classes, extension, progId, command, icon)){// HKEY_CLASSES_ROOT is the merged view, so a per-user registration satisfies this check tooLogger.Debug("{Extension} already opens with '{Executable}' (seen through {Classes})", extension, executable, classesName);@@ -92,11 +99,11 @@ internal static class FileAssociationusing (RegistryKey extensionKey = classes.CreateSubKey(extension)){- extensionKey.SetValue("", ProgId);+ extensionKey.SetValue("", progId);}- using (RegistryKey progIdKey = classes.CreateSubKey(ProgId))+ using (RegistryKey progIdKey = classes.CreateSubKey(progId)){- progIdKey.SetValue("", TypeDescription);+ progIdKey.SetValue("", description);using RegistryKey iconKey = progIdKey.CreateSubKey("DefaultIcon");iconKey.SetValue("", icon);using RegistryKey commandKey = progIdKey.CreateSubKey(@"shell\open\command");@@ -109,10 +116,10 @@ internal static class FileAssociation}/// <summary>True when the extension, the open command and the icon already read as expected (read access only).</summary>- private static bool IsCurrent(RegistryKey classes, string extension, string command, string icon) =>- ReadDefault(classes, extension) == ProgId- && ReadDefault(classes, $@"{ProgId}\shell\open\command") == command- && ReadDefault(classes, $@"{ProgId}\DefaultIcon") == icon;+ private static bool IsCurrent(RegistryKey classes, string extension, string progId, string command, string icon) =>+ ReadDefault(classes, extension) == progId+ && ReadDefault(classes, $@"{progId}\shell\open\command") == command+ && ReadDefault(classes, $@"{progId}\DefaultIcon") == icon;private static string? ReadDefault(RegistryKey classes, string subKey){diff --git a/WaveDude.WPF/MainWindow.Project.cs b/WaveDude.WPF/MainWindow.Project.csindex 8b46c6b..aa36a48 100644--- a/WaveDude.WPF/MainWindow.Project.cs+++ b/WaveDude.WPF/MainWindow.Project.cs@@ -1,7 +1,12 @@using System.Collections;+using System.IO;using System.Windows.Input;+using Microsoft.Win32;using WaveDude.Model;+using WaveDude.Rendering;+using WaveDude.Runs;using WaveDude.WPF.Converters;+using WaveDude.WPF.Rendering;namespace WaveDude.WPF;@@ -18,8 +23,10 @@ public partial class MainWindow{NamedCollection folder when ReferenceEquals(folder.Items, Project.Sources) => Project.Sources,NamedCollection folder when ReferenceEquals(folder.Items, Project.Probes) => Project.Probes,+ NamedCollection folder when ReferenceEquals(folder.Items, Project.ColorSchemes) => Project.ColorSchemes,Source => Project.Sources,Probe => Project.Probes,+ ColorScheme => Project.ColorSchemes,_ => null,};@@ -41,11 +48,32 @@ public partial class MainWindow{Added(Project.AddProbe());}+ else if (ReferenceEquals(list, Project.ColorSchemes))+ {+ Added(Project.AddColorScheme());+ }}private void CanEditItem(object sender, CanExecuteRoutedEventArgs e) =>+ e.CanExecute = Target(e.Parameter) is Source or Probe or ColorScheme;++ private void CanToggleEnabled(object sender, CanExecuteRoutedEventArgs e) =>e.CanExecute = Target(e.Parameter) is Source or Probe;+ /// <summary>The tree's check boxes by keyboard: Space on a selected source or probe flips it (the author's point 11, 2026-10-13).</summary>+ private void OnToggleEnabled(object sender, ExecutedRoutedEventArgs e)+ {+ switch (Target(e.Parameter))+ {+ case Source source:+ source.Enabled = !source.Enabled;+ break;+ case Probe probe:+ probe.Active = !probe.Active;+ break;+ }+ }+private void OnDuplicate(object sender, ExecutedRoutedEventArgs e){switch (Target(e.Parameter))@@ -56,6 +84,9 @@ public partial class MainWindowcase Probe probe:Added(Project.Duplicate(probe));break;+ case ColorScheme scheme:+ Added(Project.Duplicate(scheme));+ break;}}@@ -76,6 +107,9 @@ public partial class MainWindowcase Probe probe:Project.Remove(probe);break;+ case ColorScheme scheme:+ Project.Remove(scheme);+ break;}// keep the user in place: the item that took the slot, else the folderif (list.Count > 0)@@ -91,13 +125,13 @@ public partial class MainWindowprivate void CanMoveUp(object sender, CanExecuteRoutedEventArgs e){object? item = Target(e.Parameter);- e.CanExecute = ListOf(item) is { } list && item is Source or Probe && list.IndexOf(item) > 0;+ e.CanExecute = ListOf(item) is { } list && item is Source or Probe or ColorScheme && list.IndexOf(item) > 0;}private void CanMoveDown(object sender, CanExecuteRoutedEventArgs e){object? item = Target(e.Parameter);- e.CanExecute = ListOf(item) is { } list && item is Source or Probe && list.IndexOf(item) < list.Count - 1;+ e.CanExecute = ListOf(item) is { } list && item is Source or Probe or ColorScheme && list.IndexOf(item) < list.Count - 1;}private void OnMoveUp(object sender, ExecutedRoutedEventArgs e) => MoveBy(Target(e.Parameter), -1);@@ -116,6 +150,7 @@ public partial class MainWindow{Source source => Project.Move(source, index),Probe probe => Project.Move(probe, index),+ ColorScheme scheme => Project.Move(scheme, index),_ => false,};if (moved)@@ -130,4 +165,35 @@ public partial class MainWindowprojectTree.Select(item);propertiesPane.FocusFirstEditor();}++ /// <summary>+ /// Scene > Browse: picks an image file and embeds its bytes in the project (2026-10-13; the file is+ /// decoded once to prove it is an image and to log its size). The scene switches to image mode and+ /// shows the file's name; the watcher treats the change like any scene edit.+ /// </summary>+ private void OnBrowseSceneImage(object sender, ExecutedRoutedEventArgs e)+ {+ var dialog = new OpenFileDialog+ {+ Filter = (string)FindResource("SceneImageFilter"),+ Title = (string)FindResource("TipBrowseSceneImage"),+ };+ if (dialog.ShowDialog(this) != true)+ {+ return;+ }+ try+ {+ byte[] bytes = File.ReadAllBytes(dialog.FileName);+ ScenePixels pixels = SceneImageLoader.Load(bytes);+ Project.Scene.ImageData = bytes;+ Project.Scene.Image = Path.GetFileName(dialog.FileName);+ Project.Scene.Mode = SceneMode.Image;+ Logger.Info("Scene image '{Name}' embedded: {Width}×{Height}, {Size} KB", Project.Scene.Image, pixels.Width, pixels.Height, Math.Max(1, bytes.Length / 1024));+ }+ catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or NotSupportedException or FileFormatException)+ {+ Logger.Error(ex, "The image could not be loaded: {Message}", ex.Message);+ }+ }}diff --git a/WaveDude.WPF/Panes/PropertiesPane.xaml b/WaveDude.WPF/Panes/PropertiesPane.xamlindex 0e28e53..e10d624 100644--- a/WaveDude.WPF/Panes/PropertiesPane.xaml+++ b/WaveDude.WPF/Panes/PropertiesPane.xaml@@ -4,7 +4,8 @@xmlns:local="clr-namespace:WaveDude.WPF.Panes"xmlns:views="clr-namespace:WaveDude.WPF.Views"xmlns:converters="clr-namespace:WaveDude.WPF.Converters"- xmlns:model="clr-namespace:WaveDude.Model;assembly=WaveDude">+ xmlns:model="clr-namespace:WaveDude.Model;assembly=WaveDude"+ xmlns:rendering="clr-namespace:WaveDude.Rendering;assembly=WaveDude"><!-- one view per model type; the content control picks the template by the selected object's type --><UserControl.Resources>@@ -26,6 +27,9 @@<DataTemplate DataType="{x:Type model:Probe}"><views:ProbeView /></DataTemplate>+ <DataTemplate DataType="{x:Type rendering:ColorScheme}">+ <views:ColorSchemeView />+ </DataTemplate><DataTemplate DataType="{x:Type converters:NamedCollection}"><views:CollectionView /></DataTemplate>diff --git a/WaveDude.WPF/Panes/PropertiesPane.xaml.cs b/WaveDude.WPF/Panes/PropertiesPane.xaml.csindex 292717c..965e2ce 100644--- a/WaveDude.WPF/Panes/PropertiesPane.xaml.cs+++ b/WaveDude.WPF/Panes/PropertiesPane.xaml.cs@@ -2,6 +2,7 @@ using System.Windows;using System.Windows.Controls;using System.Windows.Media;using System.Windows.Threading;+using WaveDude.Model;namespace WaveDude.WPF.Panes;@@ -16,6 +17,10 @@ public partial class PropertiesPane : UserControlpublic static readonly DependencyProperty SelectedObjectProperty = DependencyProperty.Register(nameof(SelectedObject), typeof(object), typeof(PropertiesPane));+ /// <summary>Identifies the <see cref="Project"/> property.</summary>+ public static readonly DependencyProperty ProjectProperty = DependencyProperty.Register(+ nameof(Project), typeof(Project), typeof(PropertiesPane));+public PropertiesPane(){InitializeComponent();@@ -28,6 +33,13 @@ public partial class PropertiesPane : UserControlset => SetValue(SelectedObjectProperty, value);}+ /// <summary>The project the selected object belongs to, for views that need its other parts (a source's wavelength needs the solver settings).</summary>+ public Project? Project+ {+ get => (Project?)GetValue(ProjectProperty);+ set => SetValue(ProjectProperty, value);+ }+/// <summary>Puts the caret into the first text box of the current view once it is built, selecting its text.</summary>public void FocusFirstEditor() =>Dispatcher.InvokeAsync(() =>diff --git a/WaveDude.WPF/Rendering/ColorSchemeCatalog.cs b/WaveDude.WPF/Rendering/ColorSchemeCatalog.csindex a7db683..4ff9a51 100644--- a/WaveDude.WPF/Rendering/ColorSchemeCatalog.cs+++ b/WaveDude.WPF/Rendering/ColorSchemeCatalog.cs@@ -1,13 +1,17 @@using NLog;+using WaveDude.Model;using WaveDude.Rendering;namespace WaveDude.WPF.Rendering;/// <summary>-/// The colour schemes: the user's own from <see cref="ColorSchemeStore.UserFolder"/> first (a user scheme-/// with a built-in name shadows it), then the ones built into the library, loaded once, and a cache of the-/// palettes built from them for the display settings in use. UI thread only; the cached <c>int[]</c>-/// palettes are immutable and may be handed to rendering threads.+/// The colour schemes available to a project: the project's own (<see cref="Project.ColorSchemes"/>,+/// consulted first, so a project scheme shadows a built-in of the same name), then the user's folder+/// (<see cref="ColorSchemeStore.UserFolder"/>), then the ones built into the library; the last two+/// are loaded once. Also a cache of the palettes built from the shared schemes for the display+/// settings in use; a project scheme's palette is built on every request, since it may be mid-edit+/// and 255 entries cost nothing. UI thread only; the <c>int[]</c> palettes are immutable and may be+/// handed to rendering threads./// </summary>public sealed class ColorSchemeCatalog{@@ -39,7 +43,7 @@ public sealed class ColorSchemeCatalog_luts.Clear();}- /// <summary>Every scheme that loaded, in file name order.</summary>+ /// <summary>The shared schemes (user folder, then built-in), in file name order; not the project's.</summary>public IReadOnlyList<ColorScheme> Schemes{get@@ -52,12 +56,42 @@ public sealed class ColorSchemeCatalog}}+ /// <summary>The scheme a name refers to in <paramref name="project"/>: its own first, then the shared ones; null when unknown.</summary>+ public ColorScheme? Resolve(Project? project, string name) =>+ (project == null ? null : ColorSchemeStore.Find(project.ColorSchemes, name)) ?? ColorSchemeStore.Find(Schemes, name);++ /// <summary>+ /// The schemes a picker offers for one output: the project's own (all of them), then the shared ones+ /// whose <see cref="ColorScheme.Kind"/> is <paramref name="kind"/> or unspecified.+ /// </summary>+ public IEnumerable<ColorScheme> Choices(Project? project, ColorSchemeKind kind)+ {+ if (project != null)+ {+ foreach (ColorScheme scheme in project.ColorSchemes)+ {+ yield return scheme;+ }+ }+ foreach (ColorScheme scheme in Schemes)+ {+ if (scheme.Kind == kind || scheme.Kind == ColorSchemeKind.Unspecified)+ {+ yield return scheme;+ }+ }+ }+/// <summary>- /// The palette of the scheme called <paramref name="name"/> with the given black level, cached; null- /// (greyscale) when no such scheme exists, which is logged once per name.+ /// The palette of the scheme called <paramref name="name"/> with the given black level; null (greyscale)+ /// when no such scheme exists, which is logged once per name. Shared schemes are cached; a project scheme is built fresh./// </summary>- public int[]? LutFor(string name, double blackLevel)+ public int[]? LutFor(Project? project, string name, double blackLevel){+ if (project != null && ColorSchemeStore.Find(project.ColorSchemes, name) is { } own)+ {+ return ColorLut.Build(own, blackLevel: blackLevel).Argb;+ }(string, double) key = (name, blackLevel);if (_luts.TryGetValue(key, out int[]? lut)){diff --git a/WaveDude.WPF/Rendering/SceneImageLoader.cs b/WaveDude.WPF/Rendering/SceneImageLoader.csindex 648403e..7c1ae35 100644--- a/WaveDude.WPF/Rendering/SceneImageLoader.cs+++ b/WaveDude.WPF/Rendering/SceneImageLoader.cs@@ -14,6 +14,19 @@ public static class SceneImageLoaderpublic static ScenePixels Load(string path){using FileStream stream = File.OpenRead(path);+ return Load(stream);+ }++ /// <summary>Decodes an image file's bytes (an embedded scene image).</summary>+ public static ScenePixels Load(byte[] bytes)+ {+ using var stream = new MemoryStream(bytes, writable: false);+ return Load(stream);+ }++ /// <summary>Decodes an image stream (any format WPF has a decoder for) into BGRA pixels.</summary>+ public static ScenePixels Load(Stream stream)+ {BitmapDecoder decoder = BitmapDecoder.Create(stream, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.OnLoad);var converted = new FormatConvertedBitmap(decoder.Frames[0], PixelFormats.Bgra32, null, 0);int width = converted.PixelWidth;diff --git a/WaveDude.WPF/Themes/Editors.xaml b/WaveDude.WPF/Themes/Editors.xamlindex b0369d6..ee1300d 100644--- a/WaveDude.WPF/Themes/Editors.xaml+++ b/WaveDude.WPF/Themes/Editors.xaml@@ -1,6 +1,7 @@<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"- xmlns:converters="clr-namespace:WaveDude.WPF.Converters">+ xmlns:converters="clr-namespace:WaveDude.WPF.Converters"+ xmlns:controls="clr-namespace:WaveDude.WPF.Controls"><!-- editors used by the property views: VS look, colours from the theme table -->@@ -15,6 +16,8 @@<Setter Property="CaretBrush" Value="{DynamicResource WindowForeground}" /><Setter Property="SelectionBrush" Value="{DynamicResource Accent}" /><Setter Property="AllowDrop" Value="True" />+ <!-- Enter commits the edit, Escape reverts it (EditBehavior) -->+ <Setter Property="controls:EditBehavior.CommitOnEnter" Value="True" /><Setter Property="Template"><Setter.Value><ControlTemplate TargetType="{x:Type TextBox}">@@ -39,6 +42,71 @@</Setter></Style>+ <!-- NumberBox: the text box plus a column of two small repeat buttons (Up/Down keys, wheel and buttons step the value) -->+ <Style x:Key="SpinButton" TargetType="{x:Type RepeatButton}">+ <Setter Property="Focusable" Value="False" />+ <Setter Property="IsTabStop" Value="False" />+ <Setter Property="Delay" Value="400" />+ <Setter Property="Interval" Value="60" />+ <Setter Property="Template">+ <Setter.Value>+ <ControlTemplate TargetType="{x:Type RepeatButton}">+ <Border x:Name="Bd" Background="Transparent" Width="14">+ <Path x:Name="Glyph" Data="{TemplateBinding Content}" Stroke="{DynamicResource ComboBoxGlyph}" StrokeThickness="1"+ Width="6" Height="3" Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Center" />+ </Border>+ <ControlTemplate.Triggers>+ <Trigger Property="IsMouseOver" Value="True">+ <Setter TargetName="Bd" Property="Background" Value="{DynamicResource ButtonHover}" />+ </Trigger>+ <Trigger Property="IsPressed" Value="True">+ <Setter TargetName="Bd" Property="Background" Value="{DynamicResource ButtonPressed}" />+ </Trigger>+ </ControlTemplate.Triggers>+ </ControlTemplate>+ </Setter.Value>+ </Setter>+ </Style>+ <Style TargetType="{x:Type controls:NumberBox}" BasedOn="{StaticResource {x:Type TextBox}}">+ <Setter Property="Template">+ <Setter.Value>+ <ControlTemplate TargetType="{x:Type controls:NumberBox}">+ <Border x:Name="Bd" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"+ BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="True">+ <Grid>+ <Grid.ColumnDefinitions>+ <ColumnDefinition Width="*" />+ <ColumnDefinition Width="Auto" />+ </Grid.ColumnDefinitions>+ <ScrollViewer x:Name="PART_ContentHost" Margin="{TemplateBinding Padding}" />+ <Grid x:Name="Spinner" Grid.Column="1">+ <Grid.RowDefinitions>+ <RowDefinition Height="*" />+ <RowDefinition Height="*" />+ </Grid.RowDefinitions>+ <RepeatButton x:Name="PART_Up" Style="{StaticResource SpinButton}" Content="{StaticResource ChevronUpGeometry}" />+ <RepeatButton x:Name="PART_Down" Grid.Row="1" Style="{StaticResource SpinButton}" Content="{StaticResource ChevronDownGeometry}" />+ </Grid>+ </Grid>+ </Border>+ <ControlTemplate.Triggers>+ <Trigger Property="IsMouseOver" Value="True">+ <Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource TextBoxHoverBorder}" />+ </Trigger>+ <Trigger Property="IsKeyboardFocusWithin" Value="True">+ <Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource Accent}" />+ </Trigger>+ <Trigger Property="IsEnabled" Value="False">+ <Setter Property="Foreground" Value="{DynamicResource GrayText}" />+ <Setter TargetName="Bd" Property="Background" Value="{DynamicResource WindowBackground}" />+ <Setter TargetName="Spinner" Property="Visibility" Value="Hidden" />+ </Trigger>+ </ControlTemplate.Triggers>+ </ControlTemplate>+ </Setter.Value>+ </Setter>+ </Style>+<Style TargetType="{x:Type CheckBox}"><Setter Property="Foreground" Value="{DynamicResource WindowForeground}" /><Setter Property="VerticalContentAlignment" Value="Center" />@@ -95,6 +163,9 @@</Style><Style TargetType="{x:Type ComboBox}">+ <!-- the item style travels with the container: a container discarded on an ItemsSource change would otherwise+ fall back to the theme style, whose ancestor bindings then fail and log errors (2026-10-13) -->+ <Setter Property="ItemContainerStyle" Value="{DynamicResource {x:Type ComboBoxItem}}" /><Setter Property="Background" Value="{DynamicResource ComboBoxBackground}" /><Setter Property="Foreground" Value="{DynamicResource WindowForeground}" /><Setter Property="BorderBrush" Value="{DynamicResource ComboBoxBorder}" />@@ -133,7 +204,7 @@ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}"Margin="{TemplateBinding Padding}" VerticalAlignment="Center"- HorizontalAlignment="Left" IsHitTestVisible="False" />+ HorizontalAlignment="Stretch" IsHitTestVisible="False" /><!-- the text box of an editable combo (IsEditable); leaves the drop-down glyph its 18 px on the right --><TextBox x:Name="PART_EditableTextBox" Visibility="Collapsed" Margin="0,0,18,0" BorderThickness="0" Background="Transparent"Padding="{TemplateBinding Padding}" IsReadOnly="{TemplateBinding IsReadOnly}" />@@ -248,6 +319,36 @@</Setter></Style>+ <!-- the colour scheme drop-down: a gradient strip, the name, a grey tag; actions in italics -->+ <converters:ColorSchemeBrushConverter x:Key="ColorSchemeBrush" />+ <BooleanToVisibilityConverter x:Key="BoolToVisibility" />+ <Style TargetType="{x:Type controls:ColorSchemePicker}" BasedOn="{StaticResource {x:Type ComboBox}}">+ <Setter Property="ItemTemplate">+ <Setter.Value>+ <DataTemplate>+ <!-- the right margin keeps the selection box clear of the drop-down glyph; a long name is trimmed -->+ <DockPanel Margin="0,0,18,0">+ <Rectangle DockPanel.Dock="Left" Width="56" Height="12" Margin="0,0,6,0" VerticalAlignment="Center" StrokeThickness="0.5"+ Stroke="{DynamicResource TextBoxBorder}" Fill="{Binding Scheme, Converter={StaticResource ColorSchemeBrush}}"+ Visibility="{Binding HasScheme, Converter={StaticResource BoolToVisibility}}" />+ <TextBlock DockPanel.Dock="Right" Margin="8,0,0,0" VerticalAlignment="Center" Text="{Binding Tag}" Foreground="{DynamicResource GrayText}" />+ <TextBlock VerticalAlignment="Center" Text="{Binding Label}" FontStyle="{Binding FontStyle}" TextTrimming="CharacterEllipsis">+ <TextBlock.Style>+ <Style TargetType="{x:Type TextBlock}">+ <Style.Triggers>+ <DataTrigger Binding="{Binding IsMissing}" Value="True">+ <Setter Property="Foreground" Value="{DynamicResource GrayText}" />+ </DataTrigger>+ </Style.Triggers>+ </Style>+ </TextBlock.Style>+ </TextBlock>+ </DockPanel>+ </DataTemplate>+ </Setter.Value>+ </Setter>+ </Style>+<!-- property forms --><Style x:Key="FormSection" TargetType="{x:Type TextBlock}"><Setter Property="FontWeight" Value="SemiBold" />diff --git a/WaveDude.WPF/Views/ColorSchemeView.xaml b/WaveDude.WPF/Views/ColorSchemeView.xamlnew file mode 100644index 0000000..3aafa34--- /dev/null+++ b/WaveDude.WPF/Views/ColorSchemeView.xaml@@ -0,0 +1,122 @@+<UserControl x:Class="WaveDude.WPF.Views.ColorSchemeView"+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"+ xmlns:controls="clr-namespace:WaveDude.WPF.Controls"+ xmlns:commands="clr-namespace:WaveDude.WPF.Commands"+ xmlns:converters="clr-namespace:WaveDude.WPF.Converters"+ xmlns:meta="clr-namespace:WaveDude.WPF.Markup"+ xmlns:rendering="clr-namespace:WaveDude.Rendering;assembly=WaveDude">++ <UserControl.Resources>+ <converters:ColorSchemeBrushConverter x:Key="ColorSchemeBrush" />+ <converters:RgbBrushConverter x:Key="RgbBrush" />+ <StreamGeometry x:Key="MinusGeometry">M0,4 L8,4</StreamGeometry>+ <!-- the "reduce" step applies to a sampled table only -->+ <Style x:Key="TableOnly" TargetType="{x:Type FrameworkElement}">+ <Style.Triggers>+ <DataTrigger Binding="{Binding IsStopScheme}" Value="True">+ <Setter Property="Visibility" Value="Collapsed" />+ </DataTrigger>+ </Style.Triggers>+ </Style>+ <Style x:Key="RemoveStopButton" TargetType="{x:Type Button}">+ <Setter Property="Width" Value="18" />+ <Setter Property="Height" Value="18" />+ <Setter Property="Margin" Value="4,0,0,0" />+ <Setter Property="Focusable" Value="False" />+ <Setter Property="IsTabStop" Value="False" />+ <Setter Property="Foreground" Value="{DynamicResource WindowForeground}" />+ <Setter Property="Template">+ <Setter.Value>+ <ControlTemplate TargetType="{x:Type Button}">+ <Border x:Name="Bd" Background="Transparent" SnapsToDevicePixels="True">+ <Path Data="{StaticResource MinusGeometry}" Stroke="{TemplateBinding Foreground}" StrokeThickness="1.2"+ HorizontalAlignment="Center" VerticalAlignment="Center" />+ </Border>+ <ControlTemplate.Triggers>+ <Trigger Property="IsMouseOver" Value="True">+ <Setter TargetName="Bd" Property="Background" Value="{DynamicResource ButtonHover}" />+ </Trigger>+ <Trigger Property="IsEnabled" Value="False">+ <Setter Property="Opacity" Value="0.4" />+ </Trigger>+ </ControlTemplate.Triggers>+ </ControlTemplate>+ </Setter.Value>+ </Setter>+ </Style>+ </UserControl.Resources>++ <UserControl.CommandBindings>+ <CommandBinding Command="{x:Static commands:ColorSchemeCommands.ReduceToStops}" CanExecute="CanReduce" Executed="OnReduce" />+ <CommandBinding Command="{x:Static commands:ColorSchemeCommands.AddStop}" CanExecute="CanAddStop" Executed="OnAddStop" />+ <CommandBinding Command="{x:Static commands:ColorSchemeCommands.RemoveStop}" CanExecute="CanRemoveStop" Executed="OnRemoveStop" />+ </UserControl.CommandBindings>++ <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">+ <StackPanel Margin="8">+ <TextBlock Style="{StaticResource FormSection}" Text="{DynamicResource SectionGeneral}" />+ <controls:FormPanel>+ <TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label rendering:ColorScheme.Name}" />+ <TextBox Text="{Binding Name, UpdateSourceTrigger=PropertyChanged}" ToolTip="{meta:Hint rendering:ColorScheme.Name}" />++ <TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label rendering:ColorScheme.Kind}" />+ <ComboBox Style="{StaticResource EnumComboBox}" ItemsSource="{meta:EnumValues rendering:ColorSchemeKind}"+ SelectedItem="{Binding Kind}" ToolTip="{meta:Hint rendering:ColorScheme.Kind}" />++ <TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label rendering:ColorScheme.Category}" />+ <TextBox Text="{Binding Category, UpdateSourceTrigger=PropertyChanged}" ToolTip="{meta:Hint rendering:ColorScheme.Category}" />++ <TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label rendering:ColorScheme.Description}" />+ <TextBox Text="{Binding Description, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" AcceptsReturn="False"+ ToolTip="{meta:Hint rendering:ColorScheme.Description}" />+ </controls:FormPanel>++ <TextBlock Style="{StaticResource FormSection}" Text="{DynamicResource SectionStops}" />+ <!-- start from any existing scheme: picking one copies its stops, kind, category and description into this one -->+ <controls:FormPanel>+ <TextBlock Style="{StaticResource FormLabel}" Text="{DynamicResource LabelBasedOn}" />+ <ComboBox x:Name="basedOn" ToolTip="{DynamicResource TipBasedOn}" SelectionChanged="OnBasedOnChanged"+ AutomationProperties.AutomationId="SchemeBasedOn">+ <ComboBox.ItemTemplate>+ <DataTemplate>+ <DockPanel Margin="0,0,18,0">+ <Rectangle DockPanel.Dock="Left" Width="56" Height="12" Margin="0,0,6,0" VerticalAlignment="Center" StrokeThickness="0.5"+ Stroke="{DynamicResource TextBoxBorder}" Fill="{Binding Stops, Converter={StaticResource ColorSchemeBrush}}" />+ <TextBlock VerticalAlignment="Center" Text="{Binding Name}" TextTrimming="CharacterEllipsis" />+ </DockPanel>+ </DataTemplate>+ </ComboBox.ItemTemplate>+ </ComboBox>+ </controls:FormPanel>+ <!-- the whole gradient; the binding to Stops re-evaluates on every edit -->+ <Rectangle Height="18" Margin="0,0,0,6" Stroke="{DynamicResource TextBoxBorder}" StrokeThickness="1"+ Fill="{Binding Stops, Converter={StaticResource ColorSchemeBrush}}" AutomationProperties.AutomationId="SchemeGradient" />++ <!-- one row per stop: position (0..1), swatch, colour as #RRGGBB, remove -->+ <ItemsControl ItemsSource="{Binding Stops}" Focusable="False">+ <ItemsControl.ItemTemplate>+ <DataTemplate>+ <DockPanel Margin="0,0,0,4">+ <Button DockPanel.Dock="Right" Style="{StaticResource RemoveStopButton}" ToolTip="{DynamicResource TipRemoveStop}"+ Command="{x:Static commands:ColorSchemeCommands.RemoveStop}" CommandParameter="{Binding}" />+ <controls:NumberBox DockPanel.Dock="Left" Width="64" Minimum="0" Maximum="1" Increment="0.01" Text="{Binding Position}"+ ToolTip="{DynamicResource TipStopPosition}" />+ <Rectangle DockPanel.Dock="Left" Width="22" Height="18" Margin="4,0" Stroke="{DynamicResource TextBoxBorder}" StrokeThickness="1"+ Fill="{Binding Color, Converter={StaticResource RgbBrush}}" />+ <TextBox Text="{Binding Color}" ToolTip="{DynamicResource TipStopColor}" />+ </DockPanel>+ </DataTemplate>+ </ItemsControl.ItemTemplate>+ </ItemsControl>++ <StackPanel Orientation="Horizontal">+ <Button Padding="8,2" Margin="0,2,6,0" Content="{DynamicResource ButtonAddStop}" ToolTip="{DynamicResource TipAddStop}"+ Command="{x:Static commands:ColorSchemeCommands.AddStop}" AutomationProperties.AutomationId="SchemeAddStop" />+ <Button Style="{StaticResource TableOnly}" Padding="8,2" Margin="0,2,0,0" Content="{DynamicResource ButtonReduceToStops}"+ ToolTip="{DynamicResource TipReduceToStops}" Command="{x:Static commands:ColorSchemeCommands.ReduceToStops}"+ AutomationProperties.AutomationId="SchemeReduce" />+ </StackPanel>+ </StackPanel>+ </ScrollViewer>+</UserControl>diff --git a/WaveDude.WPF/Views/ColorSchemeView.xaml.cs b/WaveDude.WPF/Views/ColorSchemeView.xaml.csnew file mode 100644index 0000000..8c0ec71--- /dev/null+++ b/WaveDude.WPF/Views/ColorSchemeView.xaml.cs@@ -0,0 +1,96 @@+using System.Windows;+using System.Windows.Controls;+using System.Windows.Input;+using System.Windows.Media;+using WaveDude.Model;+using WaveDude.Rendering;+using WaveDude.WPF.Panes;+using WaveDude.WPF.Rendering;++namespace WaveDude.WPF.Views;++/// <summary>+/// Editor of one project colour scheme (2026-10-13): name, kind, category, the gradient, and one row per+/// stop with its position (0..1), a swatch and the colour as <c>#RRGGBB</c>; stops can be added (in the+/// widest gap) and removed, and a sampled 255-colour table can be reduced to the author's nine. Edits+/// reach the preview through the project watcher.+/// </summary>+public partial class ColorSchemeView : UserControl+{+ private bool _applyingBase;++ public ColorSchemeView()+ {+ InitializeComponent();+ DataContextChanged += (_, _) => FillBasedOn();+ Loaded += (_, _) => FillBasedOn();+ }++ private ColorScheme? Scheme => DataContext as ColorScheme;++ /// <summary>The "based on" choices: the shared schemes (user folder, built-in) and the project's other schemes.</summary>+ private void FillBasedOn()+ {+ _applyingBase = true;+ try+ {+ var choices = new List<ColorScheme>();+ Project? project = FindPane()?.Project;+ if (project != null)+ {+ choices.AddRange(project.ColorSchemes.Where(s => !ReferenceEquals(s, Scheme)));+ }+ choices.AddRange(ColorSchemeCatalog.Instance.Schemes);+ basedOn.ItemsSource = choices;+ basedOn.SelectedItem = null;+ }+ finally+ {+ _applyingBase = false;+ }+ }++ private PropertiesPane? FindPane()+ {+ for (DependencyObject? d = this; d != null; d = VisualTreeHelper.GetParent(d))+ {+ if (d is PropertiesPane pane)+ {+ return pane;+ }+ }+ return null;+ }++ /// <summary>Copies the chosen scheme into this one (stops, kind, category, description); the choice stays shown until the next pick.</summary>+ private void OnBasedOnChanged(object sender, SelectionChangedEventArgs e)+ {+ if (_applyingBase || Scheme is not { } scheme || basedOn.SelectedItem is not ColorScheme chosen)+ {+ return;+ }+ scheme.SetStops(chosen.Stops);+ scheme.Kind = chosen.Kind;+ scheme.Category = chosen.Category;+ scheme.Description = "copy of scheme '" + chosen.Name + "'";+ }++ private void CanReduce(object sender, CanExecuteRoutedEventArgs e) => e.CanExecute = Scheme is { IsStopScheme: false };++ private void OnReduce(object sender, ExecutedRoutedEventArgs e) => Scheme?.ReduceToStops();++ private void CanAddStop(object sender, CanExecuteRoutedEventArgs e) => e.CanExecute = Scheme != null;++ private void OnAddStop(object sender, ExecutedRoutedEventArgs e) => Scheme?.AddStop();++ private void CanRemoveStop(object sender, CanExecuteRoutedEventArgs e) =>+ e.CanExecute = Scheme is { } scheme && e.Parameter is ColorStop && scheme.Stops.Count > 1;++ private void OnRemoveStop(object sender, ExecutedRoutedEventArgs e)+ {+ if (e.Parameter is ColorStop stop)+ {+ Scheme?.RemoveStop(stop);+ }+ }+}diff --git a/WaveDude.WPF/Views/DisplayLayerView.xaml b/WaveDude.WPF/Views/DisplayLayerView.xamlindex a0728d9..e619159 100644--- a/WaveDude.WPF/Views/DisplayLayerView.xaml+++ b/WaveDude.WPF/Views/DisplayLayerView.xaml@@ -2,21 +2,33 @@xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:controls="clr-namespace:WaveDude.WPF.Controls"+ xmlns:local="clr-namespace:WaveDude.WPF.Views"+ xmlns:panes="clr-namespace:WaveDude.WPF.Panes"xmlns:meta="clr-namespace:WaveDude.WPF.Markup"xmlns:model="clr-namespace:WaveDude.Model;assembly=WaveDude"><controls:FormPanel><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:DisplayLayer.ColorScheme}" />- <TextBox Text="{Binding ColorScheme, UpdateSourceTrigger=PropertyChanged}" ToolTip="{meta:Hint model:DisplayLayer.ColorScheme}" />+ <!-- the picker lists the project's schemes and the shared ones of this layer's kind, with previews -->+ <controls:ColorSchemePicker SelectedName="{Binding ColorScheme}" ToolTip="{meta:Hint model:DisplayLayer.ColorScheme}" AutomationProperties.AutomationId="SchemePicker"+ Kind="{Binding Kind, RelativeSource={RelativeSource AncestorType={x:Type local:DisplayLayerView}}}"+ Project="{Binding Project, RelativeSource={RelativeSource AncestorType={x:Type panes:PropertiesPane}}}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:DisplayLayer.Brightness}" />- <TextBox Text="{Binding Brightness}" ToolTip="{meta:Hint model:DisplayLayer.Brightness}" />+ <controls:NumberBox Text="{Binding Brightness}" Minimum="0.0001" Maximum="100000" ToolTip="{meta:Hint model:DisplayLayer.Brightness}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:DisplayLayer.BlackLevel}" />- <TextBox Text="{Binding BlackLevel}" ToolTip="{meta:Hint model:DisplayLayer.BlackLevel}" />+ <controls:NumberBox Text="{Binding BlackLevel}" Minimum="-10" Maximum="1" Increment="0.01" ToolTip="{meta:Hint model:DisplayLayer.BlackLevel}" /><CheckBox controls:FormPanel.FullWidth="True" Content="{meta:Label model:DisplayLayer.Preview}"IsChecked="{Binding Preview}" ToolTip="{meta:Hint model:DisplayLayer.Preview}" />+ <!-- the scene image's glowing-edges outline: over the preview (opt-out), baked into exports (opt-in) -->+ <CheckBox controls:FormPanel.FullWidth="True" Content="{meta:Label model:DisplayLayer.Overlay}"+ IsChecked="{Binding Overlay}" ToolTip="{meta:Hint model:DisplayLayer.Overlay}" />+ <TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:DisplayLayer.OverlayGain}" />+ <controls:NumberBox Text="{Binding OverlayGain}" Minimum="0" Maximum="5" Increment="0.05" ToolTip="{meta:Hint model:DisplayLayer.OverlayGain}" />+ <CheckBox controls:FormPanel.FullWidth="True" Content="{meta:Label model:DisplayLayer.OverlayInExport}"+ IsChecked="{Binding OverlayInExport}" ToolTip="{meta:Hint model:DisplayLayer.OverlayInExport}" /><CheckBox controls:FormPanel.FullWidth="True" Content="{meta:Label model:DisplayLayer.Export}"IsChecked="{Binding Export}" ToolTip="{meta:Hint model:DisplayLayer.Export}" /></controls:FormPanel>diff --git a/WaveDude.WPF/Views/DisplayLayerView.xaml.cs b/WaveDude.WPF/Views/DisplayLayerView.xaml.csindex 6354d8d..dae6be4 100644--- a/WaveDude.WPF/Views/DisplayLayerView.xaml.cs+++ b/WaveDude.WPF/Views/DisplayLayerView.xaml.cs@@ -1,3 +1,5 @@+using System.Windows;+using WaveDude.Rendering;using System.Windows.Controls;namespace WaveDude.WPF.Views;@@ -5,6 +7,17 @@ namespace WaveDude.WPF.Views;/// <summary>Editor for one <see cref="WaveDude.Model.DisplayLayer"/>; used twice by <see cref="DisplayView"/>.</summary>public partial class DisplayLayerView : UserControl{+ /// <summary>Identifies the <see cref="Kind"/> property.</summary>+ public static readonly DependencyProperty KindProperty = DependencyProperty.Register(+ nameof(Kind), typeof(ColorSchemeKind), typeof(DisplayLayerView), new PropertyMetadata(ColorSchemeKind.Unspecified));++ /// <summary>Which output this view edits (set by the display view), so the scheme picker offers the matching schemes.</summary>+ public ColorSchemeKind Kind+ {+ get => (ColorSchemeKind)GetValue(KindProperty);+ set => SetValue(KindProperty, value);+ }+public DisplayLayerView(){InitializeComponent();diff --git a/WaveDude.WPF/Views/DisplayView.xaml b/WaveDude.WPF/Views/DisplayView.xamlindex 6e04913..01d042b 100644--- a/WaveDude.WPF/Views/DisplayView.xaml+++ b/WaveDude.WPF/Views/DisplayView.xaml@@ -9,27 +9,27 @@<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"><StackPanel Margin="8"><TextBlock Style="{StaticResource FormSection}" Text="{DynamicResource SectionField}" />- <local:DisplayLayerView DataContext="{Binding Field}" />+ <local:DisplayLayerView DataContext="{Binding Field}" Kind="Field" /><TextBlock Style="{StaticResource FormSection}" Text="{DynamicResource SectionIntensity}" />- <local:DisplayLayerView DataContext="{Binding Intensity}" />+ <local:DisplayLayerView DataContext="{Binding Intensity}" Kind="Intensity" /><TextBlock Style="{StaticResource FormSection}" Text="{DynamicResource SectionExportRange}" /><controls:FormPanel><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Display.ExportFrom}" />- <TextBox Text="{Binding ExportFrom}" ToolTip="{meta:Hint model:Display.ExportFrom}" />+ <controls:NumberBox Text="{Binding ExportFrom}" Minimum="0" ToolTip="{meta:Hint model:Display.ExportFrom}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Display.ExportTo}" />- <TextBox Text="{Binding ExportTo}" ToolTip="{meta:Hint model:Display.ExportTo}" />+ <controls:NumberBox Text="{Binding ExportTo}" Minimum="0" ToolTip="{meta:Hint model:Display.ExportTo}" /></controls:FormPanel><TextBlock Style="{StaticResource FormSection}" Text="{DynamicResource SectionVideo}" /><controls:FormPanel DataContext="{Binding Video}"><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Video.Fps}" />- <TextBox Text="{Binding Fps}" ToolTip="{meta:Hint model:Video.Fps}" />+ <controls:NumberBox Text="{Binding Fps}" Minimum="1" Maximum="240" ToolTip="{meta:Hint model:Video.Fps}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Video.Quality}" />- <TextBox Text="{Binding Quality}" ToolTip="{meta:Hint model:Video.Quality}" />+ <controls:NumberBox Text="{Binding Quality}" Minimum="1" Maximum="100" ToolTip="{meta:Hint model:Video.Quality}" /></controls:FormPanel></StackPanel></ScrollViewer>diff --git a/WaveDude.WPF/Views/SceneView.xaml b/WaveDude.WPF/Views/SceneView.xamlindex 6c70f44..e8f6610 100644--- a/WaveDude.WPF/Views/SceneView.xaml+++ b/WaveDude.WPF/Views/SceneView.xaml@@ -2,12 +2,15 @@xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:controls="clr-namespace:WaveDude.WPF.Controls"+ xmlns:commands="clr-namespace:WaveDude.WPF.Commands"+ xmlns:converters="clr-namespace:WaveDude.WPF.Converters"xmlns:meta="clr-namespace:WaveDude.WPF.Markup"xmlns:model="clr-namespace:WaveDude.Model;assembly=WaveDude"><UserControl.Resources>+ <converters:ImageInfoConverter x:Key="ImageInfo" /><!-- the size applies to a blank canvas, the image path to an image scene -->- <Style x:Key="CanvasOnly" TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}">+ <Style x:Key="CanvasOnly" TargetType="{x:Type controls:NumberBox}" BasedOn="{StaticResource {x:Type controls:NumberBox}}"><Style.Triggers><DataTrigger Binding="{Binding Mode}" Value="Image"><Setter Property="IsEnabled" Value="False" />@@ -32,19 +35,29 @@SelectedItem="{Binding Mode}" ToolTip="{meta:Hint model:Scene.Mode}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Scene.Image}" />- <TextBox Style="{StaticResource ImageOnly}" Text="{Binding Image, UpdateSourceTrigger=PropertyChanged}" ToolTip="{meta:Hint model:Scene.Image}" />+ <!-- the name of the embedded image (or a legacy path), and the picker that embeds a file -->+ <DockPanel>+ <Button DockPanel.Dock="Right" Margin="4,0,0,0" Padding="8,0" Content="{DynamicResource ButtonBrowse}"+ ToolTip="{DynamicResource TipBrowseSceneImage}" Command="{x:Static commands:ProjectCommands.BrowseSceneImage}"+ AutomationProperties.AutomationId="SceneBrowse" />+ <TextBox Style="{StaticResource ImageOnly}" Text="{Binding Image, UpdateSourceTrigger=PropertyChanged}" ToolTip="{meta:Hint model:Scene.Image}" />+ </DockPanel>++ <TextBlock Style="{StaticResource FormLabel}" Text="{DynamicResource LabelEmbeddedImage}" />+ <TextBlock VerticalAlignment="Center" Text="{Binding ImageData, Converter={StaticResource ImageInfo}}"+ ToolTip="{DynamicResource TipEmbeddedImage}" AutomationProperties.AutomationId="SceneImageInfo" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Scene.Width}" />- <TextBox Style="{StaticResource CanvasOnly}" Text="{Binding Width}" ToolTip="{meta:Hint model:Scene.Width}" />+ <controls:NumberBox Style="{StaticResource CanvasOnly}" Text="{Binding Width}" Minimum="8" Maximum="16384" ToolTip="{meta:Hint model:Scene.Width}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Scene.Height}" />- <TextBox Style="{StaticResource CanvasOnly}" Text="{Binding Height}" ToolTip="{meta:Hint model:Scene.Height}" />+ <controls:NumberBox Style="{StaticResource CanvasOnly}" Text="{Binding Height}" Minimum="8" Maximum="16384" ToolTip="{meta:Hint model:Scene.Height}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Scene.DampingEdge}" />- <TextBox Text="{Binding DampingEdge}" ToolTip="{meta:Hint model:Scene.DampingEdge}" />+ <controls:NumberBox Text="{Binding DampingEdge}" Minimum="0" Maximum="8192" ToolTip="{meta:Hint model:Scene.DampingEdge}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Scene.RefractiveIndex}" />- <TextBox Text="{Binding RefractiveIndex}" ToolTip="{meta:Hint model:Scene.RefractiveIndex}" />+ <controls:NumberBox Text="{Binding RefractiveIndex}" Minimum="1" Maximum="2.55" Increment="0.01" ToolTip="{meta:Hint model:Scene.RefractiveIndex}" /></controls:FormPanel><TextBlock Style="{StaticResource FormSection}" Text="{DynamicResource SectionImageSources}" />@@ -53,7 +66,7 @@IsChecked="{Binding ImageSources}" ToolTip="{meta:Hint model:Scene.ImageSources}" /><TextBlock Style="{StaticResource FormLabel}" Text="{meta:Label model:Scene.ImageSourceScale}" />- <TextBox Text="{Binding ImageSourceScale}" IsEnabled="{Binding ImageSources}" ToolTip="{meta:Hint model:Scene.ImageSourceScale}" />+ <controls:NumberBox Text="{Binding ImageSourceScale}" Minimum="0" Maximum="1000" Increment="0.1" IsEnabled="{Binding ImageSources}" ToolTip="{meta:Hint model:Scene.ImageSourceScale}" /><CheckBox controls:FormPanel.FullWidth="True" Content="{meta:Label model:Scene.ObjectSources}"IsChecked="{Binding ObjectSources}" ToolTip="{meta:Hint model:Scene.ObjectSources}" />diff --git a/WaveDude/Model/Project.cs b/WaveDude/Model/Project.csindex 0f9c046..a4beda1 100644--- a/WaveDude/Model/Project.cs+++ b/WaveDude/Model/Project.cs@@ -3,6 +3,7 @@ using System.ComponentModel;using System.Xml;using System.Xml.Serialization;using NLog;+using WaveDude.Rendering;namespace WaveDude.Model;@@ -27,6 +28,7 @@ public sealed class Project : ObservableObjectprivate Display _display = new();private ObservableCollection<Source> _sources = new();private ObservableCollection<Probe> _probes = new();+ private ObservableCollection<ColorScheme> _colorSchemes = new();private static readonly ILogger Logger = LogManager.GetCurrentClassLogger();private static readonly XmlSerializer Serializer = new(typeof(Project));@@ -130,6 +132,18 @@ public sealed class Project : ObservableObjectset => SetProperty(ref _probes, value);}+ /// <summary>+ /// The project's own colour schemes (2026-10-13): edited copies and loaded files, stored in the project+ /// file so it stays self-contained. A display layer's scheme name finds these before the shared ones.+ /// </summary>+ [XmlElement("ColorScheme")]+ [Browsable(false)]+ public ObservableCollection<ColorScheme> ColorSchemes+ {+ get => _colorSchemes;+ set => SetProperty(ref _colorSchemes, value);+ }+/// <summary>Tells <see cref="XmlSerializer"/> to leave an all-default scene out of the file.</summary>public bool ShouldSerializeScene() => !Scene.IsDefault;@@ -172,6 +186,39 @@ public sealed class Project : ObservableObjectreturn probe;}+ /// <summary>Appends a new black-to-white scheme named "Scheme n" and returns it.</summary>+ public ColorScheme AddColorScheme()+ {+ var scheme = new ColorScheme(NumberedName("Scheme", ColorSchemes.Select(s => s.Name)), ColorScheme.Grey());+ ColorSchemes.Add(scheme);+ return scheme;+ }++ /// <summary>Appends a scheme that came from elsewhere (a file, a copy); its name gets a " copy" suffix when taken.</summary>+ public ColorScheme AddColorScheme(ColorScheme scheme)+ {+ if (ColorSchemes.Any(s => string.Equals(s.Name, scheme.Name, StringComparison.OrdinalIgnoreCase)))+ {+ scheme.Name = CopyName(scheme.Name, ColorSchemes.Select(s => s.Name));+ }+ ColorSchemes.Add(scheme);+ return scheme;+ }++ /// <summary>Inserts a copy of <paramref name="scheme"/> right after it, named "<name> copy", and returns the copy.</summary>+ public ColorScheme Duplicate(ColorScheme scheme)+ {+ ColorScheme copy = scheme.Clone(CopyName(scheme.Name, ColorSchemes.Select(s => s.Name)));+ ColorSchemes.Insert(ColorSchemes.IndexOf(scheme) + 1, copy);+ return copy;+ }++ /// <summary>Removes a scheme; false when it is not in the project.</summary>+ public bool Remove(ColorScheme scheme) => ColorSchemes.Remove(scheme);++ /// <summary>Moves a scheme to another index; false when nothing changes.</summary>+ public bool Move(ColorScheme scheme, int index) => Move(ColorSchemes, scheme, index);+/// <summary>Inserts a copy of <paramref name="source"/> right after it, named "<name> copy", and returns the copy.</summary>public Source Duplicate(Source source){@@ -305,5 +352,13 @@ public sealed class Project : ObservableObject{probe.Normalize();}+ foreach (ColorScheme scheme in ColorSchemes)+ {+ scheme.Normalize();+ if (scheme.Name.Length == 0)+ {+ scheme.Name = NumberedName("Scheme", ColorSchemes.Select(s => s.Name));+ }+ }}}diff --git a/WaveDude/Model/ProjectWatcher.cs b/WaveDude/Model/ProjectWatcher.csindex 5f6092f..e9e22ae 100644--- a/WaveDude/Model/ProjectWatcher.cs+++ b/WaveDude/Model/ProjectWatcher.cs@@ -1,5 +1,7 @@+using System.Collections.ObjectModel;using System.Collections.Specialized;using System.ComponentModel;+using WaveDude.Rendering;namespace WaveDude.Model;@@ -16,7 +18,8 @@ public sealed record ProjectChange(object Item, string? Property){Scene or Simulation or Source or SourceArray => true,Project => Property is nameof(Project.Seed) or nameof(Project.Scene) or nameof(Project.Simulation) or nameof(Project.Sources),- NotifyCollectionChangedEventArgs => true,+ ObservableCollection<ColorScheme> => false,+ INotifyCollectionChanged => true,_ => false,};}@@ -52,7 +55,7 @@ public sealed class ProjectWatcher : IDisposableprivate void OnProjectPropertyChanged(object? sender, PropertyChangedEventArgs e){- if (e.PropertyName is nameof(Project.Scene) or nameof(Project.Simulation) or nameof(Project.Display) or nameof(Project.Sources) or nameof(Project.Probes))+ if (e.PropertyName is nameof(Project.Scene) or nameof(Project.Simulation) or nameof(Project.Display) or nameof(Project.Sources) or nameof(Project.Probes) or nameof(Project.ColorSchemes)){Resubscribe();}@@ -74,7 +77,8 @@ public sealed class ProjectWatcher : IDisposableprivate void OnCollectionChanged(object? sender, NotifyCollectionChangedEventArgs e){Resubscribe();- Changed?.Invoke(this, new ProjectChange(e, null));+ // the item is the collection itself, so a handler can tell which list changed+ Changed?.Invoke(this, new ProjectChange(sender ?? e, null));}private void Resubscribe()@@ -100,6 +104,11 @@ public sealed class ProjectWatcher : IDisposable{Subscribe(probe);}+ SubscribeCollection(_project.ColorSchemes);+ foreach (ColorScheme scheme in _project.ColorSchemes)+ {+ Subscribe(scheme);+ }}private void Subscribe(INotifyPropertyChanged item)diff --git a/WaveDude/Model/Scene.cs b/WaveDude/Model/Scene.csindex edcabf7..2895cde 100644--- a/WaveDude/Model/Scene.cs+++ b/WaveDude/Model/Scene.cs@@ -52,6 +52,7 @@ public sealed class Scene : ObservableObjectprivate bool _imageSources;private double _imageSourceScale = DefaultImageSourceScale;private bool _objectSources = true;+ private byte[]? _imageData;/// <summary>Blank canvas of <see cref="Width"/> × <see cref="Height"/>, or a canvas built from <see cref="Image"/>.</summary>[XmlAttribute]@@ -72,13 +73,29 @@ public sealed class Scene : ObservableObject[DefaultValue("")][Category("Canvas")][DisplayName("Scene image")]- [Description("Image the canvas is built from: red = refractive index, green = sources, blue = damping. Relative to the project folder.")]+ [Description("Image the canvas is built from: red = refractive index, green = sources, blue = damping. The name of the embedded image, or a path relative to the project folder.")]public string Image{get => _image;set => SetProperty(ref _image, value);}+ /// <summary>+ /// The scene image file embedded in the project (2026-10-13): its bytes as they were on disk (PNG, BMP,+ /// JPEG…), base64 in the XML; null when the scene has no image or refers to one by path through+ /// <see cref="Image"/>. The application decodes it. Replacing it is a simulation-affecting change.+ /// </summary>+ [XmlElement("ImageData", DataType = "base64Binary")]+ [Browsable(false)]+ public byte[]? ImageData+ {+ get => _imageData;+ set => SetProperty(ref _imageData, value);+ }++ /// <summary>Only an embedded image is written.</summary>+ public bool ShouldSerializeImageData() => _imageData != null;+/// <summary>Width of a blank canvas in pixels.</summary>[XmlAttribute][DefaultValue(DefaultWidth)]@@ -165,7 +182,7 @@ public sealed class Scene : ObservableObject[XmlIgnore][Browsable(false)]public bool IsDefault =>- Mode == SceneMode.Canvas && Image.Length == 0 && Width == DefaultWidth && Height == DefaultHeight+ Mode == SceneMode.Canvas && Image.Length == 0 && ImageData == null && Width == DefaultWidth && Height == DefaultHeight&& DampingEdge == 0 && RefractiveIndex == DefaultRefractiveIndex && !ImageSources&& ImageSourceScale == DefaultImageSourceScale && ObjectSources;diff --git a/WaveDude/Rendering/ColorScheme.cs b/WaveDude/Rendering/ColorScheme.csindex cdf2be1..4ea21bc 100644--- a/WaveDude/Rendering/ColorScheme.cs+++ b/WaveDude/Rendering/ColorScheme.cs@@ -1,211 +1,499 @@+using System.Collections.ObjectModel;+using System.Collections.Specialized;+using System.ComponentModel;using System.Globalization;+using System.Xml.Serialization;+using WaveDude.Model;namespace WaveDude.Rendering;+/// <summary>Which output a scheme is meant for; the picker offers a layer the schemes of its kind and the unspecified ones.</summary>+public enum ColorSchemeKind+{+ /// <summary>Not stated; offered for both outputs.</summary>+ Unspecified,+ /// <summary>Made for the wave field (symmetric around the middle entry, typically).</summary>+ Field,+ /// <summary>Made for the accumulated intensity (dark to bright, typically).</summary>+ Intensity,+}++/// <summary>+/// One stop of a <see cref="ColorScheme"/>: a colour at a position along the gradient, 0 (lowest+/// value) to 1 (highest). XML: <c><Stop At="0.125" Color="#3020F4" /></c>. Observable, so an+/// editor's change reaches the scheme (which forwards it) and the preview. UI thread.+/// </summary>+public sealed class ColorStop : ObservableObject+{+ private double _position;+ private Rgb _color;++ /// <summary>Black at position 0 (the serializer's starting point).</summary>+ public ColorStop()+ {+ }++ /// <summary>A stop at <paramref name="position"/> (0..1) with <paramref name="color"/>.</summary>+ public ColorStop(double position, Rgb color)+ {+ _position = position;+ _color = color;+ }++ /// <summary>Where along the gradient the colour sits: 0 at the lowest value, 1 at the highest (a fraction, not a percentage).</summary>+ [XmlAttribute("At")]+ [Category("Stop")]+ [Description("Position along the gradient, 0 at the lowest value to 1 at the highest.")]+ public double Position+ {+ get => _position;+ set => SetProperty(ref _position, value);+ }++ /// <summary>The colour at this position.</summary>+ [XmlIgnore]+ [Category("Stop")]+ [Description("Colour at this position, as #RRGGBB.")]+ public Rgb Color+ {+ get => _color;+ set => SetProperty(ref _color, value);+ }++ /// <summary>The colour as <c>#RRGGBB</c>, the XML attribute.</summary>+ [XmlAttribute("Color")]+ [Browsable(false)]+ public string ColorText+ {+ get => Color.ToString();+ set => Color = Rgb.Parse(value);+ }++ /// <summary>"0.125 #3020F4".</summary>+ public override string ToString() => Position.ToString("0.###", CultureInfo.InvariantCulture) + " " + Color;+}+/// <summary>-/// A color scheme: a lookup table of exactly <see cref="EntryCount"/> (255) RGB colors, the same table-/// size the Python simulator uses, optionally backed by <see cref="StopCount"/> editable gradient stops.-/// A scheme can be used for the field view or for the intensity view.+/// A colour scheme: colour stops at positions 0..1 along the value range, from which the+/// <see cref="EntryCount"/>-entry lookup table is interpolated (<see cref="Interpolate"/>; before the+/// first stop and after the last the end colours hold). This is the consolidated form (2026-10-13):+/// the author's files carried a 255-entry table plus, for the ones made in his editor, 9 evenly spaced+/// stops; every shipped table equals the interpolation of its stops, so those schemes keep the 9 stops+/// and the sampled colormaps keep 255 stops at i/254. Stops may sit anywhere (2026-10-13, the user's+/// call: positions are fractions of the gradient); <see cref="ReduceToStops"/> samples a table down to+/// the author's 9 evenly spaced ones. Serialises to XML as attributes plus one <c>Stop</c> element per+/// stop, both standalone (<c>.wdscheme</c>) and inside a project file. Observable: a stop's edit raises+/// <c>Stops</c> on the scheme. UI thread for edits; the derived table is read by anyone building a LUT./// </summary>-/// <remarks>-/// Entry 0 is the start of the scale (field -1 / intensity 0), entry 254 the end (+1 / max), entry 127-/// the centre of a field scheme. Schemes made in the stop editor also keep their anchor colors-/// ("stops") so they can be edited again. The stops sit at fixed, equally spaced positions on the-/// scale: stop 1 is the first entry, the last stop is the last entry and, with an odd number of stops,-/// the middle stop is exactly the centre entry 127 (the zero-field color); with 9 stops that is-/// Color 5. All other entries are interpolated linearly in RGB between neighbouring stops. Imported-/// schemes (matplotlib, seaborn, Python tables) have no stops and are used as they are.-/// Instances are created by <see cref="ColorSchemeStore.Load"/> and a scheme editor, live on the UI-/// thread, and are turned into an <c>int[]</c> palette by <see cref="ColorLut.Build"/> before a frame is-/// rendered; the rendering threads never touch them. The <see cref="Entries"/> and <see cref="Stops"/>-/// getters return defensive copies, so the only way to change the table is <see cref="SetStop"/>.-/// </remarks>-public class ColorScheme+[XmlRoot("ColorScheme")]+public sealed class ColorScheme : ObservableObject{- /// <summary>Display name; also the JSON "name" and the basis of the file name (see <see cref="ColorSchemeStore.SafeFileName"/>).</summary>- public string Name { get; set; }+ /// <summary>Size of the interpolated lookup table (the renderer's index range, 0..254).</summary>+ public const int EntryCount = 255;- /// <summary>Free-text provenance of the colors (JSON "origin"), e.g. the matplotlib map it was sampled from.</summary>- public string Origin { get; set; } = "";+ /// <summary>Number of stops of the author's editable gradient: nine, evenly spaced.</summary>+ public const int StopCount = 9;- /// <summary>Free-text grouping such as "sequential" or "custom" (JSON "category"); empty when unknown.</summary>- public string Category { get; set; } = "";+ private string _name = "";+ private string _description = "";+ private string _category = "";+ private ColorSchemeKind _kind;+ private Rgb[]? _table;+ private bool _replacing;/// <summary>- /// What the scheme is meant for: <see cref="SchemeTypeField"/>, <see cref="SchemeTypeIntensity"/>- /// or "" when not specified. This is only a label saved in the file (it decides which list offers the- /// scheme); any scheme can technically be used for either.+ /// An empty, nameless scheme: the serializer's starting point (it appends the file's stops to the+ /// list, so the list must start empty) and the base of <see cref="Clone"/>. Without stops the table+ /// is the grey ramp; <see cref="Normalize"/> makes that explicit./// </summary>- public string SchemeType { get; set; } = "";+ public ColorScheme()+ {+ Stops.CollectionChanged += OnStopsCollectionChanged;+ }++ /// <summary>A scheme of the given colours, spread evenly (at least one).</summary>+ public ColorScheme(string name, IEnumerable<Rgb> colors)+ : this()+ {+ Name = name;+ SetColors(colors);+ }++ /// <summary>Display name; the one a <c>DisplayLayer.ColorScheme</c> refers to (case-insensitive).</summary>+ [XmlAttribute]+ [Category("General")]+ [Description("Name the display settings refer to.")]+ public string Name+ {+ get => _name;+ set => SetProperty(ref _name, value ?? "");+ }++ /// <summary>Which output the scheme is meant for.</summary>+ [XmlAttribute]+ [DefaultValue(ColorSchemeKind.Unspecified)]+ [Category("General")]+ [Description("Output the scheme is meant for; the pickers list it for that output only.")]+ public ColorSchemeKind Kind+ {+ get => _kind;+ set => SetProperty(ref _kind, value);+ }++ /// <summary>Free text: "custom", "sequential", "other" in the shipped files.</summary>+ [XmlAttribute]+ [DefaultValue("")]+ [Category("General")]+ [Description("Free-text grouping, such as 'sequential' or 'custom'.")]+ public string Category+ {+ get => _category;+ set => SetProperty(ref _category, value ?? "");+ }- /// <summary>Full path of the JSON file the scheme was loaded from or last saved to; "" for an unsaved or a built-in scheme.</summary>+ /// <summary>Free text about the scheme, where it comes from ("matplotlib colormap viridis", "9-stop copy of …"); the author's "origin".</summary>+ [XmlAttribute]+ [DefaultValue("")]+ [Category("General")]+ [Description("Free text: what the scheme is, where it comes from.")]+ public string Description+ {+ get => _description;+ set => SetProperty(ref _description, value ?? "");+ }++ /// <summary>Full path of the file the scheme was loaded from or last saved to; "" for an unsaved, embedded or built-in scheme.</summary>+ [XmlIgnore]+ [Browsable(false)]public string FilePath { get; set; } = "";/// <summary>Whether the scheme ships with the program (embedded in the library); such a scheme is not written back anywhere.</summary>+ [XmlIgnore]+ [Browsable(false)]public bool IsBuiltIn { get; set; }/// <summary>- /// Creates a table-only scheme (no stops) by resampling <paramref name="colors"/> to- /// <see cref="EntryCount"/> entries; the text properties start out empty.+ /// The stops, each a colour at a position 0..1; kept in position order by <see cref="Normalize"/>+ /// (the table sorts a copy, so an editor may leave them unsorted while typing). Edit a stop, or add and+ /// remove through <see cref="AddStop"/> / <see cref="RemoveStop"/>; replace all with <see cref="SetStops"/>+ /// or <see cref="SetColors"/>. Every change raises <see cref="INotifyPropertyChanged.PropertyChanged"/> for <c>Stops</c>./// </summary>- /// <param name="schemeName">Value for <see cref="Name"/>.</param>- /// <param name="colors">At least two colors, in scale order; copied, not kept.</param>- /// <exception cref="ArgumentException">Fewer than two colors.</exception>- public ColorScheme(string schemeName, IReadOnlyList<Rgb> colors)+ [XmlElement("Stop")]+ [Browsable(false)]+ public ObservableCollection<ColorStop> Stops { get; } = [];++ /// <summary>Whether the scheme has the author's editor form: nine stops (at any positions).</summary>+ [XmlIgnore]+ [Browsable(false)]+ public bool IsStopScheme => Stops.Count == StopCount;++ /// <summary>Whether the stops sit at k / (n−1), the layout of the author's files and of a sampled table.</summary>+ [XmlIgnore]+ [Browsable(false)]+ public bool IsEvenlySpaced{- Name = schemeName;- _entries = Resample(colors, EntryCount);+ get+ {+ int n = Stops.Count;+ for (int k = 0; k < n; k++)+ {+ if (Math.Abs(Stops[k].Position - (n == 1 ? 0.0 : k / (double)(n - 1))) > 1e-9)+ {+ return false;+ }+ }+ return true;+ }}- /// <summary>A fresh copy of the full <see cref="EntryCount"/>-entry table (allocates on every call; use <see cref="GetEntry"/> in loops).</summary>- public Rgb[] Entries => (Rgb[])_entries.Clone();-- /// <summary>Returns table entry <paramref name="index"/> (0..254) without copying the table.</summary>- public Rgb GetEntry(int index) => _entries[index];+ /// <summary>The colours of the stops, in list order.</summary>+ [XmlIgnore]+ [Browsable(false)]+ public IEnumerable<Rgb> Colors => Stops.Select(s => s.Color);- /// <summary>True when the scheme carries <see cref="StopCount"/> editable stops, i.e. <see cref="SetStop"/> may be called.</summary>- public bool HasStops => _stops != null;+ /// <summary>The interpolated table, index 0..<see cref="EntryCount"/>-1 (a copy).</summary>+ [XmlIgnore]+ [Browsable(false)]+ public Rgb[] Entries => (Rgb[])Table.Clone();- /// <summary>A fresh copy of the <see cref="StopCount"/> stops, or null for a table-only scheme.</summary>- public Rgb[]? Stops => (Rgb[]?)_stops?.Clone();+ /// <summary>One entry of the interpolated table, index 0..<see cref="EntryCount"/>-1.</summary>+ public Rgb GetEntry(int index) => Table[index];- /// <summary>Linearly interpolates between the table entries at a fractional position 0..254.</summary>- /// <param name="position">Position on the entry scale; clamped to the first/last entry outside 0..254.</param>+ /// <summary>Interpolates the table at a fractional index (clamped to the ends).</summary>public Rgb SampleAt(double position){+ Rgb[] table = Table;if (position <= 0.0){- return _entries[0];+ return table[0];}if (position >= EntryCount - 1){- return _entries[EntryCount - 1];+ return table[EntryCount - 1];}int index = (int)Math.Floor(position);- return Lerp(_entries[index], _entries[index + 1], position - index);+ return Lerp(table[index], table[index + 1], position - index);}- /// <summary>Returns <see cref="Name"/>, which is what scheme lists display.</summary>- public override string ToString() => Name;+ private Rgb[] Table => _table ??= Stops.Count > 0 ? Interpolate(Stops, EntryCount) : Resample(Grey(), EntryCount);- /// <summary>- /// Creates a stop scheme from exactly <see cref="StopCount"/> stops, given in scale order (stop 1- /// first, the middle stop in the centre, the last stop last): the table is interpolated from them,- /// <see cref="Origin"/> says it was made in the editor and <see cref="Category"/> is "custom".- /// </summary>- /// <exception cref="ArgumentException"><paramref name="stops"/> is not <see cref="StopCount"/> long.</exception>- public static ColorScheme FromStops(string schemeName, IReadOnlyList<Rgb> stops)+ /// <summary>Replaces every stop with these colours spread evenly over 0..1 (one change notification); at least one.</summary>+ /// <exception cref="ArgumentException">No colours.</exception>+ public void SetColors(IEnumerable<Rgb> colors){- var scheme = new ColorScheme(schemeName, InterpolateStops(stops));- scheme.AttachStops(stops);- scheme.Origin = StopCount.ToString(CultureInfo.InvariantCulture) + "-stop gradient made in the color scheme editor";- scheme.Category = "custom";- return scheme;+ var list = colors.ToList();+ if (list.Count == 0)+ {+ throw new ArgumentException("A color scheme needs at least one color.");+ }+ SetStops(list.Select((color, k) => new ColorStop(list.Count == 1 ? 0.0 : k / (double)(list.Count - 1), color)));}- /// <summary>- /// Stores a copy of <paramref name="stops"/> as the editable stops without regenerating the- /// table. Used by <see cref="ColorSchemeStore.Load"/> when a file has both "colors" and "stops", so the- /// table may differ from the stops until the first <see cref="SetStop"/>.- /// </summary>- /// <exception cref="ArgumentException"><paramref name="stops"/> is not <see cref="StopCount"/> long.</exception>- internal void AttachStops(IReadOnlyList<Rgb> stops)+ /// <summary>Replaces every stop (copies are taken; one change notification); at least one.</summary>+ /// <exception cref="ArgumentException">No stops.</exception>+ public void SetStops(IEnumerable<ColorStop> stops){- if (stops.Count != StopCount)+ var list = stops.Select(s => new ColorStop(s.Position, s.Color)).ToList();+ if (list.Count == 0){- throw new ArgumentException("Exactly " + StopCount.ToString(CultureInfo.InvariantCulture) + " stops are required.");+ throw new ArgumentException("A color scheme needs at least one stop.");}- _stops = [.. stops];+ _replacing = true;+ try+ {+ Stops.Clear();+ foreach (ColorStop stop in list)+ {+ Stops.Add(stop);+ }+ }+ finally+ {+ _replacing = false;+ }+ OnStopsCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));}- /// <summary>Replaces stop <paramref name="stopIndex"/> with <paramref name="value"/> and rebuilds the whole table from the stops.</summary>- /// <param name="stopIndex">0..<see cref="StopCount"/>-1.</param>- /// <param name="value">New stop color.</param>- /// <exception cref="InvalidOperationException">The scheme has no stops (<see cref="HasStops"/> is false).</exception>- /// <exception cref="ArgumentOutOfRangeException"><paramref name="stopIndex"/> is outside 0..<see cref="StopCount"/>-1.</exception>- public void SetStop(int stopIndex, Rgb value)+ /// <summary>+ /// Adds a stop in the middle of the widest gap between neighbouring stops (or after a single one),+ /// with the gradient's colour there, and returns it.+ /// </summary>+ public ColorStop AddStop(){- if (_stops == null)+ List<ColorStop> sorted = [.. Stops.OrderBy(s => s.Position)];+ double at = 1.0;+ if (sorted.Count >= 2){- throw new InvalidOperationException("This scheme has no editable stops. Use ToStopScheme first.");+ int widest = 0;+ for (int k = 1; k < sorted.Count - 1; k++)+ {+ if (sorted[k + 1].Position - sorted[k].Position > sorted[widest + 1].Position - sorted[widest].Position)+ {+ widest = k;+ }+ }+ at = (sorted[widest].Position + sorted[widest + 1].Position) / 2;}- if (stopIndex < 0 || stopIndex >= StopCount)+ else if (sorted[0].Position >= 1.0){- throw new ArgumentOutOfRangeException(nameof(stopIndex));+ at = 0.0;}- _stops[stopIndex] = value;- _entries = InterpolateStops(_stops);+ var stop = new ColorStop(at, SampleAt(at * (EntryCount - 1)));+ int index = Stops.Count(s => s.Position <= at);+ Stops.Insert(index, stop);+ return stop;}+ /// <summary>Removes a stop; false when it is not here or the last one.</summary>+ public bool RemoveStop(ColorStop stop) => Stops.Count > 1 && Stops.Remove(stop);+/// <summary>- /// Makes an editable <see cref="StopCount"/>-stop scheme from any scheme by sampling it at the stop- /// positions (k/(StopCount-1) of the 0..254 range). This is lossy: the copy is a smooth- /// approximation of the original. The result keeps this <see cref="SchemeType"/>, gets an- /// <see cref="Origin"/> naming this scheme, <see cref="Category"/> "custom" and no file path.+ /// Turns a sampled table into the author's editable gradient: keeps 9 evenly spaced colours sampled+ /// from the table (his "9-stop copy"); a scheme that already has 9 stops is left alone. The look+ /// changes where the table was not linear between those points./// </summary>- public ColorScheme ToStopScheme(string newName)+ public void ReduceToStops(){+ if (IsStopScheme)+ {+ return;+ }var stops = new Rgb[StopCount];for (int i = 0; i < StopCount; i++){stops[i] = SampleAt((i * (EntryCount - 1)) / (double)(StopCount - 1));}- ColorScheme scheme = FromStops(newName, stops);- scheme.Origin = StopCount.ToString(CultureInfo.InvariantCulture) + "-stop copy of scheme '" + Name + "'";- scheme.SchemeType = SchemeType;- return scheme;+ Description = StopCount.ToString(CultureInfo.InvariantCulture) + "-stop copy of scheme '" + Name + "'";+ Category = "custom";+ SetColors(stops);}/// <summary>- /// Deep copy with a new name: table, stops (if any), <see cref="Origin"/>, <see cref="Category"/> and- /// <see cref="SchemeType"/> are copied; <see cref="FilePath"/> is not (the copy is "unsaved").+ /// Drops every stop that the straight line between its neighbours reproduces within+ /// <paramref name="tolerance"/> (the largest channel difference, 0..255, after the renderer's rounding):+ /// Ramer–Douglas–Peucker over the stops, so a sampled 255-stop colormap keeps only its bends. The first+ /// and last stop always stay. Used to slim the shipped colormaps (2026-10-14, tolerance 3: between 3+ /// and 22 stops each) and offered by the editor./// </summary>+ public void Simplify(double tolerance)+ {+ List<ColorStop> kept = Simplify(Stops, tolerance);+ if (kept.Count < Stops.Count)+ {+ SetStops(kept);+ }+ }++ /// <summary>The stops that <see cref="Simplify(double)"/> keeps, as copies, in position order.</summary>+ public static List<ColorStop> Simplify(IReadOnlyList<ColorStop> stops, double tolerance)+ {+ List<ColorStop> sorted = [.. stops.OrderBy(s => s.Position)];+ var keep = new bool[sorted.Count];+ if (sorted.Count > 0)+ {+ keep[0] = true;+ keep[^1] = true;+ SimplifyRange(sorted, 0, sorted.Count - 1, tolerance, keep);+ }+ return sorted.Where((_, i) => keep[i]).Select(s => new ColorStop(s.Position, s.Color)).ToList();+ }++ private static void SimplifyRange(List<ColorStop> stops, int first, int last, double tolerance, bool[] keep)+ {+ if (last - first < 2)+ {+ return;+ }+ int worst = -1;+ double worstError = tolerance;+ for (int i = first + 1; i < last; i++)+ {+ double error = DeviationFromLine(stops[first], stops[last], stops[i]);+ if (error > worstError)+ {+ worst = i;+ worstError = error;+ }+ }+ if (worst < 0)+ {+ return;+ }+ keep[worst] = true;+ SimplifyRange(stops, first, worst, tolerance, keep);+ SimplifyRange(stops, worst, last, tolerance, keep);+ }++ /// <summary>How far a stop's colour is from the straight line between two others at its position: the largest channel difference after rounding.</summary>+ private static double DeviationFromLine(ColorStop a, ColorStop b, ColorStop p)+ {+ double span = b.Position - a.Position;+ double t = span <= 0 ? 0.0 : (p.Position - a.Position) / span;+ Rgb onLine = Lerp(a.Color, b.Color, t);+ return Math.Max(Math.Abs(onLine.R - p.Color.R), Math.Max(Math.Abs(onLine.G - p.Color.G), Math.Abs(onLine.B - p.Color.B)));+ }++ /// <summary>Clamps positions to 0..1 and sorts the stops; a scheme without stops becomes grey.</summary>+ public void Normalize()+ {+ if (Stops.Count == 0)+ {+ SetColors(Grey());+ return;+ }+ foreach (ColorStop stop in Stops)+ {+ stop.Position = Math.Clamp(stop.Position, 0.0, 1.0);+ }+ if (!Stops.Zip(Stops.Skip(1)).All(pair => pair.First.Position <= pair.Second.Position))+ {+ SetStops(Stops.OrderBy(s => s.Position).ToList());+ }+ }++ /// <summary>An independent copy under a new name (stops, kind, category and description; not the file path or the built-in flag).</summary>public ColorScheme Clone(string newName){- var scheme = new ColorScheme(newName, _entries)+ var copy = new ColorScheme { Name = newName, Kind = Kind, Category = Category, Description = Description };+ copy.SetStops(Stops);+ return copy;+ }++ /// <summary>A scheme of exactly <see cref="StopCount"/> evenly spaced stops (the author's editor form).</summary>+ /// <exception cref="ArgumentException">Not <see cref="StopCount"/> colours.</exception>+ public static ColorScheme FromStops(string schemeName, IReadOnlyList<Rgb> stops)+ {+ if (stops.Count != StopCount){- Origin = Origin,- Category = Category,- SchemeType = SchemeType,+ throw new ArgumentException("Exactly " + StopCount.ToString(CultureInfo.InvariantCulture) + " stops are required.");+ }+ return new ColorScheme(schemeName, stops)+ {+ Description = StopCount.ToString(CultureInfo.InvariantCulture) + "-stop gradient made in the color scheme editor",+ Category = "custom",};- if (_stops != null)+ }++ /// <summary>Nine colours from black to white, the default of a new scheme and the table of one without stops.</summary>+ public static Rgb[] Grey()+ {+ var stops = new Rgb[StopCount];+ for (int i = 0; i < StopCount; i++){- scheme.AttachStops(_stops);+ byte level = (byte)Math.Round(i * 255.0 / (StopCount - 1));+ stops[i] = new Rgb(level, level, level);}- return scheme;+ return stops;}/// <summary>- /// Builds the <see cref="EntryCount"/> entries from the <see cref="StopCount"/> stops at fixed, equally- /// spaced positions (linear in RGB); stop k lands on entry k*(EntryCount-1)/(StopCount-1).+ /// The table of <paramref name="count"/> entries for these stops: entry i sits at t = i / (count−1);+ /// before the first stop and after the last the end colours hold, between two stops the colour is+ /// interpolated linearly (channels round half away from zero, as the author's Python did). Stops at+ /// k / (n−1) reproduce <see cref="Resample"/> exactly, and 255 stops at i / 254 are the table itself./// </summary>- /// <exception cref="ArgumentException"><paramref name="stops"/> is not <see cref="StopCount"/> long.</exception>- public static Rgb[] InterpolateStops(IReadOnlyList<Rgb> stops)+ /// <exception cref="ArgumentException">No stops.</exception>+ public static Rgb[] Interpolate(IReadOnlyList<ColorStop> stops, int count){- if (stops.Count != StopCount)+ if (stops.Count == 0){- throw new ArgumentException("Exactly " + StopCount.ToString(CultureInfo.InvariantCulture) + " stops are required.");+ throw new ArgumentException("A color scheme needs at least one stop.");}- var entries = new Rgb[EntryCount];- for (int i = 0; i < EntryCount; i++)+ List<ColorStop> sorted = [.. stops.OrderBy(s => s.Position)];+ var result = new Rgb[count];+ int k = 0;+ for (int i = 0; i < count; i++){- // position on the stop scale: 0.0 (first stop) to StopCount - 1 (last stop);- // with 9 stops entry 127 is exactly 4.0, the middle stop.- // The last entry must stay in the last segment (StopCount - 2).- double position = (i * (StopCount - 1)) / (double)(EntryCount - 1);- int segment = Math.Min((int)Math.Floor(position), StopCount - 2);- entries[i] = Lerp(stops[segment], stops[segment + 1], position - segment);+ double t = i / (double)(count - 1);+ if (t <= sorted[0].Position)+ {+ result[i] = sorted[0].Color;+ continue;+ }+ if (t >= sorted[^1].Position)+ {+ result[i] = sorted[^1].Color;+ continue;+ }+ while (sorted[k + 1].Position < t)+ {+ k++;+ }+ ColorStop a = sorted[k];+ ColorStop b = sorted[k + 1];+ result[i] = t >= b.Position || b.Position <= a.Position+ ? b.Color+ : Lerp(a.Color, b.Color, (t - a.Position) / (b.Position - a.Position));}- return entries;+ return result;}/// <summary>- /// Resamples an arbitrary-length color list to exactly <paramref name="count"/> entries by linear RGB- /// interpolation (a plain copy when the lengths already match).+ /// Spreads <paramref name="source"/> evenly over <paramref name="count"/> entries with linear+ /// interpolation (an identical count copies): the author's Python resampling, kept for the JSON+ /// writer and the consolidation test. Entry i sits at position i × (n−1) / (count−1) on the source./// </summary>- /// <param name="source">At least two colors.</param>- /// <param name="count">Number of entries wanted; must be at least 2.</param>- /// <exception cref="ArgumentException"><paramref name="source"/> has fewer than two colors.</exception>+ /// <exception cref="ArgumentException">Fewer than two source colours.</exception>public static Rgb[] Resample(IReadOnlyList<Rgb> source, int count){if (source.Count < 2)@@ -213,14 +501,6 @@ public class ColorSchemethrow new ArgumentException("A color scheme needs at least 2 colors.");}var result = new Rgb[count];- if (source.Count == count)- {- for (int i = 0; i < count; i++)- {- result[i] = source[i];- }- return result;- }for (int i = 0; i < count; i++){double position = (double)(i * (source.Count - 1)) / (count - 1);@@ -230,31 +510,54 @@ public class ColorSchemereturn result;}- /// <summary>Per-channel linear blend of two colors; <paramref name="t"/> = 0 gives <paramref name="a"/>, 1 gives <paramref name="b"/>.</summary>+ /// <summary>Whether a table equals the interpolation of these evenly spaced colours exactly (the consolidation test of the store).</summary>+ public static bool IsInterpolationOf(IReadOnlyList<Rgb> table, IReadOnlyList<Rgb> stops) =>+ table.Count == EntryCount && Resample(stops, EntryCount).SequenceEqual(table);+private static Rgb Lerp(Rgb a, Rgb b, double t) =>Rgb.Clamped(LerpChannel(a.R, b.R, t), LerpChannel(a.G, b.G, t), LerpChannel(a.B, b.B, t));- /// <summary>Blends one 0..255 channel, rounding halves away from zero.</summary>private static int LerpChannel(int a, int b, double t) => (int)Math.Round(a + (b - a) * t, MidpointRounding.AwayFromZero);- /// <summary>Number of entries in the color table (indices 0..254).</summary>- public const int EntryCount = 255;-- /// <summary>- /// Number of fixed anchor colors in the stop editor: 9 (upgraded from 5 to 7 to 9 over time). Odd on- /// purpose, so the middle stop is exactly the centre entry 127; see the class remarks.- /// </summary>- public const int StopCount = 9;-- /// <summary>The <see cref="EntryCount"/> table entries; replaced wholesale by <see cref="SetStop"/>.</summary>- private Rgb[] _entries;+ private void OnStopsCollectionChanged(object? sender, NotifyCollectionChangedEventArgs e)+ {+ if (e.OldItems != null)+ {+ foreach (ColorStop stop in e.OldItems)+ {+ stop.PropertyChanged -= OnStopChanged;+ }+ }+ if (e.NewItems != null)+ {+ foreach (ColorStop stop in e.NewItems)+ {+ stop.PropertyChanged += OnStopChanged;+ }+ }+ if (e.Action == NotifyCollectionChangedAction.Reset)+ {+ foreach (ColorStop stop in Stops)+ {+ stop.PropertyChanged -= OnStopChanged;+ stop.PropertyChanged += OnStopChanged;+ }+ }+ if (!_replacing)+ {+ Invalidate();+ }+ }- /// <summary>The <see cref="StopCount"/> editable stops, or null for a table-only scheme.</summary>- private Rgb[]? _stops;+ private void OnStopChanged(object? sender, PropertyChangedEventArgs e) => Invalidate();- /// <summary><see cref="SchemeType"/> value for schemes that color the signed field (-1..+1).</summary>- public const string SchemeTypeField = "field";+ private void Invalidate()+ {+ _table = null;+ OnPropertyChanged(nameof(Stops));+ OnPropertyChanged(nameof(IsStopScheme));+ }- /// <summary><see cref="SchemeType"/> value for schemes that color the accumulated intensity (0..max).</summary>- public const string SchemeTypeIntensity = "intensity";+ /// <summary>The name, for lists and the property grid.</summary>+ public override string ToString() => Name;}diff --git a/WaveDude/Rendering/ColorSchemeStore.cs b/WaveDude/Rendering/ColorSchemeStore.csindex 7da1638..5bf4dc6 100644--- a/WaveDude/Rendering/ColorSchemeStore.cs+++ b/WaveDude/Rendering/ColorSchemeStore.cs@@ -2,30 +2,47 @@ using System.Globalization;using System.Reflection;using System.Text;using System.Text.Json;+using System.Xml;+using System.Xml.Serialization;namespace WaveDude.Rendering;/// <summary>-/// Reads and writes <see cref="ColorScheme"/> objects as JSON files (one file per scheme, e.g. in the-/// scheme folder).+/// Reads and writes <see cref="ColorScheme"/> files: the program's XML (<see cref="SaveXml"/> /+/// <see cref="LoadXml(string)"/>, extension <see cref="XmlExtension"/>, the same element a project file embeds;+/// the shipped schemes are these, embedded in the assembly) and the author's JSON (<see cref="Parse"/>,+/// read for files a user brings along from his program)./// </summary>/// <remarks>-/// File format, the same as the files exported from Python (e.g. in its <c>color_schemes</c> folder): an-/// object with "name", "origin", optional "category" and "scheme_type" ("field" or "intensity"),-/// "bits_per_channel" (always 8), "entry_count" (<see cref="ColorScheme.EntryCount"/>) and a "colors"-/// list of <c>[r,g,b]</c> triplets, plus, only for schemes made in the stop editor, a "stops" list of-/// <see cref="ColorScheme.StopCount"/> triplets. Reading uses <see cref="JsonDocument"/>; writing emits-/// the text by hand so the file stays human-readable and byte-identical to the shipped files. The shipped-/// schemes are embedded in this assembly (<see cref="LoadBuiltIn"/>; the repository's <c>ColorSchemeList</c>-/// folder is their source); the user's own schemes live in <see cref="UserFolder"/>. Called only from the-/// UI thread (start-up and a scheme editor).+/// JSON format, the files exported from the author's Python: an object with "name", "origin", optional+/// "category" and "scheme_type" ("field" or "intensity"), "bits_per_channel" (8), "entry_count" (255) and a+/// "colors" list of <c>[r,g,b]</c> triplets, plus, for schemes made in the stop editor, a "stops" list of 9+/// triplets. Reading consolidates (2026-10-13): when the table equals the interpolation of the stops, which+/// holds for every shipped file, the scheme keeps the 9 stops only; otherwise the table. Writing JSON+/// (<see cref="Save"/>) emits the author's layout, so a stop scheme round-trips byte for byte; the "colors"+/// table there is redundant for a stop scheme (his program reads only the table). The shipped schemes are+/// embedded in this assembly as XML (<see cref="LoadBuiltIn"/>; the repository's <c>ColorSchemeList</c>+/// folder is their source, converted from his JSON on 2026-10-13); the user's own schemes live in+/// <see cref="UserFolder"/>. UI thread./// </remarks>public static class ColorSchemeStore{+ /// <summary>Extension of a standalone XML scheme file.</summary>+ public const string XmlExtension = ".wdscheme";+/// <summary>Prefix of the embedded scheme resources (see the csproj's <c>LogicalName</c>).</summary>private const string ResourcePrefix = "ColorSchemes/";- /// <summary>The user's own scheme folder, <c>%LOCALAPPDATA%\WaveDude\ColorSchemes</c>; created on first use by <see cref="Save"/>, may not exist.</summary>+ private static readonly XmlSerializer Serializer = new(typeof(ColorScheme));+ private static readonly XmlSerializerNamespaces NoNamespaces = new([XmlQualifiedName.Empty]);+ private static readonly XmlWriterSettings WriterSettings = new()+ {+ Indent = true,+ IndentChars = "\t",+ Encoding = new UTF8Encoding(false),+ };++ /// <summary>The user's own scheme folder, <c>%LOCALAPPDATA%\WaveDude\ColorSchemes</c>; created on first use by a save, may not exist.</summary>public static string UserFolder { get; } =Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "WaveDude", "ColorSchemes");@@ -45,12 +62,21 @@ public static class ColorSchemeStoretry{using Stream stream = assembly.GetManifestResourceStream(name) ?? throw new InvalidDataException("The resource stream is missing.");- using var reader = new StreamReader(stream, Encoding.UTF8);- ColorScheme scheme = Parse(reader.ReadToEnd(), Path.GetFileNameWithoutExtension(name[ResourcePrefix.Length..]));+ string fallbackName = Path.GetFileNameWithoutExtension(name[ResourcePrefix.Length..]);+ ColorScheme scheme;+ if (name.EndsWith(".json", StringComparison.OrdinalIgnoreCase))+ {+ using var reader = new StreamReader(stream, Encoding.UTF8);+ scheme = Parse(reader.ReadToEnd(), fallbackName);+ }+ else+ {+ scheme = LoadXml(stream, fallbackName);+ }scheme.IsBuiltIn = true;schemes.Add(scheme);}- catch (Exception ex) when (ex is InvalidDataException or JsonException)+ catch (Exception ex) when (ex is InvalidDataException or JsonException or FormatException or InvalidOperationException){errors?.Add(name + ": " + ex.Message);}@@ -58,14 +84,17 @@ public static class ColorSchemeStorereturn schemes;}+ /// <summary>Reads a scheme file of either format by its extension: <c>.json</c> through <see cref="Parse"/>, anything else as XML.</summary>+ /// <exception cref="InvalidDataException">Not a scheme in either format.</exception>+ /// <exception cref="JsonException">A JSON file that is not valid JSON.</exception>+ /// <exception cref="InvalidOperationException">An XML file that is not a scheme.</exception>+ public static ColorScheme LoadFile(string filePath) =>+ string.Equals(Path.GetExtension(filePath), ".json", StringComparison.OrdinalIgnoreCase) ? Load(filePath) : LoadXml(filePath);+/// <summary>- /// Reads one scheme file. The table comes from "colors" (resampled to 255 entries) when that list has at- /// least two entries, otherwise it is interpolated from "stops"; a "stops" list is attached as editable- /// stops only if it has exactly <see cref="ColorScheme.StopCount"/> entries (otherwise it is ignored).- /// "name" falls back to the file name, "scheme_type" is normalised (see <see cref="NormalizeSchemeType"/>),- /// and <see cref="ColorScheme.FilePath"/> is set to <paramref name="filePath"/>.+ /// Reads one JSON scheme file (see the remarks of the class); "name" falls back to the file name and+ /// <see cref="ColorScheme.FilePath"/> is set to <paramref name="filePath"/>./// </summary>- /// <param name="filePath">Full path of the JSON file.</param>/// <exception cref="InvalidDataException">The file is not a JSON object, has no usable color list or contains malformed triplets.</exception>/// <exception cref="JsonException">The file is not valid JSON.</exception>public static ColorScheme Load(string filePath)@@ -75,7 +104,7 @@ public static class ColorSchemeStorereturn scheme;}- /// <summary>Parses scheme JSON; <paramref name="fallbackName"/> stands in for a missing "name".</summary>+ /// <summary>Parses scheme JSON; <paramref name="fallbackName"/> stands in for a missing "name". Consolidates stops and table (see the class remarks).</summary>/// <exception cref="InvalidDataException">Not a JSON object, no usable color list or malformed triplets.</exception>/// <exception cref="JsonException">Not valid JSON.</exception>public static ColorScheme Parse(string json, string fallbackName)@@ -93,36 +122,73 @@ public static class ColorSchemeStore{stops = null;}- ColorScheme scheme;- if (colors != null && colors.Count >= 2)+ IReadOnlyList<Rgb> kept;+ if (stops != null && (colors == null || colors.Count < 2 || ColorScheme.IsInterpolationOf(colors, stops))){- scheme = new ColorScheme(schemeName, colors);+ kept = stops;}- else if (stops != null)+ else if (colors != null && colors.Count >= 2){- scheme = ColorScheme.FromStops(schemeName, stops);+ kept = colors;}else{throw new InvalidDataException("The file contains no usable 'colors' list.");}- if (stops != null)+ var scheme = new ColorScheme(schemeName, kept);+ scheme.Description = GetString(root, "origin", scheme.Description);+ scheme.Category = GetString(root, "category", scheme.Category);+ scheme.Kind = KindOf(GetString(root, "scheme_type", ""));+ return scheme;+ }++ /// <summary>Reads a standalone XML scheme file; <see cref="ColorScheme.FilePath"/> is set.</summary>+ /// <exception cref="InvalidOperationException">The file is not an XML colour scheme.</exception>+ /// <exception cref="FormatException">A colour is not <c>#RRGGBB</c>.</exception>+ public static ColorScheme LoadXml(string filePath)+ {+ using FileStream stream = File.OpenRead(filePath);+ ColorScheme scheme = LoadXml(stream, Path.GetFileNameWithoutExtension(filePath));+ scheme.FilePath = filePath;+ return scheme;+ }++ /// <summary>Reads an XML scheme from a stream; <paramref name="fallbackName"/> stands in for a missing name. Positions are clamped and sorted.</summary>+ /// <exception cref="InvalidOperationException">The document is not a colour scheme.</exception>+ public static ColorScheme LoadXml(Stream stream, string fallbackName)+ {+ using var reader = XmlReader.Create(stream);+ if (Serializer.Deserialize(reader) is not ColorScheme scheme){- scheme.AttachStops(stops);+ throw new InvalidOperationException("The document is not a colour scheme.");}- scheme.Origin = GetString(root, "origin", scheme.Origin);- scheme.Category = GetString(root, "category", scheme.Category);- scheme.SchemeType = NormalizeSchemeType(GetString(root, "scheme_type", scheme.SchemeType));+ if (scheme.Name.Length == 0)+ {+ scheme.Name = fallbackName;+ }+ scheme.Normalize();return scheme;}+ /// <summary>Writes a standalone XML scheme file (the project file embeds the same element); creates the folder, writes through a temporary file, sets <see cref="ColorScheme.FilePath"/>.</summary>+ public static void SaveXml(ColorScheme scheme, string filePath)+ {+ PrepareWrite(filePath, out string tempPath);+ using (FileStream stream = File.Create(tempPath))+ using (var writer = XmlWriter.Create(stream, WriterSettings))+ {+ Serializer.Serialize(writer, scheme, NoNamespaces);+ }+ File.Move(tempPath, filePath, overwrite: true);+ scheme.FilePath = filePath;+ }+/// <summary>- /// Loads every <c>*.json</c> file in <paramref name="folder"/>, in case-insensitive file name order.- /// Files that fail to load are skipped and reported as "file: message" lines in <paramref name="errors"/>.+ /// Reads every <c>*.json</c> and <c>*.wdscheme</c> file of a folder, in name order; a missing folder gives an empty list.+ /// Unreadable files are reported in <paramref name="errors"/> and skipped./// </summary>- /// <param name="folder">Folder to scan; an empty or missing folder yields an empty list.</param>+ /// <param name="folder">The folder to read; "" or a missing folder gives an empty list.</param>/// <param name="errors">Receives one line per unreadable file; may be null to discard them.</param>- /// <returns>The schemes that loaded successfully.</returns>public static List<ColorScheme> LoadFolder(string folder, List<string>? errors){var schemes = new List<ColorScheme>();@@ -130,15 +196,15 @@ public static class ColorSchemeStore{return schemes;}- var files = new List<string>(Directory.GetFiles(folder, "*.json"));+ var files = Directory.GetFiles(folder, "*.json").Concat(Directory.GetFiles(folder, "*" + XmlExtension)).ToList();files.Sort(StringComparer.OrdinalIgnoreCase);foreach (string file in files){try{- schemes.Add(Load(file));+ schemes.Add(LoadFile(file));}- catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or InvalidDataException or JsonException)+ catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or InvalidDataException or JsonException or InvalidOperationException or FormatException){errors?.Add(Path.GetFileName(file) + ": " + ex.Message);}@@ -146,37 +212,34 @@ public static class ColorSchemeStorereturn schemes;}- /// <summary>The scheme called <paramref name="name"/> (case-insensitive, so a file's "name" matches the model's stored name regardless of letter case), or null.</summary>+ /// <summary>The scheme called <paramref name="name"/>, compared case-insensitively ("Default_intensity" finds "Default_Intensity"); null when absent.</summary>public static ColorScheme? Find(IEnumerable<ColorScheme> schemes, string name) =>- schemes.FirstOrDefault(scheme => string.Equals(scheme.Name, name, StringComparison.OrdinalIgnoreCase));+ schemes.FirstOrDefault(s => string.Equals(s.Name, name, StringComparison.OrdinalIgnoreCase));/// <summary>- /// Writes <paramref name="scheme"/> as a UTF-8 (no BOM) JSON file, eight color triplets per line, with- /// "category" / "scheme_type" omitted when empty and "stops" present only for stop schemes. Creates the- /// target directory, writes to <c><filePath>.tmp</c> first and then replaces the target, and finally- /// sets <see cref="ColorScheme.FilePath"/> on the scheme.+ /// Writes the author's JSON layout: "stops" for a scheme of 9 evenly spaced stops, then the interpolated+ /// "colors" table (redundant then, but what his program reads), eight triplets per line. Creates the folder, writes through a temporary file and sets+ /// <see cref="ColorScheme.FilePath"/>./// </summary>- /// <param name="scheme">Scheme to write.</param>- /// <param name="filePath">Destination file path (usually from <see cref="PathFor"/>).</param>public static void Save(ColorScheme scheme, string filePath){var json = new StringBuilder();json.AppendLine("{");json.AppendLine(" \"name\": " + Quote(scheme.Name) + ",");- json.AppendLine(" \"origin\": " + Quote(scheme.Origin) + ",");+ json.AppendLine(" \"origin\": " + Quote(scheme.Description) + ",");if (!string.IsNullOrEmpty(scheme.Category)){json.AppendLine(" \"category\": " + Quote(scheme.Category) + ",");}- if (!string.IsNullOrEmpty(scheme.SchemeType))+ if (scheme.Kind != ColorSchemeKind.Unspecified){- json.AppendLine(" \"scheme_type\": " + Quote(scheme.SchemeType) + ",");+ json.AppendLine(" \"scheme_type\": " + Quote(scheme.Kind.ToString().ToLowerInvariant()) + ",");}json.AppendLine(" \"bits_per_channel\": 8,");json.AppendLine(" \"entry_count\": " + ColorScheme.EntryCount.ToString(CultureInfo.InvariantCulture) + ",");- if (scheme.Stops is { } stops)+ if (scheme.IsStopScheme && scheme.IsEvenlySpaced){- json.AppendLine(" \"stops\": [" + string.Join(", ", stops) + "],");+ json.AppendLine(" \"stops\": [" + string.Join(", ", scheme.Colors.Select(Triplet)) + "],");}Rgb[] entries = scheme.Entries;json.AppendLine(" \"colors\": [");@@ -184,7 +247,7 @@ public static class ColorSchemeStore{int rowEnd = Math.Min(rowStart + 7, entries.Length - 1);json.Append(" ");- json.Append(string.Join(", ", entries[rowStart..(rowEnd + 1)]));+ json.Append(string.Join(", ", entries[rowStart..(rowEnd + 1)].Select(Triplet)));if (rowEnd < entries.Length - 1){json.Append(',');@@ -193,23 +256,13 @@ public static class ColorSchemeStore}json.AppendLine(" ]");json.AppendLine("}");- string? directoryName = Path.GetDirectoryName(filePath);- if (!string.IsNullOrEmpty(directoryName))- {- Directory.CreateDirectory(directoryName);- }- // write to a temporary file first so a failed save never leaves a half-written scheme behind- string tempPath = filePath + ".tmp";+ PrepareWrite(filePath, out string tempPath);File.WriteAllText(tempPath, json.ToString(), new UTF8Encoding(false));File.Move(tempPath, filePath, overwrite: true);scheme.FilePath = filePath;}- /// <summary>- /// Turns a scheme name into a file name (without extension): invalid file name characters become- /// '_', surrounding whitespace and trailing dots are removed.- /// </summary>- /// <returns>The sanitised name, or "color_scheme" when nothing usable is left.</returns>+ /// <summary>A scheme name as a file name: invalid characters become '_', trailing dots go; "color_scheme" for an empty name.</summary>public static string SafeFileName(string schemeName){if (string.IsNullOrEmpty(schemeName))@@ -226,20 +279,32 @@ public static class ColorSchemeStorereturn result.Length == 0 ? "color_scheme" : result;}- /// <summary>The file path a scheme named <paramref name="schemeName"/> is stored at in <paramref name="folder"/>: <see cref="SafeFileName"/> plus ".json".</summary>- public static string PathFor(string folder, string schemeName) => Path.Combine(folder, SafeFileName(schemeName) + ".json");+ /// <summary>The XML file path a scheme of this name gets inside <paramref name="folder"/>.</summary>+ public static string PathFor(string folder, string schemeName) => Path.Combine(folder, SafeFileName(schemeName) + XmlExtension);++ /// <summary>The author's "scheme_type" text as a kind: "field", "intensity", anything else unspecified.</summary>+ public static ColorSchemeKind KindOf(string schemeType) => schemeType.Trim().ToLowerInvariant() switch+ {+ "field" => ColorSchemeKind.Field,+ "intensity" => ColorSchemeKind.Intensity,+ _ => ColorSchemeKind.Unspecified,+ };- /// <summary>Maps a raw "scheme_type" value to <see cref="ColorScheme.SchemeTypeField"/> or <see cref="ColorScheme.SchemeTypeIntensity"/> (trimmed, case-insensitive); anything else becomes "".</summary>- private static string NormalizeSchemeType(string value)+ /// <summary>Creates the folder and names the temporary file a write goes through, so a failed save never leaves a half-written scheme behind.</summary>+ private static void PrepareWrite(string filePath, out string tempPath){- string normalized = value.Trim().ToLowerInvariant();- return normalized is ColorScheme.SchemeTypeField or ColorScheme.SchemeTypeIntensity ? normalized : "";+ string? directoryName = Path.GetDirectoryName(filePath);+ if (!string.IsNullOrEmpty(directoryName))+ {+ Directory.CreateDirectory(directoryName);+ }+ tempPath = filePath + ".tmp";}- /// <summary>- /// Reads <paramref name="key"/> from the JSON object as a string (numbers and booleans are converted with- /// the invariant culture), or <paramref name="fallback"/> when the key is missing or null.- /// </summary>+ /// <summary>The author's JSON spelling of a colour, <c>[r,g,b]</c>.</summary>+ private static string Triplet(Rgb color) =>+ "[" + color.R.ToString(CultureInfo.InvariantCulture) + "," + color.G.ToString(CultureInfo.InvariantCulture) + "," + color.B.ToString(CultureInfo.InvariantCulture) + "]";+private static string GetString(JsonElement root, string key, string fallback){if (!root.TryGetProperty(key, out JsonElement value))@@ -256,12 +321,6 @@ public static class ColorSchemeStore};}- /// <summary>- /// Converts a JSON list of <c>[r,g,b]</c> lists into colors. Each inner list needs at least three- /// numbers (extra values are ignored); non-integers are rounded and every channel is clamped to 0..255.- /// </summary>- /// <param name="node">The value of "colors" or "stops".</param>- /// <exception cref="InvalidDataException">The node or one of its items is not a list, a triplet is too short or a channel is not a number.</exception>private static List<Rgb> ParseColorList(JsonElement node){if (node.ValueKind != JsonValueKind.Array)@@ -293,7 +352,6 @@ public static class ColorSchemeStorereturn colors;}- /// <summary>Returns <paramref name="text"/> as a double-quoted JSON string literal; escapes quotes, backslashes and control characters, leaves non-ASCII as UTF-8.</summary>private static string Quote(string text){var quoted = new StringBuilder();@@ -308,15 +366,15 @@ public static class ColorSchemeStorecase '\\':quoted.Append("\\\\");break;- case '\t':- quoted.Append("\\t");- break;case '\n':quoted.Append("\\n");break;case '\r':quoted.Append("\\r");break;+ case '\t':+ quoted.Append("\\t");+ break;default:if (c < ' '){@@ -332,5 +390,4 @@ public static class ColorSchemeStorequoted.Append('"');return quoted.ToString();}-}diff --git a/WaveDude/Rendering/Rgb.cs b/WaveDude/Rendering/Rgb.csindex 40aeb22..c72ac4a 100644--- a/WaveDude/Rendering/Rgb.cs+++ b/WaveDude/Rendering/Rgb.cs@@ -1,20 +1,89 @@+using System.ComponentModel;+using System.Globalization;+namespace WaveDude.Rendering;-/// <summary>An opaque 8-bit RGB colour, the unit of a <see cref="ColorScheme"/>; a value type usable from any thread.</summary>-/// <param name="R">Red 0..255.</param>-/// <param name="G">Green 0..255.</param>-/// <param name="B">Blue 0..255.</param>+/// <summary>+/// One 8-bit RGB colour. Replaces <c>System.Drawing.Color</c> in the library so that nothing here+/// depends on GDI+. Written and read as <c>#RRGGBB</c> (the form every colour takes in XML and in+/// the editors, 2026-10-13); <see cref="TryParse"/> also accepts <c>RRGGBB</c>, <c>#RGB</c> and the+/// author's JSON triplet <c>[r,g,b]</c>. The <see cref="TypeConverter"/> lets WPF bind a text box+/// straight to an <see cref="Rgb"/>.+/// </summary>+[TypeConverter(typeof(RgbConverter))]public readonly record struct Rgb(byte R, byte G, byte B){- /// <summary>The colour packed as opaque ARGB (<c>0xFFRRGGBB</c>), which is also the in-memory byte order of a BGRA32 pixel.</summary>+ /// <summary>Packed <c>0xFFRRGGBB</c>, which is also BGRA32 memory order on a little-endian machine.</summary>public int ToArgb() => unchecked((int)0xFF000000) | (R << 16) | (G << 8) | B;- /// <summary>The colour of a packed ARGB value; the alpha byte is ignored.</summary>+ /// <summary>The colour of a packed <c>0xAARRGGBB</c> value (alpha ignored).</summary>public static Rgb FromArgb(int argb) => new((byte)(argb >> 16), (byte)(argb >> 8), (byte)argb);- /// <summary>Creates a colour from channel values clamped to 0..255.</summary>+ /// <summary>Builds a colour from integer channels, each clamped to 0..255.</summary>public static Rgb Clamped(int r, int g, int b) => new((byte)Math.Clamp(r, 0, 255), (byte)Math.Clamp(g, 0, 255), (byte)Math.Clamp(b, 0, 255));- /// <summary><c>[r,g,b]</c>, the JSON triplet form of the scheme files.</summary>- public override string ToString() => $"[{R},{G},{B}]";+ /// <summary><c>#RRGGBB</c>, upper case.</summary>+ public override string ToString() => $"#{R:X2}{G:X2}{B:X2}";++ /// <summary>Parses <c>#RRGGBB</c>, <c>RRGGBB</c>, <c>#RGB</c> or <c>[r,g,b]</c>.</summary>+ /// <exception cref="FormatException">The text is none of those.</exception>+ public static Rgb Parse(string text) =>+ TryParse(text, out Rgb color) ? color : throw new FormatException($"'{text}' is not a colour; #RRGGBB expected.");++ /// <summary>Tries to parse <c>#RRGGBB</c>, <c>RRGGBB</c>, <c>#RGB</c> or <c>[r,g,b]</c>; false for anything else.</summary>+ public static bool TryParse(string? text, out Rgb color)+ {+ color = default;+ if (text == null)+ {+ return false;+ }+ string s = text.Trim();+ if (s.StartsWith('['))+ {+ string[] parts = s.Trim('[', ']').Split(',');+ if (parts.Length == 3 && int.TryParse(parts[0], NumberStyles.Integer, CultureInfo.InvariantCulture, out int r)+ && int.TryParse(parts[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out int g)+ && int.TryParse(parts[2], NumberStyles.Integer, CultureInfo.InvariantCulture, out int b))+ {+ color = Clamped(r, g, b);+ return true;+ }+ return false;+ }+ if (s.StartsWith('#'))+ {+ s = s[1..];+ }+ if (s.Length == 3)+ {+ s = new string([s[0], s[0], s[1], s[1], s[2], s[2]]);+ }+ if (s.Length != 6 || !int.TryParse(s, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out int packed))+ {+ return false;+ }+ color = FromArgb(packed);+ return true;+ }+}++/// <summary>Converts between <see cref="Rgb"/> and its <c>#RRGGBB</c> text for bindings and property editors.</summary>+public sealed class RgbConverter : TypeConverter+{+ /// <inheritdoc/>+ public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) =>+ sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);++ /// <inheritdoc/>+ public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) =>+ destinationType == typeof(string) || base.CanConvertTo(context, destinationType);++ /// <inheritdoc/>+ public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) =>+ value is string text ? Rgb.Parse(text) : base.ConvertFrom(context, culture, value);++ /// <inheritdoc/>+ public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) =>+ destinationType == typeof(string) && value is Rgb color ? color.ToString() : base.ConvertTo(context, culture, value, destinationType);}diff --git a/WaveDude/WaveDude.csproj b/WaveDude/WaveDude.csprojindex 8ab5d74..5d09cf4 100644--- a/WaveDude/WaveDude.csproj+++ b/WaveDude/WaveDude.csproj@@ -13,7 +13,7 @@<!-- the shipped colour schemes are part of the binary; the repo's ColorSchemeList folder is their source --><ItemGroup>- <EmbeddedResource Include="..\ColorSchemeList\*.json" LogicalName="ColorSchemes/%(Filename)%(Extension)" />+ <EmbeddedResource Include="..\ColorSchemeList\*.wdscheme;..\ColorSchemeList\*.json" LogicalName="ColorSchemes/%(Filename)%(Extension)" /></ItemGroup><ItemGroup>