Thursday, February 25, 2010

COLOR WHEEL ASSIGNMENT FOUR

Color Wheel


The Code:
;Below makes the new image and displays it
(define img (car (gimp-image-new 512 512 0)))

(gimp-display-new img)

;this creates the new layer and adds it to the new picture
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

;this adds the points to the wedge
(gimp-free-select img 6 #(0 180 0 300 255 255) 2 TRUE FALSE 0)

;this creates the gradient
(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

;this gives the gradient and wedge it's color
(gimp-context-set-foreground '(148 0 211))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

;this defines the layer of the new wedge and does the same as above
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 300 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(255 0 255))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)
;this is the rotation which tells the position of the wedge
(gimp-selection-none img)

(gimp-rotate layer TRUE 6.75 )

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 300 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(128 0 0))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 7.22)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 300 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(255 0 0))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 7.69)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 305 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(255 127 0))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 8.18)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 307 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(255 255 0))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 8.67)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 310 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(172 255 50))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 9.18)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 320 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(0 255 0))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 9.73)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 325 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(0 255 127))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 10.3)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 330 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(0 255 255))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 10.88)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 332 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(0 191 255))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 11.47)

;same as above for a new wedge
(define layer (car (gimp-layer-new img 512 512 0 "blah" 100 7)))

(gimp-image-add-layer img layer -1)

(gimp-free-select img 6 #(0 180 0 335 255 255) 2 TRUE FALSE 0)

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-context-set-foreground '(0 0 255))

(gimp-edit-blend layer 0 0 0 100 0 FALSE FALSE TRUE 1 0 FALSE 0 255 255 255)

(gimp-selection-none img)

(gimp-rotate layer TRUE 12)



href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC5ZCr8FdwYdmk7eIOnV-mIiNTCVpqlQprforiPZnPRi_YsjFq5KRLjwOgwWKMcVPhN754840HGZKGgZqbuDeRN376DMqfyueDxy1T_1hCTrklEOmuqaMlllUSR4ST_9K-sjLVcpMNYsFB/s1600-h/Picture+3.png">


Tuesday, February 16, 2010

Working On The Color Wheel

Working on the Color Wheel

In class we learned how to create a wedge and add the gradient to it. On my own I went in and colored the wedge and created a new wedge at a rotated space. In this i created all the colors of the color wheel not in a wheel shape. This is how it came out.


Thursday, February 11, 2010

Assignment 3

For assingment3 we had to start working on our colorwheel. The first step was to get a gradient working. For this we had to get blue at the top and yellow at the bottom. We worked on getting the gradient working in class with red and on my own I got the blue and yellow working. This is how it turned out:





CODE:
code:
(define img (car (gimp-image-new 512 512 0)))
img
> img
1
> (gimp-display-new img)
(1)
> ;Create new image and display it
> (define layer (car (gimp-layer-new img 512 512 0 "blah" 100 0)))
layer
> (gimp-image-add-layer img layer -1)
(#t)
> ;you define the layer then you add the layer
> (gimp-edit-blend layer 3 0 0 100 0 0 FALSE FALSE 1 0 TRUE 256 0 256 256
> (gimp-edit-blend layer 3 0 0 100 0 0 FALSE FALSE 1 0 TRUE 256 0 256 256)
(#t)
> ;CREATES THE GRADIENT WITH ALL THE CONDITIONS
> (gimp-contex-set-background '(255 0 0))
Error: eval: unbound variable: gimp-contex-set-background
> (gimp-context-set-background '(255 0 0))
(#t)
> ;CHANGE BACKGROUND COLOR
(gimp-edit-blend layer 3 0 0 100 0 0 FALSE FALSE 1 0 TRUE 256 0 256 256)
(gimp-context-set-foreground '(255 255 0))
(gimp-edit-blend layer 3 0 0 100 0 0 FALSE FALSE 1 0 TRUE 256 0 256 256)
(gimp-context-set-background '(0 0 255)
(gimp-edit-blend layer 3 0 0 100 0 0 FALSE FALSE 1 0 TRUE 256 0 256 256)

Tuesday, February 9, 2010

GIMP Coding: Car and CRD

In class we worked on a code that would pull an element out of the list so that we dont have to use car and cdr many many times for long lists:



The Code and it's work:

Monday, February 8, 2010

GIMP- Homework 3

For this assignment we had to find a Scheme code online for Gimp and alter it. The code I used i got courtesy of http://www.seul.org/~grumbel/gimp/script-fu/script-fu-tut.html
This was the code:


This is what I changed:


For this one I changed the RGB values.

Thursday, February 4, 2010

Gimp Coding


Today we learned gimp coding
GIMP CODING:
Gimp language- foo, Scheme
Coding:
Variable
Methods
Loops
Conditions if
Bold x = multiply for examples
VARIABLES: x,y,z; z=x+y; function add(x, y) for Gimp- (+ x y)
In englsish: x+(y x z) in scheme: (+x(x y z)
(define x 6)- variable with 6 stored in x
Or another way to make variables-temporary variables (let* ((x6)(y7))
METHODS: (define x 6)
(define (funcname param1 p2……)
Body.
)

LOOPS:
For Loop:
(let LoopName ((i 0))
(if (not(=i 10))
(Begin
……………
(LoopName (+ i 1))

If it’s false then this is true(not)

Z=x+y
(let* (( x 1) (y 2) (z))
(set! Z (+ x y))
)

Monday, February 1, 2010

Color Wheel: assignment 2




This is my Color Wheel Assignment 2

Natasha Keller
1 February 2010
Intro to Modeling and Post Production

Color Wheel

For our Intro to Modeling and Post Production class we were assigned our first big assignment. This assignment was assignment two. For this assignment we were asked to make a color wheel and color strips. We were to make the color wheel from picture/ photographic sources. We could either make it digitally or on a poster board. For the color wheel we had to find all the colors on the color wheel and make them from cutting out and gluing pictures either found in magazines or books or how ever else you can make them. We had to have twelve pure hues and for each hue we needed three different values. Then for the color strips we had to use complementary colors from the color wheel and have one at each end of the strip and meet in the middle as gray. Complimentary colors include Red and Cyan, blue and yellow, and green and magenta.

For my color wheel I decided to do an actual physical color wheel on a poster board. First I went to Walgreens and bought a white poster board and a thing of Elmer’s Glue. When I got home I drew a circle on my poster board in pencil that had an eighteen-inch diameter. The circle did not come out perfectly circular but it was all right. Then I got the circumference of the circle and calculated how many inches wide each color should be at the edge of the circle which came out to be about 4.7 inches for each color. Then I divided each color space into four sections. Then I labeled each spot with color with red on the top and green on the right and blue on the left.

After I had my color wheel divided up I went and got magazines. I found four of my sister’s magazines, which are all Seventeen Magazine, which was great for a color wheel because these magazines have many ranges of color because of all the clothes for teens. The four magazines I got were Seventeen Magazine March 2003, February 2008, October 2008, and November 2008. Then I started looking for colors. Whenever I found a color I wanted I ripped the whole page out from then magazine that way if there was more than one color I could use on the page I’d have it. I didn’t go in any particular order when making my colors, just when I found the color I used it. All the colors I used could be found in the magazines. A lot of the colors came from clothes and accessories in the magazines. Some came from adds and close articles in the theme of candy. When I found the color I needed I cut it out with scissors and glued it on with Elmer’s Glue. On my color wheel my colors went from the pure hues on the outside to white in the middle. My color wheel took a long time to make since it was so big and detailed. When I finished my color wheel I made my color strips. My color strips are on the right side of my color wheel on the poster board. I did red to cyan and yellow to blue vertical and underneath them I did green to magenta horizontal. For these I used colors found on all the pages I had ripped out from the magazines. For the strips I put each of the complimentary colors at an end of a strip and found colors starting from the pure hue and moving towards gray in the middle. For the strips the colors I cut were more jagged than the ones on the color wheel to bled them in and glued them on with Elmer’s Glue.

So in conclusion this was how I made my color wheel and my color strips in detail. A lot of work and creativity went into this color wheel. I was also very lucky to have my sister’s magazines with all the wonderful colors. And that’s how to make a color wheel with color strips on a poster board with four Seventeen Magazines.

Light

Our first assignment is to write about light in a blog. Light is interesting it comes from waves and through this in our perspective we get a range of colors. Light comes in the form of a wave. It has a wave length that is expressed by the greek letter lambda and it has frequency amplitude and it's frequency is measured in hertz or Hz it is interesting.