.NET 8+ word cloud generator using SkiaSharp (PNG) and SVG (HTML) with Clean Architecture.
- WordCloudNet.Domain — Models (
WordCloudItem,WordCloudOptions),IWordCloudGeneratorinterface - WordCloudNet.Application — DI registration
- WordCloudNet.Infrastructure —
SkiaWordCloudGenerator, spiral placement algorithm, PNG/SVG renderers
services.AddWordCloudNet();
// Generate
var items = new[] { new WordCloudItem { Text = "hello", Weight = 10 } };
var options = new WordCloudOptions { Width = 800, Height = 600 };
byte[] png = await generator.GenerateImageAsync(items, options);
string html = await generator.GenerateHtmlAsync(items, options);dotnet build
dotnet test