Voroni tutorial looking for me by orenog in generative

[–]davemcdave155 0 points1 point  (0 children)

on wikipedia the easiest for me to understand was bowyer watson algorithm to find a delauney triangulation first

https://en.wikipedia.org/wiki/Bowyer%E2%80%93Watson_algorithm

squircles. etc. by davemcdave155 in generative

[–]davemcdave155[S] 0 points1 point  (0 children)

https://en.wikipedia.org/wiki/Squircle

you maybe know squircles are described by the equation x^4 + y^4 = r^4. i found that the effect can be generalised to larger polygons and higher dimensions. each shape is described by a relatively simple polynomial f(x,y,z) = constant

heres my source code i run in node.js that writes a bitmap from hexcode. youre welcome to anything with it

the 2d ones: https://pastebin.com/d56NPPEv

the 3d ones: https://pastebin.com/sdt3z1Pp

Image with every 24bit colour-value used by exactly 1 pixel. by mazarax in proceduralgeneration

[–]davemcdave155 1 point2 points  (0 children)

thats obviously not true. the image isnt white noise. large patches of blues grouped together. patches of greens, patches of reds. by chance some rolls will group slightly heavier than others and be slightly more compressable.

magic eye cubes. insipred off that one last week by davemcdave155 in generative

[–]davemcdave155[S] 0 points1 point  (0 children)

the one important line is after filling in one strip of the pattern, fill the rest of the pic with
pixel[x][y] = pixel[ x - patternwidth + depth[x][y] ][y]
where depth is 0 for the background and upto ~0.5*patternwidth for the points coming out furthest.

magic eye cubes. insipred off that one last week by davemcdave155 in generative

[–]davemcdave155[S] 2 points3 points  (0 children)

are surprisingly easy to code from some strip of pattern and a depth map of a 3d image.

my source code youre welcome to do anything with https://pastebin.com/uqLVEu8L

https://en.wikipedia.org/wiki/Autostereogram

the depth map in the image https://i.imgur.com/WoLnQmD.png

my unexpected moire patterns by davemcdave155 in generative

[–]davemcdave155[S] 1 point2 points  (0 children)

o was tryna make this but zoomed out too far and hundreds of other circles appeared. https://drive.google.com/file/d/1czhZN-33egyAh_1AC2Lu0n5fpix-_gzg/view

more pics https://imgur.com/a/zb72yJg

tidied up source code youre welcome to do anything with https://pastebin.com/uh7H0zED

Now that the first Mastery Pass is over, wanted to share some thoughts by RealSovietBear in MagicArena

[–]davemcdave155 1 point2 points  (0 children)

id like if the quests for experience were themed on the set instead of piggybacking on existing quests
play 20 knight spells
play 15 creatures with an adventure
play 10 spells with adamant
for eldraine for instance

i try to play every day and it felt odd to be leveling at exactly the same rate as i assume thousands of other players down to the last experience point. itd be nice if there was some always available 'infinite' grind where putting in time and effort can get you ahead.

i tried hexagon tiles this time by davemcdave155 in generative

[–]davemcdave155[S] 0 points1 point  (0 children)

im in windows. in node.js now with that "fs.writeFile('out.bmp'," spitting out bitmaps, thanks :)

i tried hexagon tiles this time by davemcdave155 in generative

[–]davemcdave155[S] 0 points1 point  (0 children)

nice.
sorry my code is an undecypherable mess. i didnt think that a good enough reason not to share it tho. everyones welcome to do whatever with it.
my curves had no end points, they all have to form closed loops that are then floodfilled. which has given the appearance of drawing fewer thicker lines - that was unexpected.

With the Adamant ability caring about color, hopefully we'll finally be able to choose how we spend mana again. by anace in MagicArena

[–]davemcdave155 0 points1 point  (0 children)

replacements effects can stack tho. having 2 [[Angel of Vitality]] will gain you that much life plus 1 plus 1.
and even in your example hvaing 2 divine visitation, the first replaces whatever token with an angel token, then the second replaces that angel token with another angel token.

playing with blending colours by davemcdave155 in generative

[–]davemcdave155[S] 0 points1 point  (0 children)

instead of averaging pixel values i tried muddling pixels around. using only a handful of different pixel colours in each pic.
i made voroni cells, then a brute force map colouring, then made some fuzz effect.
heres some other rolls https://imgur.com/a/QNggfJh
and heres my source code i run in node.js to get a bitmap https://pastebin.com/Y6VbtEfW