seq page 20 - Dave's Blog

Search
My timeline on Mastodon

Desert Botanical Garden Cactus

2008 Jun 1, 11:46

sequelguy posted a photo:

Desert Botanical Garden Cactus

PermalinkCommentsarizona cactus nature scottsdale desertbotanicalgarden

Desert Botanical Garden Display

2008 Jun 1, 11:44

sequelguy posted a photo:

Desert Botanical Garden Display

PermalinkCommentsarizona cactus nature scottsdale desertbotanicalgarden

Desert Botanical Garden Tree Shedding

2008 Jun 1, 11:41

sequelguy posted a photo:

Desert Botanical Garden Tree Shedding

PermalinkCommentsarizona tree nature scottsdale desertbotanicalgarden

Desert Botanical Garden Cactus

2008 Jun 1, 11:40

sequelguy posted a photo:

Desert Botanical Garden Cactus

PermalinkCommentsarizona cactus nature scottsdale desertbotanicalgarden

Desert Botanical Garden Sun Dial

2008 Jun 1, 11:39

sequelguy posted a photo:

Desert Botanical Garden Sun Dial

PermalinkCommentsarizona nature sundial scottsdale desertbotanicalgarden

Desert Botanical Garden Artichoke

2008 Jun 1, 11:39

sequelguy posted a photo:

Desert Botanical Garden Artichoke

PermalinkCommentsarizona nature scottsdale artichoke desertbotanicalgarden

Desert Botanical Garden Statue

2008 Jun 1, 11:38

sequelguy posted a photo:

Desert Botanical Garden Statue

PermalinkCommentsarizona art nature statue scottsdale desertbotanicalgarden

Desert Botanical Garden

2008 Jun 1, 11:37

sequelguy posted a photo:

Desert Botanical Garden

PermalinkCommentsarizona me nature scottsdale desertbotanicalgarden

Desert Botanical Garden Cactus

2008 Jun 1, 11:29

sequelguy posted a photo:

Desert Botanical Garden Cactus

PermalinkCommentsarizona cactus nature scottsdale desertbotanicalgarden

Generating N-D Tetris Pieces

2008 Jun 1, 7:27

When I woke up this morning for some reason I was thinking about Polytope Tetris, my N-D Tetris game, and specifically generating Tetris pieces in various number of dimensions. When I first wrote PTT I thought that as the number of dimensions increased you could end up with an infinite number of non-equivalent crazy Tetris pieces. However this morning I realized that because you only get four blocks per piece there are only a possible three joints in a single Tetris piece which means that you only need three dimensions to represent all possible distinct N-D Tetris pieces.

Below is the table of the various possible pieces per number of dimensions and sorted by the number of joints in the piece. Notice that the 'J' and 'L' become equivalent in 3D because you can rotate the 'J' through the third dimension to make it an 'L'. The same happens for 'S' and 'Z' in 3D, and 'S+' and 'Z+' in 4D.

Joints Name 1D 2D 3D +
1 I I I I I
2 J J J J
L L
3 O O O O
T T T T
S S S S
Z Z
T+ T+ T+
S+ S+ S+
Z+ Z+
Total 1 7 8 7

As a consequence of not realizing there's a finite and small number of N-D Tetris pieces, I wrote code that would randomly generate pieces for a specified number of dimensions by wandering through Tetris space. This consists of first marking the current spot, then randomly picking a direction (a dimension and either forward or backward), going in that direction until hitting a previously unvisited spot and repeating until four spots are marked, forming a Tetris piece. However this morning I realized that continuing in the same direction until reaching am unvisited spot means I can't generate the 'T+' piece. I think the better way to go is keep the list of all possible pieces, pick one randomly, and rotate it randomly through the available dimensions. Doing this will also allow me to give distinct pieces their own specific color (like the classic Tetris games do) rather than picking the color randomly like I do now.

PermalinkCommentspolytope tetris tetris

Frank Lloyd Wright Student Sculpture

2008 Jun 1, 11:42

sequelguy posted a photo:

Frank Lloyd Wright Student Sculpture

PermalinkCommentsarizona franklloydwright scottsdale

Entry to Taliesin West

2008 Jun 1, 11:42

sequelguy posted a photo:

Entry to Taliesin West

PermalinkCommentsarizona franklloydwright taliesinwest scottsdale

Art at Taliesin West

2008 Jun 1, 11:41

sequelguy posted a photo:

Art at Taliesin West

PermalinkCommentsarizona art franklloydwright taliesinwest scottsdale

Art at Taliesin West

2008 Jun 1, 11:40

sequelguy posted a photo:

Art at Taliesin West

PermalinkCommentsarizona art franklloydwright taliesinwest scottsdale

Dragon Head

2008 Jun 1, 11:39

sequelguy posted a photo:

Dragon Head

This dragon head sculpture actually breathes fire at night. Note the burnt brush around the head.

PermalinkCommentsarizona art franklloydwright taliesinwest scottsdale dragonhead

Garden in Taliesin West

2008 Jun 1, 11:39

sequelguy posted a photo:

Garden in Taliesin West

PermalinkCommentsarizona me franklloydwright taliesinwest scottsdale

FLW Designed Chair

2008 Jun 1, 11:38

sequelguy posted a photo:

FLW Designed Chair

Apparently Frank Lloyd Wright designed this chair.

PermalinkCommentsart franklloydwright taliesinwest scottsdale arizonachair

Sarah Pensive in Expensive Chair

2008 Jun 1, 11:38

sequelguy posted a photo:

Sarah Pensive in Expensive Chair

PermalinkCommentsarizona sarah franklloydwright taliesinwest scottsdale

Study in Taliesin West

2008 Jun 1, 11:37

sequelguy posted a photo:

Study in Taliesin West

PermalinkCommentsarizona franklloydwright taliesinwest scottsdale

Outer Hall at Taliesin West

2008 Jun 1, 11:37

sequelguy posted a photo:

Outer Hall at Taliesin West

PermalinkCommentsarizona franklloydwright taliesinwest scottsdale
Older EntriesNewer Entries Creative Commons License Some rights reserved.