Open MichaelPaulukonis opened 9 years ago
I'm taking this month as the goad to finally transform (at least parts of) my C# "TextMunger" project into Javascript. Of sorts. It won't be a monolithic tool. I don't know what it will be.
But, it will be things, or a start of things.
So.
"ShortLines" was a transformation that takes text and chops it off at the knees, only the rest of the body gets to continue on the next line. To mix a bad metaphor.
https://github.com/MichaelPaulukonis/NaPoGenMo2015/blob/master/transformers/shortlines.js
and some output (yaaay, TimeCube!):
https://gist.github.com/MichaelPaulukonis/8db3447f6335d0e7ac91
If you added spurious whitespace to the middle of lines, you could make an e e cummings generator.
On Mon, Apr 6, 2015 at 3:37 PM Michael Paulukonis notifications@github.com wrote:
I'm taking this month as the goad to finally transform (at least parts of) my C# "TextMunger" project into Javascript. Of sorts. It won't be a monolithic tool. I don't know what it will be.
But, it will be things, or a start of things.
So.
"ShortLines" was a transformation that takes text and chops it off at the knees, only the rest of the body gets to continue on the next line. To mix a bad metaphor.
https://github.com/MichaelPaulukonis/NaPoGenMo2015/blob/master/transformers/shortlines.js
and some output (yaaay, TimeCube!):
https://gist.github.com/MichaelPaulukonis/8db3447f6335d0e7ac91
— Reply to this email directly or view it on GitHub https://github.com/NaPoGenMo/NaPoGenMo2015/issues/2#issuecomment-90210591 .
There are more transformations to come. But in the middle of lines I had not specifically thought of before; I was more thinking along the lines of Lawrence Ferlenghetti at the time (A Coney Island of the Mind was the first collection of poetry that I consciously recall reading and thinking of as poetry; nursery-rhymes aside).
heijinian implemented, and shortlines and initial spaces reworked along a pipeline model from @cpressey
Let's do this thing.
I'm playing with some code over @ https://github.com/MichaelPaulukonis/NaPoGenMo2015
An output (so far) is at http://www.xradiograph.com/PrantedMutter/Howled