Code Monkey home page Code Monkey logo

kozzionart's Introduction

KozzionArt

This repro contains some delightful computer art. Currently most of it is javascript. Which is a terrible language but gives results really quickly.

Particle simulators

Magnetic Field Curls

The guys at CERN sure make some pretty pictures. We can also run some simulations with made up particles. Be warned that rendering can be slow especially for older links

(http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_0_0.html) (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_0_1.html) (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_0_2.html) (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_0_3.html) (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_0_4.html) (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_0_5.html)

Factal attractors

These projects are inspired by a systems phenomenen called a an attractor state. This is a state towards which proceses in that state tend to converge. While usually attractors are boring lines or circles sometimes they have a chaotic or fractal properties.

Random homing points

Given n points in a 2d grid we can choose a random op these points to move towards. Varryinging the points and the some of the other parameters these we get some wildly different attractors. (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_1_0.html)

Random matrix transform

Given a point at [0,0,1] applying random matrix transfomation can make intresting patterns. Barnsley fern is the most famous of these but really every collection of 3by3 matrixes with norms smaller than 1 works.

(http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_2_0.html)

We can also randomize these matrixes so we get the entire space of shapes (press start and reset a bunch of times)

(http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_2_1.html)

Logistic map

Given equation x_n+1 = rx_n(1- x_n) results in a fractal attractor

(http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_4_0.html) (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_4_1.html) If we zoom and change the sampling and transform som of the axis: (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_4_2.html)

N-Body equations

Gravitational attraction with more than 2 bodies can also result in chaotic systems. Using a runge kutta method some of the smaller systems are quite eazy to simulate. These two are not that intresting yet a singele attracting point and other orbiting it. (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_5_0.html) (http://htmlpreview.github.io/?https://github.com/kozzion/KozzionArt/blob/master/JavaScript/java_script_art_5_1.html)

Sandpiles

Inspired by a numberphile videos on sandpile i wrote some javascrip code to render some awesome ones.

Acknowledgement

Although most of the work is my own I could not have done is without my nerdy friends: Stijn Arnold, Ward van Hoof, Hugo Cox, Bas Hickendorf

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.