Skip to content

Ecce Signum

Immanentize the Empathy

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

Month: April 2004

Spam III: Liberal Education

2004-04-13 John Winkelman

People who sent me spam this week:

Mementos C. Aspires
Population B. Infanticides
Preciousness A. Bidirectional
Shyer L. Refugee
Mischievousness H. Guadalquivir [1]
Archivist E. Wrestling
Distentions C. Fishbowls
Neonates S. Carriageway
Reddest C. Impairment
Buzzard U. Coloratura [2]
Media H. Goldenest
Chic S. Newscast
Relives V. Etruscans [3]
Telemachus F. Neutralizers [4]
Unbend L. Unveil
Upholstery K. Burgeon
Lubumbashi H. Actress [5]
Tackled G. Transliterations
Knitter H. Klingon

[1] Guadalquivir – one of the major rivers of Spain, passes through Cordoba and Seville, ends in the Atlantic Ocean.

[2] Coloratura – The ornamentation of music written for the voice with florid passages, especially trills and runs.

[3] Etruscan – Of or relating to ancient Etruria or its people, language, or culture.

[4] Telemachus – The son of Odysseus and Penelope, who helped his father kill Penelope’s suitors.

[5] Lubumbashi – capital of Katanga province, SE Congo (Kinshasa)

Posted in Programming comment on Spam III: Liberal Education

njil9uects

2004-04-07 John Winkelman

Sick. Ear infection. Will post more later. Argh.

Posted in Life comment on njil9uects

Flash Stuff Here. Move Along…

2004-04-05 John Winkelman

In the middle of a cool project which is right on the cusp of being designered into oblivion, I discovered a nifty way to make things “snap to” a grid. Copy-and-paste into Flash MX/MX2004.

var gridSize = 20; // size of grid
 var nodeSize = 20; // size of individual nodes
 var nodes = 50; // number of nodes
 var radius = Stage.height/3; // radius of drawn circle
 var centerX = Stage.width/2; // center horizontally
 var centerY = Stage.height/2; // center vertically
 var steps = (Math.PI*2) / nodes; // math stuff
 var i=0;
 this.onEnterFrame = function() {
 if(i < nodes) {
 var m = _root.createEmptyMovieClip("node"+i,i);
 m.lineStyle(0,0x000000,100);
 m.beginFill(0x000000,10);
 m.moveTo(0,0);
 m.lineTo(nodeSize,0);
 m.lineTo(nodeSize,nodeSize);
 m.lineTo(0,nodeSize); m.lineTo(0,0);
 m.endFill();
 var mx = centerX + radius*Math.cos(steps*i); // horizontal snap
 if(mx%gridSize != 0) mx += (Math.floor(gridSize/2) - (mx%gridSize));
 var my = centerY + radius*Math.sin(steps*i); // vetical snap
 if(my%gridSize != 0) my += (Math.floor(gridSize/2) - (my%gridSize));
 m._x = mx;
 m._y = my;
 i++;
 radius += .1;
 } else {
 this.onEnterFrame = null;
 }
 }

It’s the modulus (mx % gridSize) which makes it cool. The Math.floor() which follows could also easily be Math.round() or Math.ceil(), depending on the constraints of the project.

Posted in ProgrammingTagged Flash comment on Flash Stuff Here. Move Along…

People Who Spammed Me This Week

2004-04-02 John Winkelman

Banged A. Outmaneuvered
Stockades U. Khufu
Bridegrooms O. Serviles
Conjugates B. Pulleys
Posh G. Brooches
Horne P. Tatar
Bogies R. Jarred
Inhabit B. Haynes
Conclave B. Frenzied
Flexibility J. Carries
Piranhas I. Canned
Hyperbolae P. Unsnarling
Aristocrat L. Banality

Posted in Programming comment on People Who Spammed Me This Week

Blast From the Past

2004-04-01 John Winkelman

Today while researching The Brain I stumbled across the first website I ever visited on a regular basis: Justin’s Links from the Underground . It was through his site that I discovered all of the weirdness the web had to offer, circa 1996. I am quite happy that his site (which by now must be one of the oldest in the world) is still up and running. W00T for Justin!

Posted in Life comment on Blast From the Past

Personal website of
John Winkelman

John Winkelman in closeup

Archives

Categories

Posts By Month

April 2004
S M T W T F S
 123
45678910
11121314151617
18192021222324
252627282930  
« Mar   May »

Links of Note

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

Watching, Listening
Writing Excuses Podcast
Our Opinions Are Correct
The Naropa Poetics Audio Archive

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

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

© 2025 Ecce Signum

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