Skip to content

pmneila/trip-let

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trip-let

A simple command-line application to build Trip-lets.

Trip-let

A trip-let is a three-dimensional solid that, when projected along three perpendicular axes, produces three letters of the alphabet (or, in general, any other shape). They were popularized in the famous Hofstadter's book Gödel, Escher, Bach: An Eternal Golden Braid.

This application produces a trip-let given its three projections.

Examples

BEG

trip-let -x data/B.png -y data/E.png -z data/G.png -o BEG.obj --find-best-transform

trip-let

Cork Plug (aka trisquarcle)
trip-let -x data/square.png -y data/circle.png -z data/triangle.png -o trisquarcle.obj --find-best-transform

Trisquarcle

Installation

# Clone the repository
git clone https://github.com/pmneila/trip-let.git

# Install requirements (PyMCubes)
cd trip-let
pip install -r requirements.txt

# Install trip-let
python setup.py install

Uninstall with

pip uninstall trip-let

TO DO

Still many things to polish:

  • Proper handling and error checking of sizes of input images

  • Add the option of saving reprojection errors for debugging

  • Add help strings for the arguments of argparse

  • Write a brief manual

  • A GUI?

About

A simple application to build Trip-lets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages