# Kirupa - Personal Site (since lost, rev, and thor...)

**URL:** <https://forum.kirupa.com/t/kirupa-personal-site-since-lost-rev-and-thor/26212>\
**Category:** Uncategorized\
**Created:** [July 21, 2003, 12:32am UTC](https://forum.kirupa.com/t/kirupa-personal-site-since-lost-rev-and-thor/26212 "2003-07-21T00:32:30Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 25, 2003, 9:01pm UTC](https://forum.kirupa.com/t/kirupa-personal-site-since-lost-rev-and-thor/26212/21 "2003-07-25T21:01:12Z")

</div>

My attempt at it…

[AS]MovieClip.prototype.drawCircle = function(x, y, d, lineThick, rgb, alpha) {  
var r = d/2;  
var c1 = r\*(Math.SQRT2-1);  
var c2 = r\*Math.SQRT2/2;  
this.lineStyle(lineThick, rgb[0], alpha[0]);  
this.beginFill(rgb[1], alpha[1]);  
this.moveTo(x+r, y);  
this.curveTo(x+r, y+c1, x+c2, y+c2);  
this.curveTo(x+c1, y+r, x, y+r);  
this.curveTo(x-c1, y+r, x-c2, y+c2);  
this.curveTo(x-r, y+c1, x-r, y);  
this.curveTo(x-r, y-c1, x-c2, y-c2);  
this.curveTo(x-c1, y-r, x, y-r);  
this.curveTo(x+c1, y-r, x+c2, y-c2);  
this.curveTo(x+r, y-c1, x+r, y);  
this.endFill();  
return this;  
};  
var p = 0, t = 15;  
MovieClip.prototype.explode = function() {  
if (this.\_xscale-t\>0) {  
for (var i = p; i\<p+t; i++) {  
mc = this.duplicateMovieClip(“newClip”+i, i);  
mc.createEmptyMovieClip(“clip”, 0).drawCircle(0, 0, 20, 1, [0x000000, 0xE6E6E6], [100, 50]);  
mc.\_xscale = this.\_xscale-t;  
mc.\_yscale = this.\_yscale-t;  
mc.newX=random(550), mc.newY=random(400);  
mc.onEnterFrame = function() {  
this.\_x += (this.newX-this.\_x)/17;  
this.\_y += (this.newY-this.\_y)/17;  
};  
mc.vibrate();  
}  
p += t;  
}  
this.removeMovieClip();  
};  
MovieClip.prototype.vibrate = function() {  
this.clip.cx = this.clip.\_x;  
this.clip.cy = this.clip.\_y;  
this.clip.onEnterFrame = function() {  
this.\_x = this.cx+(1+Math.random()\*5);  
this.\_y = this.cy+(1+Math.random()\*5);  
};  
this.onRollOver = explode;  
};  
this.createEmptyMovieClip(“circle”, 1);  
circle.createEmptyMovieClip(“clip”, 1).drawCircle(0, 0, 20, 1, [0x000000, 0xE6E6E6], [100, 50]);  
circle.vibrate();[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 26, 2003, 12:00am UTC](https://forum.kirupa.com/t/kirupa-personal-site-since-lost-rev-and-thor/26212/22 "2003-07-26T00:00:01Z")

</div>

whoa! lost you \*\*\*\*\*! 😛

that’s so awesome =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 26, 2003, 12:25am UTC](https://forum.kirupa.com/t/kirupa-personal-site-since-lost-rev-and-thor/26212/23 "2003-07-26T00:25:16Z")

</div>

lost that is pretty awesome 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 3:06pm UTC](https://forum.kirupa.com/t/kirupa-personal-site-since-lost-rev-and-thor/26212/24 "2003-07-28T15:06:31Z")

</div>

The circle drawing code is from Sen… I thought I added that in my last post, but now I realize I didn’t :x

I did slightly modify the original code though, his original code had no lineStyle or beginFill… hehe.

Other than that, the rest is mine.

Glad you likes :beam:

[Previous page](https://forum.kirupa.com/t/kirupa-personal-site-since-lost-rev-and-thor/26212.md?page=1)
