End of Summer Fun with FunSharp

Discussion in 'Live RSS Feeds' started by News, Sep 9, 2015.

  1. News

    News Extraordinary Robot
    News Feed

    Joined:
    Jun 27, 2006
    Messages:
    26,215
    Likes Received:
    20
    With summer coming to an end it's not too early to start queuing up projects for the kids, young and old, for Thanksgiving and Winter break. :)

    Phillip Trelford recently released a cool new library that is meant to help speed and simplify creating graphic apps and games. a library that is just trying to make it fun...

    Introducing FunSharp


    FunSharp is a new cross-platform open source graphics library, based on Small Basic’s library, with a typed API crafted for the sharp languages, F# and C#.

    Drawing graphics is quick and easy:

    GraphicsWindow.FillEllipse(10,10,300,300)

    And when you ask FunSharp to draw graphics it will just go and open a window to view it for you:

    ...

    FunSharp provides similar functionality to Python’s PyGame, used for developing games, and Processing used for visual art.

    You can call FunSharp immediately from the F# REPL or build full-blown applications using F# and C#.

    It’s an ideal library for beginners or anyone who just wants to get stuff on the screen quickly.

    With this in mind FunSharp works seamlessly on Raspberry Pi, Linux and Windows.

    Getting Started

    If you haven’t already, you’ll need to install F# on your machine, follow these instructions:

    • Linux (for Raspbian follow the Debian instructions)
    • Windows (install Xamarin Studio or Visual Studio)

    Get the FunSharp source from GitHub using Clone or Download Zip, then load the FunSharp solution into MonoDevelop or Visual Studio and starting playing with the samples.

    Notes:

    • FunSharp is built on Mono’s cross platform graphics libraries Xwt and Gtk# libraries which must be referenced.
    • currently apps must run in 32-bit mode.

    Turtles

    FunSharp has a Turtle module, which can be used to make fun shapes:

    ...

    Games

    FunSharp can be used to make games quickly and easily. I’ve ported several games written for Small Basic requiring only minor modifications:

    [​IMG]

    [Click through to read the entire post]
    ptrelford/FunSharp

    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


    ...

    [​IMG]

    Follow @CH9
    Follow @coding4fun
    Follow @gduncan411

    [​IMG]

    Continue reading...
     

Share This Page

Loading...