Post Reply 
Calculator graphics drawing benchmark
01-24-2022, 02:08 PM
Post: #5
RE: Calculator graphics drawing benchmark
(01-24-2022 11:34 AM)Werner Wrote:  I believe there's an error in the Casio fx-CG50 Python code:
Code:
    for x in range(0,380,s):
      i=s*randint(0,1)
      for x in range(i,188,2*s):
        line(x,y,x,y+s,color)

the inner loop should be 'for y in'.

Thanks Werner for identifying the typo. I've corrected it in the listing.

(01-24-2022 11:34 AM)Werner Wrote:  Well, the DM42 is also a graphing calculator, is it not?
[...]
drawing in GrMod=3 (400x240), S=8 runs in 7 seconds. (on USB power)
the number of pixels drawn is 15000, so performance index 2143

What is the DM42 running time for S=4? I know the lines are probably tiny on the screen, but S=4 was used by all other calculator runs. S should be fixed to 4 for accurate ranking comparisons. For larger S fewer pixels are drawn (S=8 boosts the performance about 4 times, you see...).

- Rob

"I count on old friends" -- HP 71B,Prime|Ti VOY200,Nspire CXII CAS|Casio fx-CG50...|Sharp PC-G850,E500,2500,1500,14xx,13xx,12xx...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Calculator graphics drawing benchmark - robve - 01-24-2022 02:08 PM



User(s) browsing this thread: 2 Guest(s)