Author Topic: BatLib Ideas/Wishlist  (Read 58517 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #60 on: April 11, 2011, 04:45:11 pm »
You should read the ReCode readme :P
I should. :P  I've been really busy recently, though, so... </lame excuse>
Yeah, I should. ;)

And then you should code some samples :P And then create software =D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #61 on: April 11, 2011, 09:16:25 pm »
Hehe, code for us, ztrumpet, code for us! When I get around to creating line routines, I will need to add in new functions, but I might also add in more rectangle routines I think it was merth that mentioned some good ideas for making rectangle patterns (like turning off every x pixels on a border).

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #62 on: April 12, 2011, 02:10:06 pm »
Hehe, code for us, ztrumpet, code for us! When I get around to creating line routines, I will need to add in new functions, but I might also add in more rectangle routines I think it was merth that mentioned some good ideas for making rectangle patterns (like turning off every x pixels on a border).

For us? More like for you.

I would really like circle drawing command, but not sure if this is possible.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #63 on: April 12, 2011, 03:47:37 pm »
Yeah, I just have to wrap my mind around the algorithm and try to make it as fast as possible. Once I manage that, I will make circles with fill methods :)

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #64 on: April 12, 2011, 03:48:46 pm »
bresenham's is probably the best for just circles
There's something about Tuesday...


Pushpins 'n' stuff...


Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #65 on: April 12, 2011, 04:06:58 pm »
Yeah, but the issue is that one byte modifies 8 pixels x.x I am working on optimising it for that little issue

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #66 on: April 12, 2011, 04:07:29 pm »
ooh...good point >.< I hadn't thought of that.
There's something about Tuesday...


Pushpins 'n' stuff...


Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #67 on: April 12, 2011, 04:08:12 pm »
Oooh Zeda, a fast algorithm for it would be great (in the hex code). As long as its simple in the Basic code.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #68 on: April 12, 2011, 04:10:03 pm »
Yeah, in the ReCode code, it would be Circle(y,x,r or something

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #69 on: April 12, 2011, 04:11:17 pm »
Yeah, in the ReCode code, it would be Circle(y,x,r or something

Circle( is a new token or already exists?
Also, does ReCode/BatLib add any tokens?

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #70 on: April 12, 2011, 04:13:16 pm »
No, there is no way to add new tokens :/ And Circle( doesn't exist yet, it was just a possible future method.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #71 on: April 12, 2011, 04:13:47 pm »
No, there is no way to add new tokens :/ And Circle( doesn't exist yet, it was just a possible future method.

Cos I have it on my calculator, perhaps it's Axe.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #72 on: April 12, 2011, 04:19:28 pm »
Oh, Circle( is an existing function in BASIC, but it doesn't do anything in ReCode

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #73 on: April 12, 2011, 04:24:46 pm »
Oh, Circle( is an existing function in BASIC, but it doesn't do anything in ReCode

Then you can use it :)

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #74 on: April 14, 2011, 09:55:36 pm »
Okay, so I think that the next thing I should do is make more commands compatible with the archive. I was working on Samocal when I realised that I never added in support for dim(15 (VarReadByte) to read an archived byte of data from a program. I resorted to a workaround using a combination of dim(66 (StrToReal) and dim(11 (GetBytes), but that method is slower and takes up more code space.