Code Monkey home page Code Monkey logo

sierpinski-triangle's Introduction


Sierpinski Triangle

Draws a Sierpinski Triangle using a recursive algorithm.
This project was created during my university studies at ANU in 2019 and has been transferred from the ANU GitLab server.
Read the technical report »

Table of Contents
  1. About The Project
  2. Usage
  3. Contact
  4. Acknowledgements

About The Project

Using the functional programming language Haskell I created a program that draws a Sierpinski Triangle using a recursive algorithm. Find the core algorithm in src/Turtle.hs. To find out how the algorithm has been implemented, read the report.

Built With

Usage

Prerequisites

Installation

  1. Clone the repo
    git clone https://github.com/Tim-W-James/Sierpinski-Triangle.git
  2. Navigate into the root directory and run
    cabal build
    cabal run
  3. Follow the local host link to a browser

How to use

Action Effect
T (key) Draw simple triangle
P (key) Draw polygon
S (key) Draw Sierpinski triangle
C (key) Draw 'COMP1100' logo

Contact

Email: [email protected]

Project Link: https://github.com/Tim-W-James/Sierpinski-Triangle

Acknowledgements

  • Australian National University for project skeleton and CodeWorld API implementation

sierpinski-triangle's People

Contributors

hosking avatar lebedka avatar ranaldclouston avatar tim-w-james avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.