Snap! image vectorizer collab

don't use chat gpt to write complex code, especially snap! code (it has a lot more data on programming languages like python, javascript, etc).

no. i use it to give me a breakdown. i figured out why it had random. pretty much we have to establish x amount of base colors for the image, so it was going to a random point in the image and getting its color to add to the base colors. I dont want to do this because the outcome is pretty unpredictable but i havent found a way in which i can get x amount of base colors and have it so that the algorithm makes sure the base colors arent too similar to one and other.

i think we are overthinking this
untitled script pic(10)
(make sure to have whichever costume already imported)

also if you want you can remove the CLEAR block in the block definition if you want the image to stay on stage

thats not infinitely scalable

what do you mean? like its slow?

no. its still made of pixels


thats the svg it returns. def not smooth

Oh ok. I will figure out (soon I think) a way in snap to get the best colors for the image with the uniques of block you showed earlier

i already wrote a code to draw an image if given a list of rgba's it can use from. (it does take a while). but after that is still the most complex part

can i see it

this?

or what