Shop OBEX P1 Docs P2 Docs Learn Events
7 shades of gray via page flipping — Parallax Forums

7 shades of gray via page flipping

RaymanRayman Posts: 14,221
edited 2007-11-26 00:35 in Propeller 1
I can get 7 effective shades of gray by page-flipping between two 2-bit images...

This seems to work well for CRT monitors.· It also works on my LCD monitor, but causes a strange, burn-in like affect if the image is shown for a while...· Hence, the disclaimer:·

This·program may cause monitor damage!· I'm not responsible for any damage you suffer!

I may also use this trick to alternate between red and blue 2-bit preview images for 3d... [noparse]:)[/noparse]





Post Edited (Rayman) : 11/26/2007 12:17:38 AM GMT

Comments

  • BTXBTX Posts: 674
    edited 2007-11-25 23:59
    Hi Rayman !!
    I'm trying your demo, and Ican't see the picture as you post....seems to have an "H" problem.
    My monitor is a CRT samsung SVGA.... Could be an interlaced problem ??

    Sorry...you also name the file as: Max_8shades_small.dat...and in the code it is Max_7shades_small.dat.

    Is the file correct ?



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
  • RaymanRayman Posts: 14,221
    edited 2007-11-26 00:13
    Sorry! Just added the correct file to first post...
    Also, added correct file to zip and removed wrong file...

    Post Edited (Rayman) : 11/26/2007 12:18:28 AM GMT
  • BTXBTX Posts: 674
    edited 2007-11-26 00:35
    Thanks Rayman.
    So now I can say....Nice baby !!

    Good job !!...like you ever are posting here last times.
    Cheers.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
Sign In or Register to comment.