Skip to content

Instantly share code, notes, and snippets.

View ctes091x's full-sized avatar

CottonTesseract ctes091x

View GitHub Profile
@ctes091x
ctes091x / Main.cpp
Last active April 20, 2026 05:20
Wolfram's Rule 30 Elementary Cellular Automata implemented in Siv3D
# include <Siv3D.hpp>
void Main(){
std::vector<std::vector<int>> space(600, std::vector<int>(1200, 0));
space[0][600] = 1;
int rule = 110;
for(int t=0; t<599; t++){
for(int i=1; i<1199; i++){
int pattern = (space[t][i - 1] << 2) | (space[t][i] << 1) | (space[t][i + 1]);
space[t+1][i] = (rule >> pattern) & 1;
@ctes091x
ctes091x / brainfuck.eps
Created February 15, 2026 11:14
Brainfuck interpreter implemented in PostScript
%!PS-Adobe-2.0
%%BoundingBox: 0 0 400 300
/Courier findfont 12 scalefont setfont
/plus 43 def
/minus 45 def
/comma 44 def
/period 46 def
/left 60 def
@ctes091x
ctes091x / keybase.md
Created August 12, 2025 05:44
keybase.md

Keybase proof

I hereby claim:

  • I am ctes091x on github.
  • I am ctes091x (https://keybase.io/ctes091x) on keybase.
  • I have a public key ASDynqxtYxG7DnImSxZm_xkOIi1Bvulh2M9EWbgDpiyfMQo

To claim this, I am signing this object: