GithubHelp home page GithubHelp logo

dgudim / attractorsimulator Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 272 KB

A simple 2d and 3d chaos attractor visualiser written in java and libGDX

Java 99.71% GLSL 0.29%
chaos-theory chaotic-attractors chaotic-systems java libgdx visual strange-attractors

attractorsimulator's Introduction

AttractorSimulator

A simple 2d and 3d chaos attractor visualiser written in java and libGDX

Features

  • A lot of different attractors
    • 2D
      • De Jong
      • Svensson
      • Clifford
      • Boo
      • Ghost
      • Product
      • Popcord
      • 12 variable polynomial
    • 3D
      • Three-Scroll Unified
      • Halvorsen
      • Lorenz
      • Aizawa
  • A variety of different color palettes
  • Extensible through json configs
  • 19 presets to play with
  • Word to attractor converter, visualize your name!
"PRODUCT": {
  "displayName": "Product",
  "rules": [
    "3.1415926 * sin(a0*y) * cos(a1*x)",
    "3.1415926 * sin(a2*x) * cos(a3*y)"
  ],
  "variableCount": 4,
  "defaultVariables": [5.13, 1.3, 3.0, 2.61],
  "variableLimits": [-7, 7],
  "useZInTextInterpretation": true,
  "dimensions": [-3.1415918, -3.1415918, 3.1415918, 3.1415918],
  "contrast": 0.89
},

Installation

Clone this repository and import into Android Studio or Intellij Idea

https://github.com/dgudim/AttractorSimulator

Currently, there is no ui to switch between 2D and 3D attractors, so to do so, you will need to change one method in
./core/src/com/deo/attractor/Launcher.java
specifically, this one

public void create() {
  this.setScreen(new SimulationScreen2D());
}

change it to SimulationScreen3D to play with 3D attractors, i was too lazy to make a ui

Here is an example of what is possible with this software

attractorsimulator's People

Contributors

dgudim avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

rgross01 hetchell

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.