home.social

#tracery — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #tracery, aggregated by home.social.

fetched live
  1. I revived a little art bot of mine that makes some pretty circles a few times a day

    Just a nice splash of color every once in a while

    @thirtycircles

    #MastoArt #tracery

  2. I revived a little art bot of mine that makes some pretty circles a few times a day

    Just a nice splash of color every once in a while

    @thirtycircles

    #MastoArt #tracery

  3. #tracery and #botmaker peeps, I have a question
    how do it get it to select two (or more) items from a list with no repeats?
    often, something like:
    "origin":["I like #animal.s# and #animal.s#"]
    "animal":["cat", "dog", "rabbit", "fish", "llama"]
    will come up with "i like cats and cats"
    which is stupid

  4. #tracery and #botmaker peeps, I have a question
    how do it get it to select two (or more) items from a list with no repeats?
    often, something like:
    "origin":["I like #animal.s# and #animal.s#"]
    "animal":["cat", "dog", "rabbit", "fish", "llama"]
    will come up with "i like cats and cats"
    which is stupid

  5. I have made a thing today: a cross-over between #blockly and #tracery !
    Code is available at github.com/loic-fejoz/blockly- but more importantly, you can directly use it in your browser. Follow the README to see an example.
    So many years after discovering @galaxykate , I can build on her ideas. Eventually it may even fly in a satellite!

  6. I have made a thing today: a cross-over between #blockly and #tracery !
    Code is available at github.com/loic-fejoz/blockly- but more importantly, you can directly use it in your browser. Follow the README to see an example.
    So many years after discovering @galaxykate , I can build on her ideas. Eventually it may even fly in a satellite!

  7. @ststitlebot
    The code to generate an inversion title is probably the most complex part of the grammar. #tracery

  8. @ststitlebot
    The code to generate an inversion title is probably the most complex part of the grammar. #tracery

  9. Alicia Guo's talk about algorithmically generated poems at #bangbangcon mentioned Tracery and reminded me of a theoretical computer science puzzle I don't know the answer to yet.

    #Tracery lets you redefine rules and even push/pop rule definitions. This gives it more power than a context-free language -- it's not too hard to come up with example Tracery grammars that violate the pumping lemma for CFLs. But, can it generate any context-sensitive language, and if so what is the reduction? Or is Tracery at an intermediate level between the two levels of the Chomsky hierarchy?

    tracery.io/

  10. Alicia Guo's talk about algorithmically generated poems at #bangbangcon mentioned Tracery and reminded me of a theoretical computer science puzzle I don't know the answer to yet.

    #Tracery lets you redefine rules and even push/pop rule definitions. This gives it more power than a context-free language -- it's not too hard to come up with example Tracery grammars that violate the pumping lemma for CFLs. But, can it generate any context-sensitive language, and if so what is the reduction? Or is Tracery at an intermediate level between the two levels of the Chomsky hierarchy?

    tracery.io/

  11. used my bot and the #tracery editor as a poetry prompt exercise with my friends yesterday :)

  12. used my bot and the #tracery editor as a poetry prompt exercise with my friends yesterday :)

  13. my bot is up!! @smallness is a poetry #bot about the small things 🕯️🌧️🌻

    — built with #tracery !!
    — avatar from the inimitable Anna Laura instagram.com/annalaura_art/ (i will maybe change this)
    — posts every hour on the :52
    — planning to continue observing bot's utterances and tweaking the tracery source

    i hope you enjoy <3

  14. my bot is up!! @smallness is a poetry #bot about the small things 🕯️🌧️🌻

    — built with #tracery !!
    — avatar from the inimitable Anna Laura instagram.com/annalaura_art/ (i will maybe change this)
    — posts every hour on the :52
    — planning to continue observing bot's utterances and tweaking the tracery source

    i hope you enjoy <3

  15. #HowToThing #030 — Procedural, rule-based & stochastic text generation using a custom DSL, parse grammar (via thi.ng/parse) and abstract syntax tree transformation (via thi.ng/defmulti).

    Since it's #NaNoWriMo & #NaNoGenMo [1], I'm closing out this first season of 30 #HowToThing's with a related topic & maybe someone even finds it useful/interesting... 😉🤷‍♂️

    This example is in principle inspired by @galaxykate's oldie & goodie #Tracery, but is using a super simple custom text format instead of JSON to define variables and template text. Variables are expanded recursively and I've also added features like dynamic, indirect pointer-like variable lookups to derive variables based on current values (useful for conditionals & context-specific expansions), hidden assignments, chainable modifiers... I've included 5 different "story" templates (incl. comments) showing various features. Just press "regenerate" to create new random variations...

    Similar to the previous #HowToThing, I'm hoping this example also shows that approaching use cases like this via small domain-specific languages with proper grammar rules, does not require much ceremony and is often more amenable to change during prototyping (and later also more maintainable!) than just regex bashing approaches...

    The parser grammar itself is explained in the thi.ng/parse readme. As usual, the grammar was created/prototyped with the Parser Playground[2], which we developed from scratch during the first thi.ng livestream[3] (2.5h video)...

    Demo (example project #145):
    demo.thi.ng/umbrella/procedura

    Source code:
    github.com/thi-ng/umbrella/tre

    If you have any questions about this topic or the packages used here, please reply in thread or use the discussion forum (or issue tracker):

    github.com/thi-ng/umbrella/dis

    [1] github.com/NaNoGenMo/2023/
    [2] demo.thi.ng/umbrella/parse-pla
    [3] youtube.com/watch?v=mXp92s_VP4

    #ThingUmbrella #NaNoWriMo2023 #NaNoGenMo2023 #ProcGen #Generative #TextGeneration #Ngram #TypeScript #JavaScript #Tutorial

  16. #HowToThing #030 — Procedural, rule-based & stochastic text generation using a custom DSL, parse grammar (via thi.ng/parse) and abstract syntax tree transformation (via thi.ng/defmulti).

    Since it's #NaNoWriMo & #NaNoGenMo [1], I'm closing out this first season of 30 #HowToThing's with a related topic & maybe someone even finds it useful/interesting... 😉🤷‍♂️

    This example is in principle inspired by @galaxykate's oldie & goodie #Tracery, but is using a super simple custom text format instead of JSON to define variables and template text. Variables are expanded recursively and I've also added features like dynamic, indirect pointer-like variable lookups to derive variables based on current values (useful for conditionals & context-specific expansions), hidden assignments, chainable modifiers... I've included 5 different "story" templates (incl. comments) showing various features. Just press "regenerate" to create new random variations...

    Similar to the previous #HowToThing, I'm hoping this example also shows that approaching use cases like this via small domain-specific languages with proper grammar rules, does not require much ceremony and is often more amenable to change during prototyping (and later also more maintainable!) than just regex bashing approaches...

    The parser grammar itself is explained in the thi.ng/parse readme. As usual, the grammar was created/prototyped with the Parser Playground[2], which we developed from scratch during the first thi.ng livestream[3] (2.5h video)...

    Demo (example project #145):
    demo.thi.ng/umbrella/procedura

    Source code:
    github.com/thi-ng/umbrella/tre

    If you have any questions about this topic or the packages used here, please reply in thread or use the discussion forum (or issue tracker):

    github.com/thi-ng/umbrella/dis

    [1] github.com/NaNoGenMo/2023/
    [2] demo.thi.ng/umbrella/parse-pla
    [3] youtube.com/watch?v=mXp92s_VP4

    #ThingUmbrella #NaNoWriMo2023 #NaNoGenMo2023 #ProcGen #Generative #TextGeneration #Ngram #TypeScript #JavaScript #Tutorial

  17. had a burst of inspiration for my bot :') tweaking… dissecting… assembling… playing… on @galaxykate's beautiful #Tracery

    (i had a very simple "#nouns# as art" bot over on Twitter, but wanted to wait to bring it over here until i could think of ways to make it feel more expansive. this is already feeling a lot better :))

  18. had a burst of inspiration for my bot :') tweaking… dissecting… assembling… playing… on @galaxykate's beautiful #Tracery

    (i had a very simple "#nouns# as art" bot over on Twitter, but wanted to wait to bring it over here until i could think of ways to make it feel more expansive. this is already feeling a lot better :))

  19. Progress on #7drl! My intention was to create a #tracery frontend for a traditional #rot.js roguelike, but I ended up abandoning both frameworks for my own code.

  20. Are you interested in making your own creative bots, but feel put off by concepts like "access token", "Python", or "AWS bill"?

    Dip your feet into creative botmaking with Dr Kate Compton's #tracery and CBTS!

    - botwiki.org/bot/?tags=cheapbot
    - botwiki.org/resources/tracery

    #bots #CreativeBots #CreativeCoding