Skip to content

Commit

Permalink
Remove mandelbrot example due to conflicting license
Browse files Browse the repository at this point in the history
Closes #1423
Closes #1424
  • Loading branch information
patriksvensson committed Jan 3, 2024
1 parent 6f1f299 commit 7cf7e84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 91 deletions.
86 changes: 0 additions & 86 deletions examples/Console/Canvas/Mandelbrot.cs

This file was deleted.

6 changes: 1 addition & 5 deletions examples/Console/Canvas/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ public static class Program
{
public static void Main()
{
// Draw a mandelbrot set using a Canvas
var mandelbrot = Mandelbrot.Generate(32, 32);
Render(mandelbrot, "Mandelbrot");

// Draw an image using CanvasImage powered by ImageSharp.
// This requires the "Spectre.Console.ImageSharp" NuGet package.
var image = new CanvasImage("cake.png");
image.BilinearResampler();
image.MaxWidth(16);
Render(image, "Image from file (16 wide)");

// Draw image again, but without render width
// Draw image again, but without max width
image.NoMaxWidth();
image.Mutate(ctx => ctx.Grayscale().Rotate(-45).EntropyCrop());
Render(image, "Image from file (fit, greyscale, rotated)");
Expand Down

0 comments on commit 7cf7e84

Please sign in to comment.