Coder Social home page Coder Social logo

catseye / chzrxl Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 17 KB

MIRROR of https://codeberg.org/catseye/Chzrxl : "Chzrxl, the Living Inkblot." Or is it some sort of self-attracting lava lamp?

Home Page: https://catseye.tc/installation/Chzrxl

License: The Unlicense

JavaScript 100.00%
dynamic-system dynamical-systems self-attractor gewgaw pixi-js

chzrxl's Introduction

Chzrxl

Try it online @ catseye.tc | See also: Cyclobots โˆ˜ noit o' mnain worb

"Chzrxl, the Living Inkblot." Or is it some sort of self-attracting lava lamp?

screenshot

This is the reference distribution for Chzrxl, a dynamical system fluid automaton thing devised by Chris Pressey in 2013. It consists of a set of blobs where each blob sways back and forth between two points โ€” the midpoints of two pairs of other blobs. Of course, since those four blobs are also moving, their midpoints move too, and the result can be quite complex and chaotic. In fact, in order to prevent all the blobs from converging to a common point, a certain number of the blobs (say, 5% of them) are typically held fixed while the others move around them.

You can watch it online here: Chzrxl installation at catseye.tc.

To run it locally, clone this repository and open demo/chzrxl.html in a web browser such as Firefox. (Note that, if opened as a local file, the browser may fall back to canvas rendering; to ensure that WebGL is used, you can start a local server, but to be frank it doesn't seem to make much difference at this stage.)

The core behaviour is implemented in src/chzrxl.js and does not rely on PixiJS or any other display layer.

The PixiJS driver and visuals are defined in demo/chzrxl-pixi-launcher.js.

History

The first implementation of Chzrxl was in Javascript, in 2013, and this implementation (which we can call version 1.0) can be found in the HTML5 Gewgaws distribution.

In 2019, this Javascript implementation was cleaned up and re-fitted to use PixiJS, and that is the version in this repository (which we will call version 1.1 or later). Since PixiJS uses WebGL when possible, this version has the potential to have much nicer visuals than the previous versions; however, it is still a work-in-progress in this regard.

chzrxl's People

Contributors

cpressey avatar

Stargazers

 avatar

Watchers

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