Omnimaga

Calculator Community => Casio Calculators => Topic started by: m1ac4 on October 06, 2011, 07:44:48 am

Title: Interesting Graphscreen Pictures Created on the Prizm
Post by: m1ac4 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.
(http://img.removedfromgame.com/imgs/1-DispCap1.bmp)

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.
(http://img.removedfromgame.com/imgs/Capt18.PNG)
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

Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: Eiyeron 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
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: m1ac4 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.
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: z80man 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 ;)
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: DJ Omnimaga 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.
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: m1ac4 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).
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: mrmprog on October 10, 2011, 10:40:15 am
That is very impressive! How many colors are available for shading?
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: z80man 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
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: ralphdspam on October 11, 2011, 01:36:55 am
Wow!  It looks awesome!  Now you can draw a flower in color.  8)
Title: Re: Interesting Graphscreen Pictures Created on the Prizm
Post by: Eiyeron on October 12, 2011, 09:18:46 am
Could you make draw some patters for example, please?