> I've been thinking about using the Tiddlywiki as the basis for a > generic RPG character generator. The idea being that tiddlies are used > to fill in the blanks of an SVG character sheet "template", which can > then be printed.
If I understand correctly, you want to store RPG character *data* as text in tiddlers, and then programmatically combine that data with SVG- based character sheets. For example, you might draw the various 'hit point' data values on top of a diagram of a character (i.e,. arms, legs, torso, head), as well as simply 'filling in blanks' in a pre-determined layout that displays other character attributes. If this is the case, you might find these helpful: http://www.TiddlyTools.com/#RaphaelPlugin http://www.TiddlyTools.com/#InlineJavascriptPlugin RaphaelPlugin encapsulates the RaphaelJS SVG/VML function library within a TW plugin, and InlineJavascriptPlugin allows you to embed and invoke javascript code within tiddler content to create dynamically- generated output. Using these two plugins together, you could write a script that renders a character sheet using SVG path data stored in one tiddler combined with additional character-specific data values from another tiddler that is rendered on top of the path data to create a complete image to be printed. Note: the RaphaelJS library currently use in RaphaelPlugin is somewhat older, but still very effective. You may, nonetheless, want to attempt to update the Plugin code to incorporate the latest release of RaphaelJS. If you do so, please share your results back to me, so I can (eventually) incorporate those changes in a future TiddlyTools distribution. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
