Sitelen Sitelen Renderer
head of your web page.
HTML elements with the
data-sitelen attribute are parsed and rendered into toki pona if possible, with the
data-sitelen-ratio attribute you can inidcate your preferred height-to-width ratio of the rendered sitelen sitelen.
<section data-sitelen data-sitelen-ratio="1"> ale li jo e tenpo. ale li pona. </section>
I created Sitelen Sitelen Renderer because I am fascinated by combining the artifical language Toki Pona with the non-linear writing style 'Sitelen Sitelen' by Jonathan Gabel. Unlike other work with Sitelen Sitelen I want the writings to be generated by the computer. My first attempt was in the beginning of 2015 when I experimented with CSS Flexbox using SVG for the Glyphs. The algorithm was limited and doomed so in October 2015 I started anew, and set out to create SVG-only sitelen sitelen that can be exported and reused. This is still a hobby project that I work on in my spare time.
Install sitelen-sitelen-renderer into your web project with bower:
$ bower install sitelen-sitelen-renderer
- Live and interactive input of Toki Pona sentence
- Overview of Toki Pona proverbs from Sonja's book
- Layout engine to optimally fill a page with Sitelen Sitelen (experimental phase)
- Meme generator for sharing Sitelen Sitelen sentences (not fully functional)
- e-Pub generator (not far enough to share)
This live sitelen sitelen web project is made possible by the great work done work before me.
Toki Pona is an artificial language invented in 2001 by Sonja Lang as an attempt to understand the meaning of life in 120 words. In my own search, I am convinced this language should not be used to translate large bodies of text or as an actual means of communication but as a personal tool for soul searching.
Sitelen Sitelen or Sitelen Suwi is a project created by Jonathan Gabel in 2012 who created a non-linear writing style for Toki Pona inspired by Mayan script. I try to keep the algorithm behind the Sitelen Sitelen Renderer in the spirit of Jonathan's project and allow for the different ways of drawing the sitelen sitelen.
The vectorized glyphs are based on the excellent work by jan Same. To make my SVGs scalable I sadly had to get rid of the non-uniform stroke widths. Also I have slightly different ideas about how to use the containers so I took the liberty of slightly altering some glyphs.
Mind that this project is far from complete: many language constructs are not implemented yet. If you want to contribute in any way, you can for instance file issues you find or come up with clever new ways to put sitelen sitelen into action.
MIT (c) Olaf Janssen