Re: [racket] draw circle over bitmap and erase old circle

2010-10-27 Thread Mathew Kurian
Greetings, According to Racket Docs: Just set style- 'transparent – the canvas is automatically “erased” before an update using it’s parent window’s background; the result is undefined if this flag is combined with 'no-autoclear Hopefully that helps. Sincerely, Mat

Re: [racket] how can I change image's tint?

2010-10-23 Thread Mathew Kurian
Anytime 김태윤. -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the ways you can, in all the places you can, At all the times you can, to all the people you can, As long as ever you can." :) John Wesley *P

Re: [racket] how can I change image's tint?

2010-10-23 Thread Mathew Kurian
If you need to see an image of what I am talking about...I have uploaded one here http://img193.imageshack.us/img193/7616/22675416.png Hope this is useful. -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the

Re: [racket] how can I change image's tint?

2010-10-23 Thread Mathew Kurian
I am not sure if this will do the trick, but this way, its pretty easy to do. Sincerely, Mathew K. -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the ways you can, in all the places you can, At all the time

Re: [racket] [plt-edu] real-time graphics for simultion?

2010-10-18 Thread Mathew Kurian
Making graphs on that might be challenging. Is that the only way? -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the ways you can, in all the places you can, At all the times you can, to all the people you

Re: [racket] [BULK] Fundamentals

2010-10-16 Thread Mathew Kurian
There is a lot of good information here. Thank you all who contributed. Mathew Kurian -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the ways you can, in all the places you can, At all the times you can, to

Re: [racket] Fundamentals

2010-10-13 Thread Mathew Kurian
, Racket has to be an interpreted language since it is layered on Assembly. Or I may just be completely wrong in my perception of that part. In response to Professor Bloch: How can those researched numbers be random? It can only LOOK random, but not ACTUALLY random. Right? Sincerely, Mathew Kurian

Re: [racket] Fundamentals

2010-10-13 Thread Mathew Kurian
Thank you Professor Felleison (not Professor Matthias...my mistake). It was a very informative and interesting read. I definitely learned a lot. And indeed I agree, going to the quarks would not be a wise idea. _ For list-related administrative ta

[racket] Fundamentals

2010-10-13 Thread Mathew Kurian
bove my head, but one day I might be there. After all, our education encompasses a lifetime and the tombstone will be our diploma (Mrs. Kitt). -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the ways you can,

Re: [racket] Fundamentals

2010-10-13 Thread Mathew Kurian
-- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the ways you can, in all the places you can, At all the times you can, to all the people you can, As long as ever you can." :) John Wesley *Please be sure to

[racket] Fundamentals

2010-10-13 Thread Mathew Kurian
the idea, not too technical. With some direction to start, I can go ahead and google for articles to find for an in-depth analysis.) Thank you for your help. Sincerely, Mathew Kurian -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the

Re: [racket] Is anyone pursuing a GWT like toolkit with Racket?

2010-10-06 Thread Mathew Kurian
recently due to SAT studies. I hope it works out at the end though. -- Mathew Kurian Seven Lakes High School Cell: 8324932862 Home: 2814929526 *“Do all the good you can, b**y all the means you can, **In all the ways you can, in all the places you can, At all the times you can, to all the people

Re: [racket] SIGCSE AWARDS

2010-10-05 Thread Mathew Kurian
congratulations Prof. Matthias. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] How does Universe.ss paint? How is it so optimized with almost little to no flickring?

2010-09-22 Thread Mathew Kurian
Hey everybody, I was wondering how universe.ss is so optimized, there is no flickering (esp on faster pcs). What approach does it take? Thank you Sincerely, Mathew Kurian -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-21 Thread Mathew Kurian
thank you martin On Tue, Sep 21, 2010 at 2:21 PM, Martin DeMello wrote: > On Sun, Sep 19, 2010 at 6:13 AM, Mathew Kurian > wrote: > > BTW...i didnt know Moby already did this > > If I could see Moby's code, we could probably merge these together and I > > could

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-19 Thread Mathew Kurian
them, but I would be obliged if the someone had a list, paste it directly. It would save a lot of time. Thank you -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in all the places you can, At all the times you can, to al

Re: [racket] Racket VM

2010-09-19 Thread Mathew Kurian
on command prompt? On Sun, Sep 19, 2010 at 7:18 AM, Robby Findler wrote: > Well, I'll cheat: you say "raco make filename.rkt". > > Robby > > On Sun, Sep 19, 2010 at 12:55 AM, Mathew Kurian > wrote: > >> Hahahaha...Neil, i agree with you, it will be my

Re: [racket] Racket VM

2010-09-18 Thread Mathew Kurian
Hahahaha...Neil, i agree with you, it will be my one of my best of friends [?] But, give me some time to read through...it may take a while before i have a question. Thanks again Deren and Neil...i really appreciate your help. Sincerely, Mathew Kurian -- Mathew Kurian Seven Lakes High

Re: [racket] Racket VM

2010-09-18 Thread Mathew Kurian
That is a good idea good Deren. Ill read up on that a bit. Meanwhile a quick question, can it be called via command prompt? -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in all the places you can, At all the times you

[racket] Racket VM

2010-09-18 Thread Mathew Kurian
, Mathew Kurian -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in all the places you can, At all the times you can, to all the people you can,**As long as ever you can.” :) ---John Wesley* Please be sure to visit: SLHS RED

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
Ohh i see...thank you Mr. Krishnamurthi. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
And plus as a side note...maybe with a solid translator, racket could be merged directly with some of the top running languages, since its codes will be variable/dynamic. -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
then convert directly to Java or even Javascript so that they can be more versatile with their coding as well as learn by looking at the differences. -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in all the places you can, A

[racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
to ask you all is: What features would you all like to see or what features do you most admire in any sort of compiler? -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in all the places you can, At all the times you can

[racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
I am still going through lists of racket and java code to find similarities...I have seen many similarities and started to implement these similarities. but i was asking in terms of how the looks. I find it a lot easier to work from the GUI backwards. I am doing this for curiosity and educational

[racket] Racket ==> Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
ught it would a good idea to get ideas from the experienced. I hope writing a quick review/ critique wont be too much of trouble. Thank you Sincerely, Mathew Kurian _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] text formatting questions

2010-08-23 Thread Mathew Kurian
Hey guys...those were all excellent answers and helped greatly. However, it seems that Matthew Flatt's descriptions were a bit more consistent with what i had in mind. With this said, can anyone give me an example of the program implementing what Matthew Flatt had described. It does not necessaril

[racket] text formatting questions

2010-08-22 Thread Mathew Kurian
st for one word (i.e.[This is an ***example.***] (the word between the two *** is green).? Hopefully these questions weren't to verbose. Thank you all for your help. Sincerely, Mathew Kurian _ For list-related administrative tasks: http://l

Re: [racket] syntax, differently

2010-08-18 Thread Mathew Kurian
Quote from Shriram: "Read the whole thing, don't just read the first paragraph like one of today's kids. (-:" haha...ill try not to. and thank you for explaining _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/use

Re: [racket] syntax, differently

2010-08-18 Thread Mathew Kurian
On Wed, Aug 18, 2010 at 2:41 AM, Eduardo Cavazos wrote: > > Mathew Kurian: > > However, in the case of universe/world teachpacks, where the use of >> states is a vital component, a set of code can get very long, >> especially if the program is very complex and contains mu

Re: [racket] syntax, differently

2010-08-01 Thread Mathew Kurian
hey everybody, Like I had mentioned before, i went through to create a mock-up of what i was talking about in my previous comments. It was rather difficult to redraw some of the windows-ui, so i went ahead to design a different drracket ui. Instead of focusing on the gui, take a look at the extra

Re: [racket] syntax, differently

2010-08-01 Thread Mathew Kurian
Matthias Felleisen: "What do you mean with that? When I have students write large programs, my Racket programs are routinely a factor of 3 or more shorter than those of the best of my students (5Kloc in Racket vs 15Kloc in Java or C# or C++), tend to perform more tasks, and are more stable." Reply

Re: [racket] syntax, differently

2010-07-31 Thread Mathew Kurian
Hey guys, Since I myself am beginner programmer and a student in high-school, i thought that my opinion might be beneficial to the racket community. So here goes: I am basically going to list out the pros and cons how drracket actually places the code: Pros: 1.Color-coding (differenciating b

Re: [racket] Transparent Frame

2010-07-23 Thread Mathew Kurian
on a new version of the > low-level GUI toolkit, and perhaps when that is done, he'll be in a > better position to interface with the various OSes to get that kind of > thing to work. > > Robby > > On Fri, Jul 23, 2010 at 12:21 PM, Mathew Kurian > wrote: > > I was

Re: [racket] Transparent Frame

2010-07-23 Thread Mathew Kurian
I was hoping that the whole inside of the frame is transparent. The code on top only takes out the window decorations. But it is on the right path. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Transparent Frame

2010-07-23 Thread Mathew Kurian
I apologize for asking so many questions. I'll take a break after this. Well, as you probably noticed, I am very interested in the GUI part of every language, including that of scheme. Anyways, my question is"'Is there anyway you can make a Scheme Frame transparent (inside the frame itself where

Re: [racket] Facing some flickering problems

2010-07-23 Thread Mathew Kurian
an example of that handler...in code would be much appreciated On Fri, Jul 23, 2010 at 10:17 AM, Matthias Felleisen wrote: > > Matt, what's missing from Universe to avoid your kind of flickering isn't > double buffering. It is a handler that allows you to send updates to an > established scene so

Re: [racket] Facing some flickering problems

2010-07-22 Thread Mathew Kurian
So in terms of garbage collection...the deletion of those arrays are the only part. On Thu, Jul 22, 2010 at 9:27 PM, Robby Findler wrote: > On Thu, Jul 22, 2010 at 8:21 PM, Mathew Kurian > wrote: > > If someone has a bit of spare time, can he/she explain how these images > are &

Re: [racket] Facing some flickering problems

2010-07-22 Thread Mathew Kurian
I agree with that Robby, but the issue I see is once the image is loaded once, in other words the image is seen on the frame/canvas at least once, the next time it comes up on that same frame during the same run, it works with minimal load time. If someone has a bit of spare time, can he/she expla

Re: [racket] Facing some flickering problems

2010-07-22 Thread Mathew Kurian
, instead of loading images at the second you use them, can you load it at the beginning of running a program. On Thu, Jul 22, 2010 at 2:37 PM, Matthias Felleisen wrote: > > > On Jul 22, 2010, at 2:25 PM, Mathew Kurian wrote: > > > Yes, Matthias...mine is using universe, so i don'

Re: [racket] Facing some flickering problems

2010-07-22 Thread Mathew Kurian
one mo thing... if you need the files to check it out...just mention it...like i said, it is not optimized yet, but you can still check it out if you want. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Facing some flickering problems

2010-07-22 Thread Mathew Kurian
Yes, Matthias...mine is using universe, so i don't think i can pesonally implement double buffering... i think it is caused from the game being to large...but its just a thought you guys are the pros, so you teach me. I have a lot of transparency in my images...i personally make them using firewor

Re: [racket] Facing some flickering problems

2010-07-21 Thread Mathew Kurian
yes sir :) _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Facing some flickering problems

2010-07-21 Thread Mathew Kurian
thank you Noel...got it srry for not searching well enough to find thatthis thread can now be closed _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Facing some flickering problems

2010-07-21 Thread Mathew Kurian
optimized.) So, I was wondering if that was normal? or would it be more likely be the program's optimization? BTW. I saw the black PNG's were fixed in the latest build. Thank you all. Mathew Kurian _ For list-related administrative tas

Re: [racket] BIG BUG! On Windows, copying a bitmap doesn't work

2010-07-20 Thread Mathew Kurian
LOL...I was not smooth on that one! :( On Wed, Jul 21, 2010 at 12:17 AM, Mathew Kurian wrote: > LOL...I was not smooth on that one! :( _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] BIG BUG! On Windows, copying a bitmap doesn't work

2010-07-20 Thread Mathew Kurian
Thanks for the credit Robby. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
Good explaination...some of that stuff is way over my head... but i appreciate it and the quick repy was very helpfulill give it a try on linux tomorrow _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
can everybody who looks at this give me a pc spec and say if you have seen the bug? My Specs: System -- Manufacturer GatewayModel NV79Total amount of system memory 4.00 GB RAM System type 64-bit operating system Number of processor cores 2 Storage ---

Re: [racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
Thanks for the update Mattlemme know once you find a fix how long will that take? just curious. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
forgot...here is the file >> http://www.mediafire.com/?wijnce937tyacjd it is in a zip file extract, read the txt files, and open the .rkt file.. enjoy! _ For list-related administrative tasks: http://lists.racket-lang.org/li

[racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
I can give you a smaller program (little longer than 20 lines...sorry..but it does show the error) PLEASE DONT SELL THIS TO ANYONE, ETC. I TRUST U ALL. PLEASE RUN IT SEVERAL TIMES IF YOU DON'T SEE THE ERROR ON THE FIRST RUN CLICK "START" and move out of the START then HOVER OVER THE "START" a

Re: [racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
LOL...Thank you brother. i am a senior at high school and still learning. I am doing a summer program at brown university right now... I wish there are coding competitions for large programs...if anybody knows anythinghook me up! Put your effort and anything is possible. Sky is the limit. __

[racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
I don't think I can make it into a 5 line program. But I can cut short by to like let say 20 or so lines. Yes and it still remains to be an issue. This definitely seems to be an issue with the alpha channel as John said. BTW: Thank you John about your positive compliments of the graphics. I have

[racket] All black images...Ahhh

2010-07-20 Thread Mathew Kurian
I just recently started coding a game in scheme and am noticing an issue when loading PNGs. This issue happens RANDOMLY on RANDOM image(s). So, its not just one particular image. well, i forgot to say the issue...the issue is that the images are full black. The image shape is evident and clear, bu

[racket] rotate an image using 2htdp/image

2010-07-20 Thread Mathew Kurian
Yes. I finally get it. My professor went in some detail with all of your explanation and it makes sense. Thank you. This thread can be closed now. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] rotate an image using 2htdp/image

2010-07-19 Thread Mathew Kurian
OK. Here is what I am trying to do. The game screenshot: http://img829.imageshack.us/img829/4864/65490383.jpg I am trying to rotate the guy's arm by the dynamic degree denoted on the bottom-left corner of the screen. I just have to center the rotated image. How would I go about doing that? Com

Re: [racket] rotate an image using 2htdp/image

2010-07-19 Thread Mathew Kurian
@Robby Findler : I see what you mean. But in this example given by Paul Ojanen (require 2htdp/image) (require 2htdp/universe) (define BACKGROUND (rectangle 100 100 "outline" "white")) (define TRI (triangle 35 "solid" "blue")) (define (render ang) (place-image (rotate ang TRI) 20 20 BACKGROUND))

[racket] rotate an image using 2htdp/image

2010-07-19 Thread Mathew Kurian
Woah...so many good responses...thank you all Now give me some time to read all of this and try to understand before I ask another question. NOTE: This topic is not yet closed. I will get back with a response in a bit. Gotta ask my professor some questions as well. Paul Ojanen's reply outlined t

[racket] rotate an image using 2htdp/image

2010-07-19 Thread Mathew Kurian
Just want to clear up thingsthe how can adjust the pinhole or the rotation center? And Stephen Bloch, can you explain in a bit more detail...seems like that is exactly what i am looking for...but i am having challenging understanding the concept. I am making trying to make a shooter game and

[racket] rotate an image using 2htdp/image

2010-07-19 Thread Mathew Kurian
Hi guys, Hope you all having a great day. I got a question for you all. I am trying to rotate an image around a certain point. Using the 2htdp/image and its rotate function, it seems to be rotating the image. But what is it rotating around? I appreciate all your help. Thank you. MK _