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.
45 lines
884 B
Markdown
45 lines
884 B
Markdown
5 months ago
|
---
|
||
|
draft: true
|
||
|
title: "1D Automata and You"
|
||
|
aliases: ["1D Automata and You"]
|
||
|
series: ["automata-and-art"]
|
||
|
date: "2024-04-11"
|
||
|
author: "Nick Dumas"
|
||
|
cover: ""
|
||
|
keywords: ["", ""]
|
||
|
description: ""
|
||
|
showFullContent: false
|
||
|
tags:
|
||
|
- 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
|
||
|
|
||
|
|