loren schmidt
@lorenschmidt.bsky.social
i make art, mostly with computers. currently working on an open world RPG with roguelike roots and an experimental bent. cat mom. she / her or they / them.
little guys (nongenderspecific)
November 11, 2025 at 6:51 PM
little guys (nongenderspecific)
but one conceivable reason is that you can have really big holes in holey arrays, so showing the missing elements could make the array hard to read? but surely some indicator would be helpful!
for a concrete edge case, my unicode font sprites are a holey array on purpose and they look like this.
for a concrete edge case, my unicode font sprites are a holey array on purpose and they look like this.
November 11, 2025 at 6:03 PM
but one conceivable reason is that you can have really big holes in holey arrays, so showing the missing elements could make the array hard to read? but surely some indicator would be helpful!
for a concrete edge case, my unicode font sprites are a holey array on purpose and they look like this.
for a concrete edge case, my unicode font sprites are a holey array on purpose and they look like this.
now that i'm testing more extensively in firefox, i am finding it does indeed throw an exception (depending on array particulars) sometimes. this is a few good runs, then an exception.
so probably the solution is to remove holes. unsure if there's any interesting browser specific behavior here.
so probably the solution is to remove holes. unsure if there's any interesting browser specific behavior here.
November 11, 2025 at 5:56 PM
now that i'm testing more extensively in firefox, i am finding it does indeed throw an exception (depending on array particulars) sometimes. this is a few good runs, then an exception.
so probably the solution is to remove holes. unsure if there's any interesting browser specific behavior here.
so probably the solution is to remove holes. unsure if there's any interesting browser specific behavior here.
yes, it is a holey array (on purpose), to clarify!
i have been working along these lines too, and i have some new info. (newer than the other reply thread.)
if i make a holey array of numbers, for-of will do an iteration with an undefined in both firefox and chrome. here is the result.
i have been working along these lines too, and i have some new info. (newer than the other reply thread.)
if i make a holey array of numbers, for-of will do an iteration with an undefined in both firefox and chrome. here is the result.
November 11, 2025 at 5:56 PM
yes, it is a holey array (on purpose), to clarify!
i have been working along these lines too, and i have some new info. (newer than the other reply thread.)
if i make a holey array of numbers, for-of will do an iteration with an undefined in both firefox and chrome. here is the result.
i have been working along these lines too, and i have some new info. (newer than the other reply thread.)
if i make a holey array of numbers, for-of will do an iteration with an undefined in both firefox and chrome. here is the result.
so to clarify: it's a holey array, which firefox seems to sometimes handle fine in a for-of loop. the element 10 is missing here.
i currently have a bizarre test case which for-in iterates over an undefined for a holey array of numbers, but not for this holey object array. but browser specific.
i currently have a bizarre test case which for-in iterates over an undefined for a holey array of numbers, but not for this holey object array. but browser specific.
November 11, 2025 at 5:44 PM
so to clarify: it's a holey array, which firefox seems to sometimes handle fine in a for-of loop. the element 10 is missing here.
i currently have a bizarre test case which for-in iterates over an undefined for a holey array of numbers, but not for this holey object array. but browser specific.
i currently have a bizarre test case which for-in iterates over an undefined for a holey array of numbers, but not for this holey object array. but browser specific.
weird js bug. does anyone know how an undefined is creeping into this iteration over an array with no undefined in it? chrome, windows if it's implementation specific.
i have tested a number of times and it seems not to happen in windows firefox.
i have tested a number of times and it seems not to happen in windows firefox.
November 11, 2025 at 4:53 PM
weird js bug. does anyone know how an undefined is creeping into this iteration over an array with no undefined in it? chrome, windows if it's implementation specific.
i have tested a number of times and it seems not to happen in windows firefox.
i have tested a number of times and it seems not to happen in windows firefox.
how the cave generator i'm working on works!
this uses patches (see rainbows, beginning of each run) with distinct cellular automata assigned to them.
patches which are along edges are given a chance of becoming a wall, which chews up edges and makes it less rectangular.
then it will connect up
this uses patches (see rainbows, beginning of each run) with distinct cellular automata assigned to them.
patches which are along edges are given a chance of becoming a wall, which chews up edges and makes it less rectangular.
then it will connect up
November 11, 2025 at 4:15 PM
how the cave generator i'm working on works!
this uses patches (see rainbows, beginning of each run) with distinct cellular automata assigned to them.
patches which are along edges are given a chance of becoming a wall, which chews up edges and makes it less rectangular.
then it will connect up
this uses patches (see rainbows, beginning of each run) with distinct cellular automata assigned to them.
patches which are along edges are given a chance of becoming a wall, which chews up edges and makes it less rectangular.
then it will connect up
this unicode browser is pretty much working now! i think i need to change to a larger integer format so it will correctly display the higher code points (they are in the game and work in-game, but not in this browser).
p.s. wow i really have drawn a lot of unicode characters at this point.
p.s. wow i really have drawn a lot of unicode characters at this point.
November 10, 2025 at 10:10 PM
this unicode browser is pretty much working now! i think i need to change to a larger integer format so it will correctly display the higher code points (they are in the game and work in-game, but not in this browser).
p.s. wow i really have drawn a lot of unicode characters at this point.
p.s. wow i really have drawn a lot of unicode characters at this point.
three rule cellular cave generation.
November 10, 2025 at 5:51 PM
three rule cellular cave generation.
working on cave CA
November 10, 2025 at 5:49 PM
working on cave CA