ILNumerics.Community.Avalonia
7.0.0.279
See the version list below for details.
dotnet add package ILNumerics.Community.Avalonia --version 7.0.0.279
NuGet\Install-Package ILNumerics.Community.Avalonia -Version 7.0.0.279
<PackageReference Include="ILNumerics.Community.Avalonia" Version="7.0.0.279" />
<PackageVersion Include="ILNumerics.Community.Avalonia" Version="7.0.0.279" />
<PackageReference Include="ILNumerics.Community.Avalonia" />
paket add ILNumerics.Community.Avalonia --version 7.0.0.279
#r "nuget: ILNumerics.Community.Avalonia, 7.0.0.279"
#:package ILNumerics.Community.Avalonia@7.0.0.279
#addin nuget:?package=ILNumerics.Community.Avalonia&version=7.0.0.279
#tool nuget:?package=ILNumerics.Community.Avalonia&version=7.0.0.279
ILNumerics.Community.Avalonia
Integration package for ILNumerics (http://ilnumerics.net/) scene graphs and plot cubes with Avalonia (https://avaloniaui.net/platforms) cross-platform UI framework. ILNumerics.Community.Avalonia
provides an ILNumerics panel implementation for Avalonia and a set of helper / convenience functions to make embedding ILNumerics scenes into Avalonia apps straightforward.
This package makes it easy to host ILNumerics scene graphs and 2D/3D plot cubes inside Avalonia applications. The panel acts as a bridge between Avalonia's UI system and ILNumerics rendering, allowing you to build interactive visualizations that run cross-platform.
Note: Currently, only a software renderer is available, but it generally provides a smooth rendering experience.
Compatibility
- .NET: targets
.NET 9
. - ILNumerics:
ILNumerics 7.3+
- Avalonia: compatible with
Avalonia 11
.
Note: Desktop platforms (Windows, Linux, macOS) are working well. There are currently some outstanding issues on mobile platforms; please refer to the issue tracker for details and status updates.
Usage
Add the ILNumerics panel to your user interface (in XAML or in code). The example below shows a simple XAML usage; adjust XML namespaces as appropriate for your project:
<avalonia:Panel Background="White" x:Name="ilPanel" />
Assign a scene to the panel to render it. A minimal example in C#:
// Create a Scene containing a PlotCube and a Surface. Replace 'B' with your data array.
ilPanel.Scene = new Scene
{
new PlotCube(twoDMode: false)
{
new Surface(tosingle(B), colormap: Colormaps.Jet) { new Colorbar() }
}
};
// Call Configure so ILNumerics computes bounds and internal state required for rendering.
ilPanel.Scene.Configure();
Notes:
- Call
Configure()
on the scene after setup. - Assign a new
Scene
or modify an existing one to update what is rendered.
Examples and demos
This repository includes demo projects under the Demo/
folder showcasing usage across desktop, browser and mobile targets. Run the demos to see concrete usage and to experiment with different scenes and rendering configurations.
License
ILNumerics.Community.MAUI is licensed under the terms of the MIT license (http://opensource.org/licenses/MIT, see LICENSE.txt).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Avalonia (>= 11.3.7)
- ILNumerics.Core (>= 7.3.58)
- ILNumerics.Drawing (>= 7.3.58)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.