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

0 Members and 1 Guest are viewing this topic.

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
GrayDraw (Grammer)
« on: November 03, 2011, 11:12:59 pm »
GrayDraw is currently a very simple grayscale drawing program. You just input the name of the file to open and if it doesn't exist, it is created, otherwise, it is used. Note that this version does not check if the var is archived or not and it won't check if it is the right size (in case the var already existed).

You can do some simple drawing in 4-level gray that works best on models with 15MHz.

I might end up adding the ability to draw other shapes such as lines, rectangles, and circles, in the future.
I should also add in error checking XD

In any event, it looks better on a real calc than it does in the screenie, but I have this one anyway :D

EDIT: Uploaded correct version XD

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: GrayDraw (Grammer)
« Reply #1 on: November 03, 2011, 11:28:36 pm »
Does it create greyscale by alternating on and off for all the grey pixels?  It might look better if you choose to dither them such that every other grey pixel is on half the time, and the other pixels are on the other half time. 

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 #2 on: November 03, 2011, 11:30:21 pm »
I have no clue how to do that O.O

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: GrayDraw (Grammer)
« Reply #3 on: November 04, 2011, 07:42:27 am »
Ask quigibo ^^
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 #4 on: November 04, 2011, 08:20:41 am »
XD Runer just said to steal it from Axe O.O
The only problem is that I am using Grammer code to display the grayscale (not pure assembly). Though I could add actual grayscale support in the future...

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: GrayDraw (Grammer)
« Reply #5 on: November 04, 2011, 08:23:21 am »
That is cool, the program! O.o

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: GrayDraw (Grammer)
« Reply #6 on: November 04, 2011, 08:59:27 am »
I have no clue how to do that O.O
A "checkerboard algorithm" aint that hard to make :P
If you like my work: why not give me an internet?








Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: GrayDraw (Grammer)
« Reply #7 on: November 04, 2011, 10:23:33 am »
Keoni, you realize that doesn't answer his question at all, that just makes him feel bad?
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: GrayDraw (Grammer)
« Reply #8 on: November 04, 2011, 12:07:31 pm »
* her question
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 #9 on: November 04, 2011, 01:43:27 pm »
:) Thanks buttsfredkin and aeTIos :)
And I do have a command to draw a checkerboard pattern (both checkerboards) so what do I have to do with them? Do I perform AND logic with that and the buffer I want to display?

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: GrayDraw (Grammer)
« Reply #10 on: November 04, 2011, 10:12:54 pm »
* her question

Oh yeah. Oops. I knew that.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: GrayDraw (Grammer)
« Reply #11 on: November 04, 2011, 11:49:48 pm »
wait, Xeda is a girl?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: GrayDraw (Grammer)
« Reply #12 on: November 05, 2011, 09:42:16 am »
Yep.
I'm not a nerd but I pretend:

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: GrayDraw (Grammer)
« Reply #13 on: November 05, 2011, 02:12:56 pm »
hmmm, I didn't know that... :P

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: GrayDraw (Grammer)
« Reply #14 on: November 05, 2011, 02:16:23 pm »
I at first didnt too. Most members are boys, and I also assume that with a new member.
I'm not a nerd but I pretend: