Author Topic: Interesting Graphscreen Pictures Created on the Prizm  (Read 5225 times)

0 Members and 2 Guests are viewing this topic.

Offline m1ac4

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 106
  • Rating: +8/-0
    • View Profile
Interesting Graphscreen Pictures Created on the Prizm
« on: October 06, 2011, 07:44:48 am »
I was thinking about how the Prizm graphs inequalities using shading and how that could be used to make interesting pictures.
For example, this is a demonstration that was created by z80man a little while ago.


Remembering this picture I started doing some experimenting with equations and a background image I created on-calc and came up with this.  It is seven equations that are drawn over a solid black background.

As you can see, there is potential for anyone who can use equations creatively to make interesting pictures.

Spoiler For How I Did It:
I used the sketch functions to draw black horizontal lines to fill a screen with black and then captured it to memory.
The equations were drawn with respect to the standard viewing window.  I zoomed out once for the screenshot.  The letter i is the imaginary i.  Styles used are included/
Code: (Used Equations) [Select]
Y1<=-5(x<- Or x>5)+i(x>=-5 And x<=5)            Green:  Normal style
Y2>= 5(x<- Or x>5)+i(x>=-5 And x<=5)            Green:  Normal style
Y3 = i(x>=-5 And x<=5)                          Yellow: Dashed
X4 =-.25(Y>=-5 Or Y<=5)+i(Y>=-5 And Y<=5)       Yellow: Normal
X5 =.25(Y>=-5 Or Y<=5)+i(Y>=-5 And Y<=5)        Yellow: Normal
X6 =-2.65(Y>=-5 Or Y<=5)+i(Y>=-5 And Y<=5)      Yellow: Dashed
X7 =2.65(Y>=-5 Or Y<=5)+i(Y>=-5 And Y<=5)       Yellow: Dashed


Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #1 on: October 06, 2011, 11:29:25 am »
Great work for the second! :p
That's not bas, and would be useful...
I already made some things withs graphs in Monochrome to avoir fuck*** checking filling (not enty to make bazillions lists to draw one menu), and it's nice to see too! :p

But on Prizm... :p

Offline m1ac4

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 106
  • Rating: +8/-0
    • View Profile
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #2 on: October 07, 2011, 07:29:50 am »
One really nice thing is that you can graph Y=, X=, parametric and polar equations at the same time (instead of being stuck with only one type at a time such as on the 83/84+ series).  This really opens up the possibilities for creativity.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #3 on: October 08, 2011, 01:57:56 am »
Very impressive. I see quite a bit of potential there. I would also recommend playing around with dynamic graphs in BASIC but the drawback is that you can only have one graph at a time and once the animation starts running, the only way to quit is if the user presses the ON key which ends up causing a break error. Hopefully though there is some way to fix this. btw you might want to replace your batteries soon ;)

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

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: Interesting Graphscreen Pictures Created on the Prizm
« Reply #4 on: October 10, 2011, 01:27:11 am »
THis looks nice, if only the Prizm was not so limited in BASIC for displaying those... those road images could have created a nice GTA clone or racing game.

Offline m1ac4

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 106
  • Rating: +8/-0
    • View Profile
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #5 on: October 10, 2011, 07:45:18 am »
Very impressive. I see quite a bit of potential there. I would also recommend playing around with dynamic graphs in BASIC but the drawback is that you can only have one graph at a time and once the animation starts running, the only way to quit is if the user presses the ON key which ends up causing a break error. Hopefully though there is some way to fix this. btw you might want to replace your batteries soon ;)
I could see using dynamic graphs for projectile motion possibly in a simple physics game possibly. 
As far as batteries are concerned I still have some time left because the indicator just turned red.  I usually let the voltage get down to around 2.9 before changing them (Its at 4.8 now).
« Last Edit: October 10, 2011, 09:55:06 am by m1ac4 »

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #6 on: October 10, 2011, 10:40:15 am »
That is very impressive! How many colors are available for shading?

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #7 on: October 11, 2011, 01:31:11 am »
That is very impressive! How many colors are available for shading?
There are 8 base colors to choose from but up to 3 can be combined to create numerous shades. If for example only what shade of blue is used, the result is light blue. Two shades of blue will create standard solid blue and adding a third blue will do nothing. But if you add 2 blues and a red, that creates a dark purple for example. Using some rough math I was able to calculate a grand total of 127 colors but someone else should check this though as it may be incorrect.

Edit: or if you only use 2 shades the total is 36 colors which I've already confirmed
« Last Edit: October 11, 2011, 01:31:59 am by z80man »

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #8 on: October 11, 2011, 01:36:55 am »
Wow!  It looks awesome!  Now you can draw a flower in color.  8)
« Last Edit: October 11, 2011, 01:37:18 am by ralphdspam »
ld a, 0
ld a, a

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Interesting Graphscreen Pictures Created on the Prizm
« Reply #9 on: October 12, 2011, 09:18:46 am »
Could you make draw some patters for example, please?