You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
draft |
title |
aliases |
series |
date |
author |
cover |
keywords |
description |
showFullContent |
tags |
true |
1D Automata and You |
|
|
2024-04-11 |
Nick Dumas |
|
|
|
false |
golang |
automata |
procedural-generation |
|
What I assume you know
What am I Doing?
Why does it work?
Why doesn't it work?
What are the options?
I picked X
I implemented X
Success Story???
Raw notes
Modular Cartesian Coordinates
Given \text{width} = 10 \text{ and height}=1, \text{0-indexed}
:
X_\text{original} |
Y_\text{original} |
X_\text{wrapped} |
Y_\text{wrapped} |
|
Top Left |
0 |
0 |
0 |
0 |
Top |
-1 |
1 |
9 |
0 |
Top Right |
1 |
1 |
1 |
0 |
Left |
-1 |
0 |
9 |
0 |
Identity |
0 |
0 |
0 |
0 |
Right |
1 |
0 |
1 |
0 |
Bottom Left |
-1 |
-1 |
9 |
0 |
Bottom |
0 |
-1 |
0 |
0 |
Bottom Right |
1 |
-1 |
1 |
0 |