It would be a Canvas object that you could set pixels to, or bake Gui or perhaps parts onto:
Canvas.new(Color3 BackgroundColor)
Canvas.Bake(GuiObject/BasePart BakeInstance)
Canvas.SetPixel(Vector2 Position, Color3 Color)
Color3 Canvas.GetPixel(Vector2 Position)
Canvas.SetCanvas({Color3,…} PixelArray, Vector2 Size = CanvasSize, Vector2 Position = (0,0))
{Color3,…} Canvas.GetPizels(Vector2 Size = CanvasSize, Vector2 Position = (0,0))
The reason I started wondering about this, is it would be neat to make a game with a similar concept to “One More Line”. I also noticed that Tiny Tanks removed their tank tracks, presumably for efficiency reasons that baking the tank tracks into a canvas would have easily solved
If you’re worried about moderating something like someone uploading an entire image to it pixel by pixel, I would be fine with having the ability to just bake Gui into the Canvas (Though really, people can do pixel by pixel uploads now, this would only make it more efficient)
Nice, but can I get bake as well? I could do some neat stuff with the ability to bake images into a Gui, instead of needing to have separate objects for each image.
The original request was to simply draw/get pixels, but having said the trello feature would be more or less similar to Flash/HTML5 Canvas. It is far different because it is far better.
No that’s something else. I want to change pixels on the screen, not draw stuff on the screen. You do realize the difference right? There is no way the other can be better than the other as their purpose is different.
“with said feature” guessing that you’re talking about what OP proposed, you can’t do that with the trello proposal which says “Vector graphics drawing UI” and “similar to Flash Graphics or HTML5 Canvas.”. So there most probably isn’t an ability to change pixels individually.
Reviving this feature request as I would love to have an instance for pixel manipulation such as this.
Some use cases I can think of off the top of my head are minimaps, 2D games (like a falling sand game for example), if we had a way to get the color of the pixels from the camera we could even create our own custom filters to go over the player’s view!
I’ve been messing around with a bunch of different things involving pixel manipulation and I know with an instance for that purpose people could create a lot of really cool things.
Oh boy, the amount of things I could use this for.
I’ll just leave a few:
Drop Shadows
Shapes without needing images
Custom implementation of a UIBlur using a LPF.
2D Game Engine
On the inappropriate images argument, how many kids do you expect to know how the PNG, JPG or DDS formats work. I dont think a kid is going to manually map out the pixels for a 1920x1080 image.