Giter VIP home page Giter VIP logo

chaos-game's Introduction

Chaos Game

Overview

The Chaos Game is a project designed to visualize the beauty of chaotic systems in computer graphics. This concept is inspired by the Chaos Game on Wikipedia, and it is part of my coursework for CS2337.501.

Usage

The user will be prompted to enter various parameters for the experiments, such as grid size, polygon sides, iteration count, and more. Then it will allow to create a ppm file based in the data collected after running the chaotical algorithm.

Experiments

  1. Simple Polygon
  2. Time Taken to Reach a Point
  3. Distance to Center
  4. Tracing Path

Experiment Images

I provided from sample experiments, but the program was designed to experiment with the parameters to create experiments. Each image's name provides information about the polygon used, whether vertices are repeated, the type of experiment, the percentage used for displacement, and the number of iterations. Some information might be excluded if not relevant to the experiment.

Heptagon Experiments

  • Heptagon No-Repeat Distance 50% 100k Heptagon No-Repeat Distance 50% 100k
    • Polygon: Heptagon
    • Repeats Vertices: No
    • Experiment: Distance to Center
    • Displacement: 50%
    • Iterations: 100k

Pentagon Experiments

  • Pentagon No-Repeat Distance 60% 100k Pentagon No-Repeat Distance 60% 100k

    • Polygon: Pentagon
    • Repeats Vertices: No
    • Experiment: Distance to Center
    • Displacement: 60%
    • Iterations: 100k
  • Pentagon No-Repeat Time 100k Pentagon No-Repeat Time 100k

    • Polygon: Pentagon
    • Repeats Vertices: No
    • Experiment: Time Taken to Reach a Point
    • Iterations: 100k

Square Experiments

  • Square Simple 100k Square Simple 100k

    • Polygon: Square
    • Repeats Vertices: Yes
    • Experiment: Simple (Assuming simple is an experiment type)
    • Iterations: 100k
  • Square Trace 1k Square Trace 1k

    • Polygon: Square
    • Repeats Vertices: Yes
    • Experiment: Tracing Path
    • Iterations: 1k
  • Square Time 66 1M Square Time 66 1M

    • Polygon: Square
    • Repeats Vertices: Yes
    • Experiment: Time Taken to Reach a Point
    • Displacement: 66%
    • Iterations: 1M

Triangle Experiments

  • Triangle Distance 50% 100k Triangle Distance 50% 100k

    • Polygon: Triangle
    • Repeats Vertices: Yes
    • Experiment: Distance to Center
    • Displacement: 50%
    • Iterations: 100k
  • Triangle Trace 1k Triangle Trace 1k

    • Polygon: Triangle
    • Repeats Vertices: Yes
    • Experiment: Tracing Path
    • Iterations: 1k

chaos-game's People

Contributors

diejor avatar

Stargazers

KucheriyaArnav 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.