Search found 2 matches
- Tue Aug 07, 2018 8:53 am
- Forum: Support and Development
- Topic: Fast getPixel on canvas
- Replies: 2
- Views: 1810
Re: Fast getPixel on canvas
Thank your for this detailed response and the links :) I've created a new fantasy console and it's almost done now. I was trying to reproduce some get/set pixel functionality with poke/peek in vram. My first implemetation was based on ffi pointers but I was stuck with color keys and map transparency...
- Mon Aug 06, 2018 1:05 pm
- Forum: Support and Development
- Topic: Fast getPixel on canvas
- Replies: 2
- Views: 1810
Fast getPixel on canvas
I'd like to get the color value of pixels on my canvas in real time. I was able to get very fast results using a FFI pointer on ImageData but I really need to use a canvas because I don't want to reimplement all the graphical functions of Love: rectangle, circle etc. I tried with a more standard sol...