I have Officially made a website for makecode arcade!

Definitely! Almost like an old print in a magazine or something.

2 Likes

actually it’s dithering, i would give you an explanation for why that is but rn for me its very late so you can just look up the difference : )

3 Likes

@richard could you add a export/import for palletes? It would help!

3 Likes

Ah, like maybe to split the image into 4*4 boxes, and each one is a circle colored like the average color in that box? Then fill in the corners with the average between the surrounding pixels!

3 Likes

fun fast the colors used in old printers are cyan, magenta and yellow and theres also black and White you can try that palette and you will get ok/good resuts
here are the color

#FFFFFF  = [255,255,255]
#00FFFF  = [0,255,255]
#FF00FF  = [255,0,255]
#FFFF00  = [255,255,0]
#000000  = [0,0,0]

you can add green to the mix but it wont do much

#00FF00  = [0,255,0]
3 Likes

Ah yeah! So it just looks like pointilism, but not quite!

2 Likes

You’re the best for this, tysm. I’ll make sure to reply with some nice results.

5 Likes

Bro this is awesome-

6 Likes

Wait your back? YES!!!

5 Likes

also, i wanted to share this image
QUACKEN.png

9 Likes

the IFINITE LAND OF MEOWI’S

3 Likes

Added New Dithering Option!! its called Stucki Dithering
looks a bit cleaner BUT the big drawback is the very slow speed

Stucki Dithering

Stucki Dithering

Five years after Jarvis, Judice, and Ninke published their dithering formula, Peter Stucki published an adjusted version of it, with slight changes made to improve processing time:

             X   8   4 
     2   4   8   4   2
     1   2   4   2   1

           (1/42)

The divisor of 42 is still not a power of two, but all the error propagation values are - so once the error is divided by 42, bit-shifting can be used to derive the specific values to propagate.

For most images, there will be minimal difference between the output of Stucki and JJN algorithms, so Stucki is often used because of its slight speed increase.

source


also added Burkes Dithering

Burkes Dithering

Seven years after Stucki published his improvement to Jarvis, Judice, Ninke dithering, Daniel Burkes suggested a further improvement:

             X   8   4 
     2   4   8   4   2

           (1/32)

Burkes’s suggestion was to drop the bottom row of Stucki’s matrix. Not only did this remove the need for two forward arrays, but it also resulted in a divisor that was once again a multiple of 2. This change meant that all math involved in the error calculation could be accomplished by simple bit-shifting, with only a minor hit to quality.

source


3 Likes

Pointillism is like painting with tiny dots of color to create an image, while dithering is more about mixing pixels of different colors to simulate additional colors or smooth gradients in digital images.

5 Likes

Yeah!

2 Likes

YeSSSS!!!

2 Likes

I Managed to get the 4x4 and 8x8 brayer matrix Dithering To work!!
i also added the 2x2 and the 16x16 Brayer matrix Dithering options!

3 Likes

Hehehe… quacken… :smirk:

7 Likes

update: 1.01.11
added

  • stackable filters
  • optimized: nearest color function
3 Likes

altho they dont work as intended they do work sort of so even if you give in infinite grayscale colors and a grayscale image
the dithering will only use black and white
thats becuse of how it works

let newR = r > threshold * 255 ? 255 : 0;
let newG = g > threshold * 255 ? 255 : 0;
let newB = b > threshold * 255 ? 255 : 0;

and idk how to change it so sry

2 Likes

Added in 1.02.11

  • visits counter
  • secret
4 Likes