This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Xeda112358
Pages: 1 ... 218 219 [220] 221 222 ... 317
3286
« on: April 29, 2011, 05:02:57 pm »
So, being a lover of patterns, I decided to remake a program that I originally made using xLIB. This one is a bit faster, the graphics are smoother, and doesn't require you to make a picture. So here is the basic concept: -Copy upper 63 rows of the graphscreen -XOR one pixel down -Copy lower 63 pixels of the graphscreen -XOR one pixel up
This will create some fairly interesting effects on its own, but I decided to add in some pixel drawing for the first 95 iterations. After that, the pattern continues on its own seeming to scroll right, infinitely.
Delvar Bdim(56,4 Repeat Ans=15 If B<95 Then Pxl-On(0,B B+1→B End dim(53,dim(35,0,0,63,12),63,0,1,2,53,dim(35,0,1,63,12),63,0,0,2,43,99 End
3287
« on: April 28, 2011, 08:58:10 pm »
prefix (a.k.a Polish Notation): + 1 2 infix: 1 + 2 postfix (a.k.a Reverse Polish Notation): 1 2 +
with infix you have to worry about order of operations, whereas with postfix and prefix you don't.
While we're on the subject... http://xkcd.com/645/
Lovely  And now I know what those terms mean, so I am happy... I think it would be slower to use those methods, anyway, in my experience.
3288
« on: April 28, 2011, 08:44:34 pm »
Btw, slightly off topic, but thanks Runer112 for reminding me of using the stack to help out with this
Oh I bet that is how Axe does it... I use a completely different method which is why ReCode does math right to left...
3289
« on: April 28, 2011, 08:35:54 pm »
You are trying to parse things yourself, for speed, right?
3290
« on: April 28, 2011, 08:16:48 pm »
Cool, that will be great! As an example, if I know a number is an integer and I want to right justify it so the last number is in the ninth column:
Output(1,iPart(10-log(Ans)),Ans
3291
« on: April 28, 2011, 08:12:37 pm »
Centering text, right justifying text. If it's a number you need to know how far to place it out from the side.
Yes, exactly  I also use it when I am making math programs that output results in a more pretty way
3292
« on: April 28, 2011, 08:06:03 pm »
What about iPart(? XP Yeah, usually the only times I use sin( and cos( are for circular things. I like to use log(, often, but that is usually to find the number of digits in an integer. Maybe you could make log( do that instead? (meaning find the number of digits, minus 1)
3293
« on: April 28, 2011, 04:27:34 pm »
Does Wabbit record sound, too?
3294
« on: April 28, 2011, 04:24:52 pm »
Cool! I made a guitar hero like game that used sound, but not in Axe
3295
« on: April 28, 2011, 04:21:19 pm »
Maybe you have to detect both keys and then play one after the other real fast? Is there a way to really "mix" sounds?
3296
« on: April 28, 2011, 04:19:30 pm »
Very cool, nice! I don't know much about music, but I want to make a sound player on my calc now
3297
« on: April 28, 2011, 10:56:09 am »
I don't understand this part: 000 => 0 001 => 1 010 => 1 011 => 1 100 => 0 101 => 1 110 => 1 111 => 0
so Rule 110 CA. IIRC, it's one of those CAs that is Turing complete or something.
Everything else is just converting to binary and looking at the pretty patterns  At least I think... I just liked looking at the diagonals
3298
« on: April 28, 2011, 09:33:13 am »
Okay, sorry to be so late  I literally only went to class and then immediately slept when I got back. I remembered this in the last half hour of psychology and it was the only way I could stay awake  : 1+2034X-15334X(X+1)/2+50686X(X+1)(X+2)/6-95994X(X+1)(X+2)(X+3)/24+113930X(X+1)(X+2)(X+3)(X+4)/120-86756X(X+1)(X+2)(X+3)(X+4)(X+5)/720+41386X(X+1)(X+2)(X+3)(X+4)(X+5)(X+6)/7!-11306X(X+1)(X+2)(X+3)(X+4)(X+5)(X+6)(X+7)/8!+1354X(X+1)(X+2)(X+3)(X+4)(X+5)(X+6)(X+7)(X+8)/9! Maybe later today I will come up with a more general version that has "m" in the equation, too. EDIT: This version only took 1 page EDIT2: Screenshot of equation: Xmin=0 Xmax=10 xscl=1 Ymin=-10 Ymax=509 Yscl=0 Xres=1
3299
« on: April 27, 2011, 05:55:23 pm »
It is my rendition of Pascal's Triangle that I made for a homework assignment, yesterday (technically this morning). If you ignore the curved arcs and color and you focus on just one spoke, you will notice clusters of line segments. These line segments are of length nCr.
3300
« on: April 27, 2011, 07:27:13 am »
Hmm, then I am not sure
Pages: 1 ... 218 219 [220] 221 222 ... 317
|