TurtleGraphics 1.0.2

dotnet add package TurtleGraphics --version 1.0.2                
NuGet\Install-Package TurtleGraphics -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TurtleGraphics" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TurtleGraphics --version 1.0.2                
#r "nuget: TurtleGraphics, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TurtleGraphics as a Cake Addin
#addin nuget:?package=TurtleGraphics&version=1.0.2

// Install TurtleGraphics as a Cake Tool
#tool nuget:?package=TurtleGraphics&version=1.0.2                

Platform Independent Turtle Graphics for .Net

TurtleGraphics is a platform independent library that provides turtle graphics for the .Net Platform.

Example

Turtle.SetPenWidth(5);
Turtle.SetColor("blue");
for (int i = 0; i < 4; i++)
{
    Turtle.Forward(50);
    Turtle.TurnRight(90);
}
Turtle.ShowTurtle();

example

Provided Functionality

Turtle.Forward

Moves the turtle x steps forward.

Turtle.Back

Moves the turtle x steps backwards.

Turtle.TurnRight

Moves the turtle turn right by x degrees.

Turtle.TurnLeft

Moves the turtle turn left by x degrees.

Turtle.PenUp

Lifts the pen.

Turtle.PenDown

Puts the pen down again.

Turtle.Dot

Paints a dot at the current position with a given diameter.

Turtle.SetColor

Sets the current color for fills or lines. Valid colors are listed here https://www.w3schools.com/tags/ref_colornames.asp

Turtle.SetPenWidth

Sets the current line width.

Turtle.BeginFill

Call this Function to start filling a polygon.

Turtle.EndFill

Call this Function to end to filling.

Turtle.Print

Prints the given number of text on the console.

Turtle.InputDouble

Asks the user to input a double number.

Turtle.InputFloat

Asks the user to input a float number.

Turtle.InputInt

Asks the user to input a int number.

Turtle.InputLong

Asks the user to input a long number.

Turtle.InputString

Asks the user to input a string value.

Dependencies

  • .Net Standard 2.0
  • Avalonia
  • Avalonia.Desktop
  • Avalonia.Themes.Fluent
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 81 11/5/2024
1.0.0 79 10/22/2024
0.9.0 94 10/19/2024

Initial Version