Skip to content

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Indexes
  • Laboratory
  • RSS Feed

Month: June 2007

Coffee!

2007-06-29 John Winkelman

070629_marie_catrib_coffee

Posted in PhotographyTagged food comment on Coffee!

Obligatory Squirrel Post

2007-06-28 John Winkelman

070628_squirrel_post

Posted in Photography comment on Obligatory Squirrel Post

And Another One!

2007-06-19 John Winkelman

Click here to launch the experiment.

I figured out how to implement double buffering in Flash this morning, and this is the result: 500 particles, with transparency and a blur filter.

If this seems to run slow, click on the headline to this article to open the Flash movie in a page where it isn’t competing for resources with the other experiments.

Posted in ProgrammingTagged Flash comment on And Another One!

Another One. This is Too Much Fun!

2007-06-18 John Winkelman

Click here to launch the experiment.

This is 100 particles following a simple curve formula. Anything repeated 100 times is going to be kind of interesting.

Posted in ProgrammingTagged Flash comment on Another One. This is Too Much Fun!

More Festival Photos

2007-06-17 John Winkelman

I have just uploaded 18 more photos of our Festival of the Arts performance. These were taken a few days before the actual performance, when our photographer came to our practice space to get a feel for what we would be doing.

As always, update notices will be posted here as I upload more photos.

Posted in LifeTagged martial arts comment on More Festival Photos

Market Day

2007-06-16 John Winkelman

070616_produce

This is what $31.00 bought me at the Fulton Street Farmer’s Market this morning. Is it cheaper than what I would have paid at a local grocery store? Probably. Fresher? Almost certainly. More neighborly? Absolutely!

And the specific items which were bought at a wholesaler and resold here (and you KNOW it happens)…well, I would still rather buy it here than in a supermarket.

…And FYI, the little zip-loc bag between the asparagus and the tomatoes is cilantro, not pot – although I imagine people selling pot at a farmer’s market would make a KILLING!

Posted in LifeTagged food comment on Market Day

I Have No Idea What You Are Talking About

2007-06-15 John Winkelman

070616_duck_table_river

…so here is a picture of a duck on a picnic table in the middle of the Grand River.

Posted in PhotographyTagged Grand River comment on I Have No Idea What You Are Talking About

Second Flash Experiment in A Long Time

2007-06-14 John Winkelman

Clicky

Posted in ProgrammingTagged Flash comment on Second Flash Experiment in A Long Time

First Flash Experiment in a Long Time

2007-06-11 John Winkelman

Here it is. My first real experiment in Flash 9.

Click to play.

Because, first and foremost, Flash is a trip toy.

Code for this experiment here:

package {
 import flash.display.*;
 import flash.events.Event;
 import flash.geom.*;
 import flash.filters.BlurFilter;
 public class BitmapRotate2 extends Sprite {
 private var _graphic:PolyStar;
 private var _graphic2:PolyStar;
 private var _bitmap:BitmapData;
 private var _image:Bitmap;
 private var _m:Matrix;
 private var _blurFilter:BlurFilter;
 private var xSpeed:Number = .9;
 private var ySpeed:Number = 1.1;
 public function BitmapRotate2() {
 _graphic = new PolyStar(0,0,7,false,50,30,0,0xff0000,100,0x0000ff,100);
 _m = _graphic.transform.matrix;
 _blurFilter = new BlurFilter();
 addEventListener(Event.ENTER_FRAME,registerStage);
 }
 public function registerStage(event:Event) {
 if(stage) {
 removeEventListener(Event.ENTER_FRAME,registerStage);
 _graphic.x = 0
 _graphic.y = 0;
 _bitmap = new BitmapData(stage.stageWidth,stage.stageHeight,true,0xff000000);
 _image = new Bitmap(_bitmap);
 _m = _graphic.transform.matrix;
 _graphic2 = new PolyStar(stage.stageWidth/2,stage.stageHeight/2,9,true,stage.stageWidth/2-20,stage.stageWidth/6,0,0xff0000,100,0xff0000,0);
 addChild(_image);
 addEventListener(Event.ENTER_FRAME,onEnterFrame);
 }
 }
 private function onEnterFrame(event:Event) {
 _graphic.rotation+=5;
 _graphic.x = mouseX;
 _graphic.y = mouseY;
 _m = _graphic.transform.matrix;
 _bitmap.draw(_graphic,_graphic.transform.matrix);
 _bitmap.draw(_graphic2,_graphic2.transform.matrix);
 _bitmap.applyFilter(_bitmap,_bitmap.rect,new Point(),_blurFilter);
 }
 }
 }

The “PolyStar” class is here:

package {
 import flash.display.Shape
 public class PolyStar extends Shape{
 public function PolyStar($x:Number,$y:Number,$points:Number,$vertical:Boolean,$outerRad:Number,$innerRad:Number,$lineW:Number,$lineC:Number,$lineA:Number,$bgC,$bgA:Number) {
 var points:Number = $points*2;
 var angleDelta:Number = (Math.PI*2 / points);
 var angle:Number = 0;
 var anglex:Number = 0;
 var angley:Number = 0;
 graphics.lineStyle($lineW,$lineC,$lineA);
 if(typeof($bgC)=="number") {
 graphics.beginFill($bgC,$bgA);
 } else {
 graphics.beginGradientFill($bgC.type,$bgC.colors,$bgC.alphas,$bgC.ratios,$bgC.matrix);
 }
 if($vertical != true) {
 graphics.moveTo($outerRad,0);
 } else {
 graphics.moveTo(//change orientation of polygon
 Math.cos(angle + (angleDelta/2)) * $outerRad,
 Math.sin(angle + (angleDelta/2)) * $outerRad
 );
 }
 for(var i=0;i<points;i++) br=""> angle += angleDelta;
 var temp:Number = (i%2) ? $outerRad: $innerRad;
 if($vertical != true) {
 anglex = Math.cos(angle) * temp;
 angley = Math.sin(angle) * temp;
 } else {//change orientation of polygon
 anglex = Math.cos(angle + (angleDelta/2)) * temp;
 angley = Math.sin(angle + (angleDelta/2)) * temp;
 }
 graphics.lineTo(anglex,angley);
 }
 x = $x;
 y = $y;
 }
 }
 }

Enjoy!

Posted in ProgrammingTagged Flash comment on First Flash Experiment in a Long Time

Festival 2007 Photos

2007-06-07 John Winkelman

Yesterday I posted the first few photos of the demo up on Flickr. The photos are here. Or if you would like, you can see them in a Flash slide show here.

I still have several hundred photos to sort through. I will post updates as each new batch goes up.

Posted in LifeTagged martial arts comment on Festival 2007 Photos

Posts navigation

Older posts

Personal website of
John Winkelman

John Winkelman in a diner in San Francisco

Archives

Categories

Posts By Month

June 2007
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
« May   Jul »

Links of Note

Reading, Writing
Tor.com
Locus Online
The Believer
File 770
IWSG

Watching, Listening
Writing Excuses Podcast
Our Opinions Are Correct

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2023 Ecce Signum

Proudly powered by WordPress | Theme: x-blog by wpthemespace.com