Toroidal Wrap

For scripts to aid with computation or simulation in cellular automata.
Post Reply
ntdsc
Posts: 60
Joined: November 13th, 2017, 1:12 pm

Toroidal Wrap

Post by ntdsc » March 29th, 2018, 4:42 pm

In the lua script, the make-torus.lua, I assume you make a square selection on the screen. What happens to the corner diagonal square? What happens if you take two square selections of toroidal wrap, and connect them with a diagonal line at a corner?

User avatar
dvgrn
Moderator
Posts: 6725
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Toroidal Wrap

Post by dvgrn » March 29th, 2018, 4:50 pm

ntdsc wrote:In the lua script, the make-torus.lua, I assume you make a square selection on the screen. What happens to the corner diagonal square? What happens if you take two square selections of toroidal wrap, and connect them with a diagonal line at a corner?
A rectangular selection, yes.

Once you've made a toroidal universe, every cell has the same topography as every other cell -- i.e., each cell is due north of itself, due south of itself, due east of itself, and due west of itself.

By "corner diagonal square" do you mean a corner of the selection -- say, the top left corner cell? It will become adjacent to the top right corner (and the cell below it), the bottom left corner (and the cell to the right of it), and the bottom right corner.

Is that what you're asking about, or am I misunderstanding the question?

Post Reply