C

CdeColored_marzinitenho andado ai as voltas com letras letrinhas coisas fofas i alguns scripts este é um dos exemplos que até achei piada…
C for Colored

This entry was posted in desenho, typo, vector and tagged , , . Bookmark the permalink.

One Response to C

  1. flep says:

    é scripts é

    function bezier(point3x:Number, point3y:Number) {
    curve_mc.clear();
    curve_mc.lineStyle(2, 0xff0000, 100);
    curve_mc.moveTo(point[0][0], point[0][1]);
    var t_div:Number = 1/20;
    for(var t:Number = t_div; t <= 1 + t_div; t += t_div) {
    var xt:Number = (((point[2][0] + 3 * (point[1][0] – point3x) – point[0][0]) * t + 3 * (point3x – 2 * point[1][0] + point[0][0])) * t + 3 * (point[1][0] – point[0][0])) * t + point[0][0];
    var yt:Number = (((point[2][1] + 3 * (point[1][1] – point3y) – point[0][1]) * t + 3 * (point3y – 2 * point[1][1] + point[0][1])) * t + 3 * (point[1][1] – point[0][1])) * t + point[0][1];
    curve_mc.lineTo(xt, yt);
    }

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s