Log In  
Follow
TheV360

I like programming in SmileBASIC, Lua, Rust, and more!

SHOW MORE

Cart #v360voxchaosgame-3 | 2018-12-20 | Embed ▽ | License: CC4-BY-NC-SA
2

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 | Embed ▽ | License: CC4-BY-NC-SA
2
Cart #v360voxchaosgame-1 | 2018-12-16 | Embed ▽ | License: CC4-BY-NC-SA
2
Cart #v360voxchaosgame-2 | 2018-12-20 | Embed ▽ | License: CC4-BY-NC-SA
2

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

SHOW MORE

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 | Embed ▽ | License: CC4-BY-NC-SA

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)

Follow Lexaloffle:          
Generated 2024-03-19 06:08:17 | 0.076s | Q:20