Well I am almost finished with my commercial website development site. You can go to it @ seacloud9.com / brendonsmith.com. I will be offering a variety of services. I still need to communicate with a lawyer and have a contract created but in short I plan on offering website development skills to a few select clients. I have split my portfolio into an interactive site and a commercial site. The interactive site will be used to display some of my experimental work silverlight / flash the commercial site is clear cut and dry. I have not completed my new interactive website but I have officially deprecated my old interactive website. I will also make it a habit to publish more code examples and I will do more C#/AS3 comparisons. I find it fun to work with both languages! You can go to the interactive sites by going to seacloud9.org. This site is not currently compatible with OSX/Linux Safari. I am working on enabling to work on Apple/Linux and will do that soon. I have also been playing around with Processing it is an amazingly effective programming language to create random artistic endeavors. Here are a few random sketches.
int x = 100;
int y = 600;
int r = 80;
int n = 10;
int rs = 1200;
void setup(){
size(325, 200);
noStroke();
smooth();
noLoop();
randomSeed(rs);
}
void draw(){
background(255);
drawCircle(x,y,r,n);
}
color[] shadeTable;
void setShades(color c){
shadeTable = new color[256];
for ( int i = 0; i < 255; i++)
shadeTable [i] = color((int)(104),(int)(179),(int)(246));
}
void drawCircle(float x, float y, float radius, int num){
setShades(color(255,0,0));
float value = 126 * num / random(6.0);
for ( int i = 0; i < 255; i++){
fill (shadeTable[i], value);
}
x = random(x);
y = random(y);
ellipse(x, y, radius*2, radius*2);
if (num > 1){
num = num -1;
int branches = int(random(2,6));
for (int i = 0; i < branches; i++){
float a = random(0, TWO_PI);
float newx = random(x + cos(a) * random(100.0) * num);
float newy = y + sin(a) * random(6.0) * num;
drawCircle(newx, newy, radius/2, num);
}
}
}Here is a fun action script sketch below:
package { import flash.display.GradientType; import flash.display.SpreadMethod; import flash.display.Sprite; import flash.display.Shape; import flash.events.Event; import flash.events.MouseEvent; import flash.geom.Matrix; /** * ... * @author brendon smith */ public class Main extends Sprite { public var xPos:Number = new Number(); public var yPos:Number = new Number(); public var rWidth:Number = new Number(); public var rHeight:Number = new Number(); public var color:uint = new uint(); public var ellipse:Shape; public var matrix:Matrix; public var rectArray:Array; public function Main():void { stage.stageWidth = 325; stage.stageHeight = 400; if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } public function createEllipse():void { rectArray = new Array(); for (var i:uint = 0; i<60; i++ ) { xPos = 300; rWidth = 160; yPos = 300; rHeight = 100; ellipse = new Shape(); addChild(ellipse); rectArray.push(ellipse); var fillType:String = GradientType.RADIAL; var colors:Array = [0x078cfb, 0x07fb07]; var alphas:Array = [.28, .28 ]; var ratios:Array = [0x00, 0xFF]; var matr:Matrix = new Matrix(); matr.createGradientBox(162, 200, 0, 0, 0); var spreadMethod:String = SpreadMethod.PAD;//SpreadMethod.PAD, SpreadMethod.REFLECT ellipse.graphics.beginGradientFill(fillType, colors, alphas, ratios, matr, spreadMethod); ellipse.graphics.drawCircle(150, 150, 50); ellipse.graphics.endFill(); ellipse.x = 162; ellipse.y = 200; } stage.addEventListener(MouseEvent.MOUSE_MOVE,mouseStretchRotate); } public function mouseStretchRotate(e:MouseEvent):void { for (var i:uint = 0; i<rectArray.length; i++ ) { var radian:Number = Math.atan2(mouseX, mouseY); var spin:Number = (radian * (i * mouseX)); //trace(angle); rectArray[i].rotation = spin; rectArray[i].rotation = (spin * -1) + 90; rectArray[i].scaleX = 1 / (i / mouseX * 90); rectArray[i].scaleY = 1 / (i / mouseY * 90); } } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); createEllipse(); } } }
I also recently picked up a book on haXe and I will be posting some haXe examples soon. My first impression of haXe is very positive I really like the idea of being able to target different platforms. I have also noticed a considerable amount of people squawking about HTML5 here are my thoughts HTML5 will be cool it will also be challenging to create websites that are crossbrowser compatible because as we know not every browser is created equally. I am all for being able too do more with Javascript and HTML5 I think it will be great. Some people have also been saying HTML5 will eliminate the RIA area of JavaFX/Silverlight/Flash although I highly doubt that. Here are some interesting links on HTML5/JavaScript:
Cool Chrome Experiments
V8-GL
HTML5
Here are a few cool on-line compiler / ide:
wonderFL
Code Run
Related posts:
- Technologically Agnostic Technologically agnostic and liking it. When it comes to new...
- Kuler-Splash with Flex What Kuler-Splash does: Click the button in the far right...
- PaperVision3d The Wall This is a simple papervision3d tutorial it is only purpose...
- 404 Errors Hyped With PaperVision3d pt. 2 Capture URL for search with JavaScript and Pass it...
- Processing JS Well on occasion I like to play around with Processing. ...
Related posts brought to you by Yet Another Related Posts Plugin.




Recent Comments