cwl157 / FunSharp

Fun cross-platform graphics library, based on the Small Basic library, made specifically for F# and C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FunSharp

Fun cross-platform graphics library, based on Small Basic's library, made specifically for F# and C#.

Deployment

FunSharp runs on Raspbian, Linux and Windows.

Dependencies

FunSharp uses Mono's Xwt and Gtk# libraries. On Windows you will need to install Gtk# for .Net

Building

  • Appveyor: Build status
  • Travis: Build Status

Example

open Library

GraphicsWindow.PenColor <- Colors.Purple
Turtle.X <- 150.
Turtle.Y <- 150.
for i in 0..5..200 do
   Turtle.Move(i)
   Turtle.Turn(90)

Alt text

Games

Alt text

Alt text

Alt text

Contributing

Contributions are welcome, particularly new examples, bug fixes and filling out the API via the up-for-grabs issues.

Up-for-grabs

  • implement Shapes.Animate(x,y,duration)
  • implement Controls.AddMultilineTextBox(left,top)

About

Fun cross-platform graphics library, based on the Small Basic library, made specifically for F# and C#.

License:Apache License 2.0


Languages

Language:F# 100.0%