PPT

Pixel Place Tools

Pada tanggal 23 April 2022. Lihat %(latest_version_link).

Skrip ini tidak untuk dipasang secara langsung. Ini adalah pustaka skrip lain untuk disertakan dengan direktif meta // @require https://update.greasyfork.org/scripts/443807/1043316/PPT.js

Penulis
Exnonull
Versi
1.4
Dibuat
22 April 2022
Diperbarui
23 April 2022
Size
3,89 KB
Lisensi
MIT

Variable: PPT || window.PPT

    PPT.zero // 0xCCCCCC, color of locked pixels
    PPT.palette // new Uint32Array(), all excluded pixels equals PPT.zero
    PPT.wheel // next pixel from palette
    PPT.RGB2P(r, g, b) // closest pixel to current r,g,b value
    PPT.CLR2P(color) // closes pixel to current 0xFFFFFF value

    // variables needed to draw next primitives
    PPT.timer
    PPT.pixel
    PPT.size

    // primitives
    PPT.square(x,y,callback)
    PPT.image(pixels, x,y,w,h, callback)