Results 1 to 2 of 2
Thread: Color-changing model
- 03-19-2009, 05:51 AM #1
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
Color-changing model
I'm looking to design something and I don't know if Java is the way to go or if there are other ways that are easier, or perhaps if a combination is necessary.
A basic description of what I want to do:
Take a surface that has a color, and with the movement of the mouse I want to have the surface change color. Its very similar to that color-changing paint you see on some cars, where they are green at one angle and violet from another. The mouse pointer represents the perspective or angle I would be viewing this surface from.
I don't know where to start with this project or if Java is even the way to go, so any advice would be welcome. The mathematics are essentially taken care of but the implementation of the idea are in question at the moment.
Any help would be appreciated!
- 03-19-2009, 07:29 AM #2
Member
- Join Date
- Jan 2009
- Posts
- 35
- Rep Power
- 0
Color-Changing Model
I think Java would work well for this application.
You might want to look into Java 2D. It has a rich set of classes for dealing with color, and displaying shapes on the screen.
In addition, you have the capabilities of the Swing classes to deal with the mouse movement.
If you have more specific questions, we'd love to answer them.
-scott
Similar Threads
-
Changing color of variables view details
By mtoledo in forum EclipseReplies: 0Last Post: 03-25-2008, 02:35 PM -
Changing the color of text
By Lang in forum New To JavaReplies: 1Last Post: 11-04-2007, 09:51 AM -
EJB, classes Model
By Felissa in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 07-06-2007, 03:17 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks