Loading

PupdatePixels


processing
Since v1.0.0
Available on all platforms
See also

Updates the display window with the data in the pixels[] array. Use in conjunction with Ppixels. If you are only reading pixels from the array, there's no need to call PupdatePixels - updating is only necessary to apply changes.

Link to original Processing doc

Signature

Examples

// @preview image //Same example as Pget / Pset, using Ppixel / PupdatePixels. //load a b64 encoded image (linux command : base64 -w 0 salut.png) "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABggAAAYIBFx04PQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMkSURBVFiFrddNqFVVFAfwn/oSv0jtKZqPkiZiHyRpIWka2ixpUpBBhZhgg2jwBk0cFCES4SCIHFQDBbWocBDiwFLoKUWDBBE0sYwSeoZlPTV86ktvg7UPd3veve/ec+/7w2GfdfZee/3PXmuvtTdjYwnWYGqDvqdxEpfwOea0mKsSJuFT1NJzAcuy/kUYxtd4C39hP1ZhA+7rlsDzyfArYhWO4/usvx/X1Ffm9YxsDdexvhsCW3E+kzekiRckeTvOZf2bUv+r6MU+sSoTWxlqNuBXzMPcJA+kdnVqZ2EoGz8LN/AxLmJvIjK/EwJLRAxMED4tCJ1rQWAIt5I8PbXDVQhMxpfC3x+mb6uz/oFMnt2EQC7fwuUqBF7CM3gRj4gt9mTWfwQPCLeUDTYidAU3qxB4EL/gE7EKO/BwmqwgULilmQtyQv+0Ml4mcBF9wv9wNPU/keQzGBRumI2/SwbLcmUCpzEF9yb5pEhAeRwcFW6ZKTJggUYrUpnAj6m9P7U1fGt0HBS7pGywTKiQF+AAroqffLYZgZ8xgsXZtwEsxYxMnpDeW+2CodR+I2JpK87iM1la78mURtKAnMCRNGYFvsIpkeHmZAYnY1oDApewWySj5WKFe0QcPYdj5RUgligncCJNXLihlv4I/siMMXoXrMc6bFR37zQRZ1c1wTsi8HLsx8FMXogXMvkO7MI9SZ4k9n8N75bmek8UsabVsig6vdm3xeopuR3cmeY4pL6lieAdwdtjKS9PyisrGGyEjbgrkyfiOxHoU8ZSLNhv6pJAGZvTvOvaGTwo6v14oRd/imNbWzgsAm+8sFNUxb52FT4Q+WA8sEqU5f4qSi+7/fjVKXpEVT0htmrb6MN/4qDZDd4Q+eDxTpT3ibNBo/tAO1iIf/FRh/oeEhnr/Q50p+IH/O72XFAZ/SIWtlTQmS5W74b6QaYrbEskvtA6KB8V1XJYl5eSMs4mEtewRxxal4nr2VN4TaTZ4la0djyNw0/J8JvpvVZ6booSXdwl5zacpQl6Wg8Bd4vDyXaxTReJonIev4nz32NVDFfBAaP/utkzqEW1K+N/QkDNWuXUcakAAAAASUVORK5CYII=" Pdecode 'klingonsalute' STORE //use a b64 encoded image (linux command : base64 -w 0 uss_small2.gif) "data:image/gif;base64,R0lGODlhyABFAOf/AA4REhEXIRMXHRAYLRUcKxsdHRodJxggJhciLBghNxsiMhUkMx8iLSMjHCEjIiAnOCcoJh8pNCIoPh0qPxwrOiUpNTYlMiMrLyMrOy0sMicuPysvOzAvLSMxQSYxPCUxRiwvRioxQjgwPyw0RDA0QCg2Rio2TDQ0Ryw3Qio2Ui42Rys5STY4NSk7QDE4STU5PDo6QS49TDw5TSs+UzU8TTE9UzI+STQ8WDE/T0Q9NzBDWDRDUzhDTjNDXzxDVThEWj9DUD1DXURER0JFTUNEVzlHV0hFQTVIXDRHbThLYUBKVjxLW0hIXERKXEBLYkRKZEdMVD1NaTxPZUBPX0xNUDBYOEBTaEpQa0RTY1BSWkhTakRUb05TYz9XcUdWZ1RTZERXbFdUUkVYe0dab0Rbdk5ZcVFZa0tadkxbbE5cZ1RZdUtdc01hd0tjflpgcU5ihFZheVJif1lgf1Njc0xjkk9ki1Jle2RhcF5mbVlqeVVqjF5pgVZrh1hrgmRognNsbmhuf1txk2FwjlpxmVtyjmVwiF5yiWN1hXB0jmJ5lWN4nF16m2V5kGx4kYJ1gWx8pmp+om9+nHN+lmyAl2mBnmWCpG+Bk4N+knaDj2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gAgiAARPwA27wB8AQBhDgABngABAAAQJhFO4DRwrQStrEOiWnrFv+aD+AEq/hZeRG3gSa//Q8YAPafxU8wAMN7/k1Yd5GbgIUUEMs7ARPEARO0HNRoJptEAeUoAiRUBZicAVNsO09cLF4wAJGAAEFkAEAAcEBBwj/DB5E6EEDBgoRHFJY8IDCA4oUHTK4gMHDRhQdbdjgsWOHEiVpEJ5EmVLlSpYtXb6ECdNDCR8/VmDo8MOKFS1BfICQ4aRMGz1v4pyJIkYMHDNxBPVgYykHBIIFHDgwItBBzJUkMgAAwFXsWLJlzZr9EANHDBpHfjjpEgQoERkifJx5QyZKDyVEtBQadCXPNWBZYVwdSIXgWcaNHT+GHLNEiRU7jtTQkUJCDy1OTlj+gDHEypYfTVyg6ODkx5xvpcI4KMDCAYAMRlgUjJxb927eL0eU+FFjhokEH44k2bLFiRIoP3RQxPBj0wk0f3KwAADBtRAHL15k6B1e/PjINGqsWDFhguokOnpEiRKkhgb6O+yYmILJCAcAWBsAsKoAq8gjsEADXXKhBBwSmKCGGo44gsEapjFjBA1GeCCBEYrYphQOrmLhBe72O7BEE03UYAb1Olghhg8GGICGEXxw4YMfNPggARp6MaIBAbsT4gUqTiSyyPEGkGCACXAoIQElFQgBRxNMuHAAF5qAooDDCDIiAw6MBDPM3GD8oAYYJ4gAgyhHwMAFDDAgoALvcoEtJQMHcBMzTz0Zg3GAD1AYYQQXXMBhhyZofHOHPfZktNHGPBiBhrUItcHR8AICADs=" Pdecode 'ncc1701' STORE 300 300 '2D3' PGraphics 0 Pbackground //paste it, save pg $ncc1701 0 0 Pimage 'pg' STORE //dump image into a pixel list $pg Ppixels 'pixels' STORE pi -11.0 / 't' STORE [ [ $t COS $t SIN -1.0 * ] [ $t SIN $t COS ] ] ->MAT 'rotmatrix' STORE 0 200 <% 'x' STORE 0 69 <% 'y' STORE $pixels $x $y 300 * + GET 'color' STORE $rotmatrix [ $x $y ] ->VEC * VEC-> DUP 0 GET 0.8 * 100.0 + TOLONG 'rx' STORE //offset 100, scale 0.8 1 GET 0.8 * 100.0 + TOLONG 'ry' STORE //get rotation coordinates //render the rotation into the pixels list $pixels $color $rx $ry 300 * + SET DROP %> FOR %> FOR $pg Pencode //original image $pg $pixels PupdatePixels //update the image Pencode