Navigation


Javascript Tarot

The source is available here (601K) Note: this file only includes the default images.

I could not begin to tell you why I created this, but it is a nice bit of programming and I am more than a little proud of it. But credit where credit is due, I took an idea (css-based cards and Javascript Object decks and cards) from Mike Hall of Brainjar and ran with it.

This is 100% OOP Javascript no callbacks to a server*. There are three objects, a Reading Object, a Stack object and a card object. Each of these are combined to make a reading. The spreads and interpretations are easy to do and can be customized.

This is based on the classic Rider-Waite style of tarot, but can be easily modified to handle just about any type of deck/layout divination system (see the Egyptian Cartouche system in v1.1). Have fun, and let me know if you like it!

* Okay I did add an Ajax callback to determine if a file exists, but it does not have a server component, it uses the HEAD function to see if it receives a 200 response from the server. I'm still within my 'browser-only' rule.

Standard Decks: Default Deck (Playing Cards+ R-W Arcana), Golden Dawn, X-Tarot, Bota Tarot

Loading

Version History

Version 1.1 (18Mb)
Version 1.0 (326k)