why isn't this an NFT project?
Fishdraw: Procedurally Generated Fish Drawings
51–60 of 91 posts
Re: Fishdraw: Procedurally Generated Fish Drawings
#52Re: Fishdraw: Procedurally Generated Fish Drawings
#53Does anyone have a good list of resources for people who want to get a get baseline on understanding and implementing procedural generation?
Re: Fishdraw: Procedurally Generated Fish Drawings
#54Earlier quoted context omitted.
Hacked kindles work well for this.
Kindles are too small and have no color. I want a large colorful framed picture. E-ink would be awesome but that’s not cheap for color displays and def not for large ones.
Re: Fishdraw: Procedurally Generated Fish Drawings
#55Earlier quoted context omitted.
Won't work: if(checkForSomething()) { let foo = 2; } else { let foo = 3; } console.log(foo); // won't work But: if(checkForSomething()) { var foo = 2; } else { var foo = 3; } console.log(foo); // will work That said, I religiously avoid "var" and just declare the variable beforehand with "let" because there are too many other gotchas with var. Less debugging headaches. And use "const" religiously as well, like C++ pe…
const in C++ is very different than const in JavaScript though. I guess you are well aware of that but I feel like being pedantic. This is allowed in JavaScript: const foo = {bar: 1}; foo.bar = 2;
Re: Fishdraw: Procedurally Generated Fish Drawings
#56Earlier quoted context omitted.
Could you give an example? It seems like any "var" could be replaced with "let" at a different scope.
Won't work: if(checkForSomething()) { let foo = 2; } else { let foo = 3; } console.log(foo); // won't work But: if(checkForSomething()) { var foo = 2; } else { var foo = 3; } console.log(foo); // will work That said, I religiously avoid "var" and just declare the variable beforehand with "let" because there are too many other gotchas with var. Less debugging headaches. And use "const" religiously as well, like C++ pe…
let foo;
if (checkForSomething()) {
foo = 2;
} else {
foo = 3;
}Re: Fishdraw: Procedurally Generated Fish Drawings
#57Love the generated art projects. I just want an art ‘frame’ (display with small computer) that generates new art every so often. Put together a few of the various art ML projects into one product for this.
Re: Fishdraw: Procedurally Generated Fish Drawings
#58Does anyone have a good list of resources for people who want to get a get baseline on understanding and implementing procedural generation?
Re: Fishdraw: Procedurally Generated Fish Drawings
#59Earlier quoted context omitted.
I took a look. I can't really understand it (unless I spend the whole next week on it... which I will probably do). Could someone with more expertise in the topic explain me how it is done (high level overview)?
0) sepect random parameters for body size/shape, fin size/shape, etc. 1) draw fish outline 2) complete rest of the fish
Re: Fishdraw: Procedurally Generated Fish Drawings
#60This is just lovely. But I am also tickled by the nominative determinism of the dots on the fish being generated using Poisson Disk sampling. https://github.com/LingDong-/fishdraw/blob/main/fishdraw.js#... https://en.wikipedia.org/wiki/Supersampling#Poisson_disk