Login
Discover
Waves
Decks
Upgrade
Login
Signup
Topics
New
Trending
Hot
New
New
Trending
Hot
New
Controversial
Rising
Promoted
soffit
markgritter
soffit
Saturday, November 24, 2018 5:40 AM
Worst-case matching in Soffit
Testing with Hypothesis turned up some matches in Soffit that took a long time to run. Some optimization of constraint checking got the runtime down from 600ms to about 400ms, but now I'm kind of stuck.
$ 0.983
170
2
markgritter
puzzle
Friday, November 23, 2018 8:18 AM
Prototyping a math puzzle with Soffit
Can 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 following
$ 0.217
17
2
markgritter
programming
Friday, November 23, 2018 6:26 AM
Testing Graph Rewritting with Hypothesis
I've continued work on Soffit, but more slowly in the past couple weeks. My focus had been getting better testing covering using Hypothesis. My first attempt was to generate graphs by their edges, like
$ 1.117
214
1
markgritter
procjam
Saturday, November 10, 2018 11:32 PM
Implementing 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 grammar
$ 0.180
13
1
1
skiptvads
Movies & TV Shows
Thursday, August 7, 2025 5:47 PM
Promoted
28 Days Later (2002) - Fast Zombies and Digital Cameras - REVIEW
Source After watching the most recent sequel, 28 Years Latter (2025), I had to watch the movie that started everything for this franchise back in the day 28 Days Later (2002), one of those movies that
$ 5.224
158
4
markgritter
programming
Saturday, November 10, 2018 8:15 AM
Optimizing python-constraint with forward checking
For Soffit I implemented a few Constraint objects with the python-constraint library. These objects represent a particular restriction on the solution, and they can prune the search space either ahead
$ 0.217
22
1
1
markgritter
procjam
Wednesday, November 7, 2018 5:49 AM
Visual representation of graph grammar
A 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 as a HTML
$ 0.127
10
3
1
markgritter
procjam
Tuesday, November 6, 2018 8:25 AM
1-d cellular automaton in a graph grammar
This 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 grammar in
$ 0.481
27
2
1
markgritter
programming
Tuesday, November 6, 2018 6:31 AM
Controlling graph grammar expansion with a countdown
Let'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 iterations, but
$ 0.203
11
1
1
blanchy
hive
Friday, August 1, 2025 11:26 PM
Promoted
Valueplan 2025 so far Part II The Full List
Valueplan 2025 so far
$ 12.632
137
21
3
markgritter
procjam
Sunday, November 4, 2018 5:45 AM
A complicated Soffit example
Suppose 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
$ 0.120
10
2
1
homesteaddad
pool
Thursday, June 15, 2017 6:17 PM
I'm a Little Crazy
There's something in my soffit, and this pool is starting to drive me nuts.
$ 2.540
3
Top communities
Create decentralized community