Canvas Objects

I think a useful addition would be a new instance called Canvas. It would be a GUI element that allows specifically for editing individual pixels within it. The canvas itself can have its own background color, or be transparent, while the pixels inside are only shown if set.

Canvas:SetPixel(xy, color3)
Canvas:RemovePixel(xy)

Uses:

  • Creating complex, smooth, and fast GUI animations
  • High quality images or playing videos in-game
  • Will enable much more detailed GUI games
  • Opens the opportunity to users developing their own GUI system or libraries (imagine a jQuery-type library for ROBLOX GUIs)
  • Opens the opportunity to things like painting with anti-aliasing.
3 Likes

I’d be worried about performance, since you still have the bridge between Lua and C. If that wasn’t an issue, I’d be up for it. Of course, moderation would be a pain, since you could then essentially bypass any filter.

I’ll admit, I’d have a lot of fun making super cool stuff with something like this, but it would let people easily create complex images that bypass moderation.

All of this is already practically scriptable, but if you want it to be easier we should look into higher level solutions, like:
GUI particles
Video uploading
Image transformations/animations

I don’t see how the moderation issue is a valid argument here.

Yes, you could draw an arrangement of pixels to the screen that might be viewed as offensive or inappropriate. However, you can already achieve the same effect by spawning an arrangement of colored blocks.

2 Likes

Where’s the transparency in this? :uhhh:
I see arguments as “ROBLOX is not an image manipulation program, it’s a 3D game platform” in this case more than making it easier for bypassing moderation.

You will still need to convert your image data to some custom format to import it. And yes, higher level image manipulation.

With this, I can make my own post processing effect for my games, I can make games that can actually compete with games outside Roblox. This would be something really great.
About the moderation, nobody could moderate this: Texture/Decal Rendering - Roblox [size=1]wait a little for images to load when you click “render”[/size]

I have already easily bypassed the moderation, plus these images are uploaded directly through websites using HttpService, I can put in any PNG image there.