Monday, February 18, 2013
.:In Class Heart:.
In Class Heart:
Code:
<!DOCTYPE HTML>
<html>
<head>
<script>
window.onload = function() {
var canvas = document.getElementById("myCanvas");
var context = canvas.getContext("2d");
////////////////////////////////////// start below this line ??????????
//Bezier Curve Variables
var x = 400;
var y = 100;
var controlX1 = 150;
var controlY1 = 30;
var controlX2 = 125;
var controlY2 = 175;
var endX = 300;
var endY = 350;
//Quadratic Curve Variables
var controlX3 = 400;
var controlY3 = 440;
var endX3 = 400;
var endY3 = 500;
//Quadratic Curve Variables
var controlX4 = 400;
var controlY4 = 400;
var endX4 = 500;
var endY4 = 300;
//Bezier Curve Variables
var controlX5 = 700;
var controlY5 = 150;
var controlX6 = 550;
var controlY6 = 30;
var endX5 = x;
var endY5 = y;
//Rectangle Variables
var rectX = 0;
var rectY = 0;
context.beginPath();
context.rect(rectX, rectY, canvas.width, canvas.height);
context.fillStyle = 'rgb(0, 204, 255)';
context.fill();
context.stroke();
context.beginPath();
context.moveTo(x, y);
context.bezierCurveTo(controlX1, controlY1, controlX2, controlY2, endX, endY);
context.quadraticCurveTo(controlX3, controlY3, endX3, endY3);
context.quadraticCurveTo(controlX4, controlY4, endX4, endY4);
context.bezierCurveTo(controlX5, controlY5, controlX6, controlY6, endX5, endY5);
context.closePath();
context.fillStyle = 'rgb(255, 51, 153)';
context.fill();
context.lineWidth = 5;
context.stroke();
////////////////////////////////////// end above this line ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ
};
</script>
</head>
<body>
<canvas id="myCanvas" width="800" height="600"></canvas>
</body>
</html>
Wednesday, January 23, 2013
.:Welcome To Mel's World:.
Dear Diary,
I woke up this morning and looked in the mirror, the sight of my appearance had me forgetting who I was, it took a couple minutes to kick in and suddenly I remembered that am the daughter of Daniel and Jacqueline Mulenga- Mel. Clearly, am not a morning person but sometimes you got to do what you got to do.
As I drove to class the first thought that came to my mind was class introductions and ice breakers, so I thought to myself, self if you get called on what exactly are you going to say about yourself , I mean first impressions are always essential, you don't want to look like this on the first day of class...
So I decided on this; 'Hello! My name is Mel Mulenga, am a Junior and majoring in Marketing and my minor is Advertising. I love anything with art, I've taken 3 courses in Art at UT and all throughout high school I was taking art classes. My mom knew it would be something I would love because when I was younger I made her an ugly observational drawing of a vase which she found amazing, she went ahead and framed the thing, its lying somewhere collecting dust in their house,' so how does that sound?
I attended the first class, I think am going to enjoy this one though. I love classes where you feel so comfortable and free to express yourself. I was thinking to myself, I hope I really get a lot from this class, enough to help me experiment with different forms of art, help me to be more creative and take what I have learned and apply it to my field of work in the future.
Well I have to go now am starving like marvin and need food asap, later!
I woke up this morning and looked in the mirror, the sight of my appearance had me forgetting who I was, it took a couple minutes to kick in and suddenly I remembered that am the daughter of Daniel and Jacqueline Mulenga- Mel. Clearly, am not a morning person but sometimes you got to do what you got to do.
As I drove to class the first thought that came to my mind was class introductions and ice breakers, so I thought to myself, self if you get called on what exactly are you going to say about yourself , I mean first impressions are always essential, you don't want to look like this on the first day of class...
So I decided on this; 'Hello! My name is Mel Mulenga, am a Junior and majoring in Marketing and my minor is Advertising. I love anything with art, I've taken 3 courses in Art at UT and all throughout high school I was taking art classes. My mom knew it would be something I would love because when I was younger I made her an ugly observational drawing of a vase which she found amazing, she went ahead and framed the thing, its lying somewhere collecting dust in their house,' so how does that sound?
I attended the first class, I think am going to enjoy this one though. I love classes where you feel so comfortable and free to express yourself. I was thinking to myself, I hope I really get a lot from this class, enough to help me experiment with different forms of art, help me to be more creative and take what I have learned and apply it to my field of work in the future.
Well I have to go now am starving like marvin and need food asap, later!
Subscribe to:
Posts (Atom)

