Author Topic: GrayDraw (Grammer)  (Read 6599 times)

0 Members and 1 Guest are viewing this topic.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: GrayDraw (Grammer)
« Reply #15 on: November 05, 2011, 02:28:53 pm »
wait, Xeda is a girl?
Really? O.O wow I thought that she was a boy wow, (still girls can be good programers like for instance Xeda)
« Last Edit: November 05, 2011, 02:29:12 pm by annoyingcalc »
This used to contain a signature.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: GrayDraw (Grammer)
« Reply #16 on: November 07, 2011, 07:35:42 am »
There was a few more girl member but they're inactive now D:
Sig wipe!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: GrayDraw (Grammer)
« Reply #17 on: November 09, 2011, 03:11:16 am »
All right, maybe this pseudocode will help you for the grayscale:
(use a gray buff ofcourse)
Code: (pseudocode) [Select]
if frame=even {
    if row=even{
      turn even pixels on;
   }
    if row=odd{
      turn odd pixels on;
   }
}
invert for odd frames.
« Last Edit: November 09, 2011, 03:11:49 am by aeTIos »
I'm not a nerd but I pretend:

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: GrayDraw (Grammer)
« Reply #18 on: November 09, 2011, 07:04:26 am »
Using some available features, is this what you mean? I could store this to a buffer and use XOR logic (or I could add a command to XOR these patterns to a buffer).

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: GrayDraw (Grammer)
« Reply #19 on: November 09, 2011, 07:51:24 am »
What is the use of checkerboard fill? :3
I'm just curious.
Sig wipe!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: GrayDraw (Grammer)
« Reply #20 on: November 09, 2011, 08:33:28 am »
well, people were telling me how to use grayscale and I was wondering if the idea they were presenting needed that... Otherwise, I just added the Fill( command for miscellaneous effects :)

Also, we need a :3 smiley >_>

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: GrayDraw (Grammer)
« Reply #21 on: November 09, 2011, 09:28:01 am »
yeah, that's what I mean. but it needs to be inverted when the frame is odd.
I'm not a nerd but I pretend:

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: GrayDraw (Grammer)
« Reply #22 on: November 09, 2011, 09:28:52 am »
What do you mean, the checkerboard pattern? If that is what you mean, that is what I was trying to show in the screenie XD (I invert it)

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: GrayDraw (Grammer)
« Reply #23 on: November 09, 2011, 09:30:20 am »
Oh lol. yep, then its okay. but it should be some faster. XD
I'm not a nerd but I pretend:

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GrayDraw (Grammer)
« Reply #24 on: December 30, 2011, 03:04:06 pm »
Ask quigibo ^^
Not me?  :'( ???

j/k

I did that grayscale dithering thing too in Reuben series, though. It's better than just flashing every pixel at once, else it flickered too much. And yeah that's the checkered pattern I mean.

What is the use of checkerboard fill? :3
I'm just curious.
It creates an optical illusion that makes the grayscale look less flickery than if you flash every pixel at once the same color.

By the way here are examples of what Reuben looks like (checkerboard) and how it would look like if it wasn't checkered. Less annoying with checkerboard, eh? :P
« Last Edit: December 30, 2011, 03:21:43 pm by DJ_O »

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: GrayDraw (Grammer)
« Reply #25 on: December 30, 2011, 07:03:45 pm »
Wow, really cool DJ! I should really get on this grayscale coding. I am currently working on freeing up both saveSScreen and AppBackUpScreen (two areas in non-user RAM that can contain what Axers call a backbuffer). Currently AppBackUpScreen is only used as the default particle buffer and the first two bytes are modified. SaveSScreen, however, is used for converting token strings to ASCII, holding rectangle patterns, converting numbers to strings, and other behind the scenes things. I think I can get away with putting all that in the OP1 and OP2 areas of RAM, though, and I will need to rewrite the text display code.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GrayDraw (Grammer)
« Reply #26 on: December 31, 2011, 03:31:22 am »
Thanks. That's some old stuff up there (2004) :P. Maybe you could port Reuben Quest series to grammer? ;D

J/k it would be quite big as project, especially that you are busy with school and lots of other projects. :P

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: GrayDraw (Grammer)
« Reply #27 on: February 29, 2012, 10:11:42 am »
So, update time :D Now that Grammer actually uses grayscale as default, I made a much nicer version that uses grayscale properly :) Also, I figured out why the checker pattern wasn't looking fast enough... I had Wabbit's color up to 2 shades. On a real calc, it shows it as perfectly gray with no flicker. It gets about 86FPS at 15MHz.

The new version features 3 shades-- black, white, and gray. You now draw with a resizable cursor and it runs at 6MHz.

Controls:
  • Use the arrows to move the cursor
  • Use 8,2,6,4 to resize the width and height of the cursor
  • [Enter] will set the region as black
  • [Del] will erase that area
  • [2nd] will set the region to gray
  • [Clear] will clear the screen
  • [Mode] will exit the editor


I am wondering if I should add a save file or not so that people can load and save their pictures... Naturally, it would require 1536 bytes per image, though :/ I could even make it so that it uses OS pictures, too. I have resized them before, so I know it is doable. I think I could even get it so that the OS would read it normally, but you could use it as a grayscale pic for Grammer.

To be clear, this is actually good grayscale, not the flickery stuff I did before :)

Offline GB

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 147
  • Rating: +15/-3
  • Use Microhard WindOS today!
    • View Profile
    • MICROHARD CORPORATION
Re: GrayDraw (Grammer)
« Reply #28 on: February 29, 2012, 01:15:44 pm »
Ask quigibo ^^
Not me?  :'( ???

j/k

I did that grayscale dithering thing too in Reuben series, though. It's better than just flashing every pixel at once, else it flickered too much. And yeah that's the checkered pattern I mean.

What is the use of checkerboard fill? :3
I'm just curious.
It creates an optical illusion that makes the grayscale look less flickery than if you flash every pixel at once the same color.

By the way here are examples of what Reuben looks like (checkerboard) and how it would look like if it wasn't checkered. Less annoying with checkerboard, eh? :P

I know this may be a little off-topic, but is it just me or does Reuben look sort of like a telephone? That's what I always thought when I played the game.
TI-86 USER
CASIO PRIZM USER
TI-NSPIRE USER
TI-84 PLUS SILVER EDITION USER
TI-83 PLUS USER

PROJECTS:

Microhard Paint
http://www.omnimaga.org/index.php?topic=11915.0

TI-Nspire Character Map
http://www.omnimaga.org/index.php?topic=7725.msg142555#msg142555

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: GrayDraw (Grammer)
« Reply #29 on: February 29, 2012, 01:27:15 pm »
I can see that :D I always saw a person because that is what I expected, but that could actually be a really nice telephone sprite o.o