Results 1 to 2 of 2
  1. #1
    higuchi is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default 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!

  2. #2
    ScottVal is offline Member
    Join Date
    Jan 2009
    Rep Power

    Default 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.


Similar Threads

  1. Changing color of variables view details
    By mtoledo in forum Eclipse
    Replies: 0
    Last Post: 03-25-2008, 03:35 PM
  2. Changing the color of text
    By Lang in forum New To Java
    Replies: 1
    Last Post: 11-04-2007, 10:51 AM
  3. EJB, classes Model
    By Felissa in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 07-06-2007, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts