New: procjamAll contenthive-129948krhive-196917steemzzanhive-183959hive-166405hive-185836uncommonlabhive-180932hive-150122hive-183397hive-101145hive-144064photographybitcoinlifehive-188619hive-193637hive-124908hive-139150hive-163341hive-184714krsuccesshive-103599TrendingNewHotLikersmarkgritter (59)in puzzle • 6 years agoPrototyping a math puzzle with SoffitCan you find a path in the following graph that sums to 100? When you follow a blue edge, you add the number, and when you follow a red edge, you must subtract the number. So, starting at 13 and…markgritter (59)in procjam • 6 years agoImplementing the example graph grammar from "Procedural Generation in Game Design"Dr. Joris Dormans wrote a chapter in "Procedural Generation in Game Design" (Tanya X. Short and Tarn Adams, editors) about cyclic generation, and he included this short example of a graph…markgritter (59)in procjam • 6 years agoVisual representation of graph grammarA lot of the existing packages for graph grammars seem to have GUIs for writing rules, and in some of them that seems to be your only option. Tonight I prototyped a way to export a graph grammar…markgritter (59)in procjam • 6 years ago1-d cellular automaton in a graph grammarThis is the first example I tried that really pushed my engine hard. It would be better broken up into multiple grammars, I think. I wanted to run Rule 30 , a 1-d cellular automata, as a graph…markgritter (59)in programming • 6 years agoControlling graph grammar expansion with a countdownLet's create a graph grammar with Soffit that generates a fixed-sized binary tree. How do we tell a graph grammar when to stop working? One option is to only run it for a fixed number of…markgritter (59)in procjam • 6 years agoA complicated Soffit exampleSuppose we want to create a graph grammar that makes rectangular grids. A first cut at it would be something like "expand outwards from any edge that hasn't already been used", something like…markgritter (59)in procjam • 6 years agoFirst real Soffit examplesI've gotten Soffit to the point where it can now produce interesting graphs, like this one: full size The rule set that produces this graph is: {markgritter (59)in programming • 6 years agoGraph rewrite examples, generated by SoffitI started at doc/examples directory for the soffit project, and my first two examples are there . Unfortunately, only one of them looks any good. The way I finally convinced graphviz to…markgritter (59)in procjam • 6 years agographviz clusters suckThe #1 question about graphviz seems to be "why can't I get it to lay out my clusters in the way I want", judging from the number of StackOverflow questions I see. I wrote some code in Soffit to…markgritter (59)in procjam • 6 years agoSoffit progress report #5My library finally performed a graph rewrite today! Still a ways from a "launch" version, but the core of the engine works, at least in a simple case. Repository: As of this commit I have…markgritter (59)in programming • 6 years agoHooray for unit testsGithub repo: I completely replaced or-tools with python-constraint , a pure-Python constraint solver. What effect this will have on my ability to handle large graphs I don't know. I had…markgritter (59)in procjam • 6 years agoSoffit non-progress report #3I finally figured out (I think) how to encode the "dangling condition" for graph rewriting into or-tools, but then it started crashing on me with some regularity. I created a pull request: to…markgritter (59)in programming • 6 years agoSoffit progress report #2Github repository: Previous entry: "My #Procjam Project: Soffit" I was supposed to go out and have fun this weekend; instead I both got sick and handled two customer escalations. But I made a…markgritter (59)in programming • 6 years agoMy #procjam project: SoffitAs usual, my #procjam project is way too ambitious for what I can actually get done in a work week, particularly one where I'm out at headquarters in California. I'm trying to build a graph…markgritter (59)in procjam • 6 years agoThinkpiecebot's Thinkiest PiecesNora Reed has developed tons of popular Twitter bots. Their works include infinite_scream, breathebot_10, hydratebot, bad_passwords, botblique, NerdGarbageBot, DOTHINGSBOT, and many more.…markgritter (59)in procjam • 6 years agoMagic Realism Bot's most magical tweetsThis week is ProcJam 2018: "Make something that makes something"! I've been doing this series of articles on Twitter bots (using the #procjam tag), and saved one of the biggest hitters for this…markgritter (59)in procjam • 6 years agoLSystemBot's Most Popular Figures@LSystemBot is a Twitter bot that generates random L-Systems and plots the result. (Somebody at #roguelikecel told me about this bot, but unfortunately I forget who!) An L-System is a…markgritter (59)in procjam • 6 years agopico8bot's greatest animations@pico8bot is a Twitter bot that generates a random mathematical formula, then plots it using the Pico-8 graphics palette . The Pico-8 is a "fantasy" virtual video game console with a 128x128…markgritter (59)in procjam • 6 years agoThree Bots from Kate ComptonToday's review features three Twitter bots by Kate Compton ( @galaxykate on Twitter), who is the author of Tracery , the framework that powers the three bots today and others I've talked…markgritter (59)in procjam • 6 years agoBotaphor's Greatest Similies@botaphor aka "my bot is like a summer's day" is a Twitter bot that makes comparisons. It's written by Mouse Reeve ( @tripofmice on Twitter) and they have made the source code available on…