Log In  
Log In  

@TheV360

Follow
Follow

I like programming in SmileBASIC, Python, and PICO-8.

Cart [#v360voxchaosgame-3#] | 2018-12-20 | License: CC4-BY-NC-SA | Embed
1

Here's my chaos game sim I showed off over on Twitter yesterday!
EDIT: Fixed a bug with 2 edges, and also fixed some rounding issues.

Also, here's how to control this:

While viewing chaos:

  • Z will open the menu.
  • X will change rotate modes, but only if you have a finite amount of points.

While in menu:

  • Left and Right will edit the current value.
  • Up and Down will move your cursor.
  • Z will close the menu.

Rotate modes go like this:

  • Don't rotate
  • Do rotate
  • Do rotate, but you can control it with Left and Right.

EDIT 2: Added step option, which lets you run the chaos game faster.
EDIT 3: Added some more polish, including a tooltip to tell you about the menu.

Old versions (not sure why you need them, but)

Cart [#v360voxchaosgame-0#] | 2018-12-16 | License: CC4-BY-NC-SA | Embed
1
Cart [#v360voxchaosgame-1#] | 2018-12-16 | License: CC4-BY-NC-SA | Embed
1
Cart [#v360voxchaosgame-2#] | 2018-12-20 | License: CC4-BY-NC-SA | Embed
1

P#60020 2018-12-16 02:15 ( Edited 2018-12-20 21:11)

Somehow, box causes extreme lag. To reproduce, just add this code:

box(0, 0, 0, 127, 127, 63, 7)

I don't want to kill people's browsers, but here's a cart. Play at your own risk.

Cart [#laggybox-1#] | 2018-12-13 | License: CC4-BY-NC-SA | Embed

Edit: Updated with some stuff that better demonstrates how big the lag spike is. Press z to lag. Sorry for these frequent edits.

P#59976 2018-12-13 21:38 ( Edited 2018-12-13 21:47)

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-04-22 03:08 | 0.074s | 2097k | Q:58