May 2006 Archives

minara - minara selection

| No Comments | No TrackBacks

A more complex selection:

200605302025

200605302027

Picking doesn't handle transformations yet, that's next.

Technorati Tags:

minara - selection

| No Comments | No TrackBacks

An unassuming square:

200605292332

Clicked on with the select tool, highlighted in transparent red:

200605292332-1

So selection works on a trivial case. I need to debug it on more complex cases, and then get drag and copy & paste working.

It works!

Technorati Tags:

minara - selection buffer code

| No Comments | No TrackBacks

The code that creates the selection buffer. This will act like a translucent drag or ghost drag rather than direct manipulation. Direct manipulation would be slow as we'd have to update the translation in the main buffer and render the whole thing each time. A minara written by a large team of programmers could split the buffer into layers of dragging and non dragging buffers then re-unite them after the drag (the main buffer must always be coherent for other tools or for saving). But currently it's just me so we do it this way.

(define (highlight-selection win)(let ((highlight-buffer (ensure-window-buffer win "_highlight")))(set-buffer-variable! highlight-buffer "x" 0.0)(set-buffer-variable! highlight-buffer "y" 0.0)(insert-buffer-text-undoablehighlight-buffer"(translate (buffer-variable (current-buffer) \"x\") (buffer-variable (current-buffer) \"x\")")(insert-buffer-text-undoablehighlight-buffer"(set-colour 1.0 0.0 0.0 0.0)\n(set! old-set-colour set-colour)\n(set! set-colour (lambda (a b c d) #f)\n")(copy-selection-ranges-to-buffer (main-buffer win) highlight-buffer)(insert-buffer-text-undoablehighlight-buffer"(set! set-colour old-set-colour)\n")))

Technorati Tags:

draw-something sketch

| No Comments | No TrackBacks

A code sketch for draw-something. Yes this is really how I work. The comments will be turned into code, and may or may not be kept. Ideally they won't, the code should be self-explanatory (stop laughing at the back).

;; Simple hierachical, loop-based figure drawing.(defmethod draw-something ()(let ((the-drawing (make-drawing)))(until (drawing-finished? the-drawing)(let ((drawing-bounds (find-space-for-figure drawing)))(if drawing-bounds(draw-figure the-drawing drawing-bounds))))))(defmethod drawing-finished? ((the-drawing drawing));; Do we have some of everything?;; Have we covered enough of the drawing?;; Do we have to?: Has allocating space failed or too many attempts failed?#f)(defmethod enough-of-everything? ((the-drawing drawing));; Count the number of small, medium and large objects;; Are they >= the required amount?#f)(defmethod drawing-coverage ((the-drawing drawing));; Iterate through all the figures;; Add the area of their bounds;; Divide 1.0 by the area of the drawing and multiply by the figure bounds sum#f)(defmethod draw-figure ((the-drawing drawing) (drawing-bounds rectangle))#f)(defmethod find-space-for-figure ((the-drawing drawing) (required-area real));; Step through x, y, step 10 units or whatever;; If inside bounds of an existing figure continue;; Grow the ltrb bounds of the box (start at 0 w/h) 1 step each direction,;;  stopping when each line hits a figure bounds or the drawing edge;; Is it big enough for the requested area?;; No? Continue.;; Yes? Return it;; Finished without finding a big enough space? Let the caller know#f)

“Seed Projects”, via cc-community

| No Comments | No TrackBacks

There are two interesting examples of commercial CC projects that pay for themselves. Loca Records license their music BY-SA and make money through CD sales and performances. It can be done. :-) And Elephants Dream, a short (11 minute) computer animated film, was paid for by pre-sales of DVDs (the "street performer protocol"). Elephants Dream is also a seed project, it has all the 3D files and other media needed to make a complete short film, but it is BY rather than BY-SA.

The most successful Free Culture project, one that has outperformed a proprietary alternative, is Wikipedia. It's FDL-licensed rather than BY-SA-licensed, and it is a community project rather than a commercial project. But its use of FDL is historical, and Wikipedia does help sell a for-profit company. Wikipedia could make lots of money from adverts and from sales of DVDs and print versions, although that might affect the willingness of people to contribute.

Wikipedia is instructive in another way. It, like the GNU C compiler and Emacs, is a "seed project". That is, it is a base project that other projects can build on. The BY-SA world is conspicuously devoid of seed projects. cc-mixter, which is BY, has acapellas and individual music tracks on, but without an FSF-style body driving the creation of work and policing the contributions, the tracks contributed to mixter may use samples from CDs that do not allow relicensing or other problem media.

There really should be a Free Music Foundation that pays session musicians an honest rate to lay down drum and guitar tracks, commissions songwriters to perform acapellas, and gets the documentation required to prove that the tracks are clean for use in other BY-SA work. They may accept contributions from commercial projects *if* they pass due diligence. This really is the sort of project that is needed, there are artistic and video and literary equivalents that are needed as well.

So:

1. We need seed projects for BY-SA work, done with the rigor of the FSF's work, and funded by the community (which may include commercial interests). There are non-SA projects such as Elephants Dream and Open Clipart that help, but we need BY-SA ones to build a commons.

2. We have realworld examples of free culture projects that pay for themselves, whether through sales and performance or through the street performer protocol. We need more people following these examples in more media. Hopefully seed projects and better education will help with this.

The problems we have are the profusion of restrictive CC licenses (imagine if the FSF had felt honor bound to release a non-commercial GPL...) that distract from copyleft, and the profusion of unfocussed "community sites" that are graveyards for media under restrictive licenses but that get a lot of publicity and goodwill.

Joshua Davis Workshop - Flashmagazine

| No Comments | No TrackBacks
Rhizome.org: Art, Emergence, and the Computational SublimeThere was a big (diverse and informative) debate on eu-gene recently about how turing machines may or may not be able to be creative, so this looks interesting.

New Art: Trading Sheep

| No Comments | No TrackBacks
New Art: Trading SheepSomeone else gets the sheep! This is the best artwork I've seen this year. It moves the content of art on, expanding what and how you can show. You can look at it conceptually or relationally, but that its aesthetics is thought provoking (and in part provoked by thought) leads to the internal complexity of the artwork, not any tedious essays about it. This goes to the audience, and it takes the audience new places.

Notes Towards Free Culture

| No Comments | No TrackBacks
Charging Ansel Adams to Shoot in the National ParksAt least they're not asserting copyright on scenes of natural beauty yet, although you can see how they could be trademarked obviously. ;-)France Considers Anti-DRM 'iPod Law'Go France! It's funny how media companies describe interoperable DRM as "piracy". How about I pay them in money they can't use with anyone but me, would that be OK?

This Site Was Down…

| 1 Comment | No TrackBacks

This site was down for most of yesterday and today (24th-25th May 2006). I didn't receive any email sent to me during this time. So if you got bounced whilst trying to tell me that I've won any prizes, or that you need my bank details in order to transfer money out of Nigeria or anyone you have exciting news about how I can be the envy of the other guys in the locker room, you'll need to resend.

William Latham Horn

| No Comments | No TrackBacks

That's the search string that finally worked. I've had two orders for William Latham books via abebooks cancelled since the talk Latham gave last week, and prices on his books have gone up. Thank goodness for the internet.

The original research paper that describes Latham's IBM system:

http://www.research.ibm.com/journal/sj/284/ibmsj2804M.pdf

An implementation for PS2:

http://www.research.scea.com/research/pdfs/RGREEN_procedural_renderingGDC2001.pdf

A toy Java implementation:

http://www.evolutionzone.com/hardwork/old_form/java/horn.java

And a toy c implementation:

http://nixfiles.com/src/horn

Technorati Tags: ,

minara - select tool code

| No Comments | No TrackBacks

Selection is just about there:

(define (select-mouse-up win button x y)(let ((selection (pick-path-window win x y)))(when selection(if (= button 1)(set-selection-ranges-var (window-buffer-main win)
      selection)
         (append-selection-ranges-var (window-buffer-main win)selection)))))

The problem I have now is how to highlight the selection. Minara isn't meant to do outlining (there are very good reasons for this). I was going to just override the colour on the selection buffer to be translucent red (or something) but I'm worried that will be inefficient. Possibly I can cheat and have an outline-rendering-protocol that is private, but I'm worried if I put hooks in for that people will try to use it in the main buffer. So I think I'll have to take the inefficient but correct route, which seems to be the unofficial minara motto.

Technorati Tags:

Artists Interview Artists: Rob Myers

| No Comments | No TrackBacks
Thinking About Art: Artists Interview Artists: Rob MyersRob Myers, an artist from Peterborough, England, participates in the Artists Interview Artists Project. Below Rob responds to another artist's five questions (William Andrews from Starkville, MS). In order to participate, Rob had to provide me with five questions for some other artist to answer. The assigning of questions to artists is completely random.

[cc-licenses] Getting to Version 3.0

| No Comments | No TrackBacks
[cc-licenses] Getting to Version 3.0Mia Garlick, CC General Counsel, announces the proposed CC 3.0 timeline. If you are interested in Creative Commons and wish to be involved in the 3.0 process, do subscribe to cc-license-discuss.FDL compatibility isn't in 3.0, which despite having fought hard for I have mixed feelings about, hopefully the "other way" Mia mentions will be better. And I'm not sure about an icon for "right of integrity" in strong moral rights jusrisdictions, but this is better than the current, implicit, situation. The generic licenses and the clarifications for various parties all sound great, and I'm really excited about the drive to clearly identify the "free" licenses.Here's to 3.0!

khaaan.com

| No Comments | No TrackBacks
khaan.comNo, I have no idea.

Look, See: Painting The Digital River

| No Comments | No TrackBacks
Look, See: Painting The Digital RiverI saw this book a little while back but haven't had a chance to read it yet. It looks like a study of art from the Paintbox end of the spectrum rather than the code art end, but in a genuinely engaged way. The Paintbox is the only genuinely modern (technical) form of painting. If he were alive today Leonardo would use one. So what prevents most "serious" artists from picking up a Wacom and engaging with the medium?
aesthetic computing book - data visualization & visual culture - information aestheticsOne of the things that the better work in the Boredomresearch show drove home to me is that aesthetics and computation can be equivalent. This isn't meant to trivialise either, or reduce one to the other. But when shape grammars are Turing Complete and a 2D Turing machine is aesthetic, there's at least an interesting overlap between two domains that couldn't seem more different on the face of it.

Minara

| No Comments | No TrackBacks

Sometimes it's easiest to so something recursively:

(define (combine-ranges a b)(cons (min (car a) (car b))(max (car a) (cdr b))))(define (combine-selection-ranges-aux range ranges sorted)(if (ranges)(let ((next-range (car ranges))(rest (cdr ranges)))(if (selections-overlap? range next-range)(combine-selection-ranges-aux (car rest)(cdr rest)(cons (combine-ranges rangenext-range)sorted)))(combine-selection-ranges-aux next-range 	                                      rest(cons range sorted))))(cons range sorted))(define (combine-selection-ranges ranges)(combine-selection-ranges-aux (car ranges) (cdr ranges)))

But I haven't debugged this yet and I think I may have missed a case. :-)

Who, hah! Hah, hah, hah Who, hah!

| No Comments | No TrackBacks
Ooh yes. A cliffhanger.Excellent stuff. Was it really only 45 minutes? I just wish they'd drop the soap plots, the crap music and the kiddie TV lighting. And another thi - ahhhhhh! everyone is about to be turned into Cybermen! Ohshitohshitohshit!

Minara

| No Comments | No TrackBacks

Working on copy & paste:

(define (cut-selection-ranges-to-copy-buffer-var buffer)(copy-selection-ranges-to-copy-buffer-var buffer)(clear-selection-ranges-var buffer))(define (paste-copy-buffer-var buffer)(buffer-insert-undoable buffer#f(buffer-to-string (ensure-copy-buffer-var buffer))));;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Copy;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;(define (do-copy-key)(copy-selection-ranges-to-copy-buffer-var (window-buffer (window-current))))(keymap-add-fun %global-keymapdo-copy-key"Cc")

Now when I think "I wish there was a function to do x...", more often than not I find I've already written it. :-)

JFDI

| No Comments | No TrackBacks
JFDI

Everybody Loves Eric Raymond

| No Comments | No TrackBacks
It's true because it's funny:http://geekz.co.uk/lovesraymond/

Broom, Broom!

| No Comments | No TrackBacks
I finally got my first car today.

Thought For The Day

| No Comments | No TrackBacks
Some things are far too important to take seriously.

Thatcher, Thatcher, Milk Snatcher

| No Comments | No TrackBacks
Mrs Thatcher is the scientist who developed the method for replacing dairy fat with vegetable oil that allowed soft ice cream to be made.Mrs Thatcher is the conservative politician who stopped free milk for schoolchildren in the United Kingdom."Thatcher, Thatcher, milk snatcher!"

The Work Of Art

| No Comments | No TrackBacks
The work of art will not do the work of art.

Mutator 2

| No Comments | No TrackBacks
Mutator 2William Latham is back making evolutionary artwork! w00F!

Off Center » Think…

| No Comments | No TrackBacks
Off Center » Think… Start Seeing MotherwellsIf you can read this, you're Chuck CloseMy Other Car is a REAL Work of Art

Rhizome.org: spacer.gif{ART}

| No Comments | No TrackBacks
Rhizome.org: spacer.gif{ART} Our curatorial staff hand picks the most extraordinary examples of the spacer.gif to offer to you, our patron, as handsome limited edition archival prints.
Boing Boing: Vatican astronomer denounces Creationism as "paganism" Religion needs science to keep it away from superstition and keep it close to reality, to protect it from creationism, which at the end of the day is a kind of paganism - it's turning God into a nature god

Speak Up › Pity…

| No Comments | No TrackBacks
Speak Up › Pity... How I wish for simpler times.An excercise in clever-clever iconographic simulacrity eclipsing humanity that leaves a different chill in your heart from the one it probably thinks it will.
GROKLAWThe British Library - "The world's knowledge" DRM'd and for a priceThis is very bad. Microsoft are - what's the word I'm looking for? - encouraging the British Library to lock our heritage away behind DRM that ignores Fair Dealing and FOI.I can't believe the British Library are selling us out like this, and I can't believe that they are doing it so eagerly. Anyone involved in this should be ashamed of themselves.
John K: Animation School lesson 1/ CONSTRUCTION/ The HeadJust about every cartoon being made today is based on the principles and style of cartoons made in Hollywood in the 1940s - Anime, Cartoon Network flat stuff -even the Simpsons. The only difference is, that some of the principles that make the classic stuff look so good have been lost.

Biggest Sculpture Evar

| No Comments | No TrackBacks
Damn Interesting » Earth's Artificial Ring: Project West FordIf they'd forbidden people to photograph it they'd basically have pre-empted anything Christo could ever do. :-)

A Swarm of Angels

| 1 Comment | No TrackBacks
(via Boing Boing) A Swarm of Angels You can help invent the future of film by joining the Swarm in creating a £1 million pound film and giving it away to over one million people in one year.Right. I've learnt my lesson about this, so I'm phrasing it as a question:Why is this going to be placed under a NonCommercial sharealike licence? The Orange project's film, Elephants Dream, was released without that limitation, and it was paid for using the street performer protocol as well.If people are paying £25 and working on the film, why should they not get the rights to exploit their film commercially? This is what NC means, that the people who pay for and work on this film are excluded from it in a way that the film's organiser isn't.Is there a good legal or organisational reason for this, is it just commercial=bad, or is it trying to prevent the people who pay for the film from being ripped off? Only the first would make any sense.And I hope the film will be available under a different licence for cinemas, otherwise they won't be able to charge admission when they show it...

Ventriloquism 2

| No Comments | No TrackBacks

Imagine a horror film about an insane ventriloquist who believes that his possessed dummy is talking. What he believes the dummy to be saying is not what the dummy is saying. The dummy can appeal to the audience, but the ventriloquist will not understand the audience's reactions. Especially when the dummy tells the audience that the ventriloquist thinks it wants him to murder his wife.

How can the ventriloquist silence the dummy? Even if he destroys it or exorcises it he will only silence its real voice. He will still hear what he thinks it is saying. And if his insanity is diagnosed and treated after this, he will still be unaware of what he has actually done.

Technorati Tags:

 Wikipedia En 6 6A Marie Antoinette By David

Marie Antoinette on the Way to the Guillotine, by Jacques-Louis David 1793 Pen and ink, 150 x 100 mm Musée du Louvre, Paris

http://en.wikipedia.org/wiki/Image:Marie_Antoinette_by_David.jpg

Technorati Tags: ,

Relational Art 3

| No Comments | No TrackBacks

1

Marie Antoinette was not French by birth.

Marie Antoinette did not say "let them eat cake", and that is a mistranslation anyway.

Marie Antoinette was executed during the French Revolution. She was the last queen of France.

2

Marie Antoinette had a dairy farm where she acted out the fantasy of being a milkmaid. She did not milk the cows, servants took care of that. They also made sure that the farm was kept spotlessly clean and that the animals were sweetly perfumed.

The spectacle of social virtue even in uneducated agricultural labourers is the genre content of the Pastoral. This bucolic sentimentality is a lullaby of social order even in those with least to gain from society, in this case the social order of a monarch who would later lose her head at the hands of the unwashed. Marie Antoinette's milkmaid fantasy was Pastoral as consumed experience rather than as viewed image or read text.

The experiences and relations of agricultural labourers stripped of necessity or untidiness and then aestheticised are - what exactly? Remove the power and satisfaction of the monarch from the equation and you have inept wannabe agricultural labourers who don't actually wannabe agricultural labourers. This must have filled a few spare afternoons but it told those who took part in it very little about country life, and nothing that they didn't want to hear.

Technorati Tags: , ,

Appelogen en apologen » Laat je tekeningen makenA blog post about draw-something with a nice colour image from the program.

“Canto For Evie” At Sharing Is Daring

| No Comments | No TrackBacks
One of my remixes of Tom Chance's "Remix Broad Street" is on the Sharing is Daring flickr stream:Canto For EvieAnd someone has already remixed it:1020Add to the remixes!

Freedom Defined

| No Comments | No TrackBacks
We believe that the highest standard of freedom should be sought foras many works as possible. And we seek to define this standard offreedom clearly. We call this definition the "Free Content andExpression Definition", and we call works which are covered by thisdefinition "free content" or "free expressions".Neither these names nor the text of the definition itself are finalyet. In the spirit of free and open collaboration, we invite yourfeedback and changes. The definition is published in a wiki. You canfind it at:http://freedomdefined.org/

The “November” Matrix

| No Comments | No TrackBacks
NEWSgrist - where spin is art: The "November" Matrix: Art, Theory, Criticism, Palaver Is the influential October magazine, the flagship journal of art theory, a spent force?Art & Language certainly thought so in the 1970s. I have that issue of Art-Language now. It's very funny.

2+2=3 (Updated)

| 2 Comments | No TrackBacks
BloodspellThere's no evidence to show that "piracy" hurts artists' incomes.So of course: BloodSpell is released under a "Creative Commons Attribution, No Commercial Use" License. That clear? Piracy doesn't hurt, so they are releasing the work under a NonCommercial licence. Excuse me whilst I fire up my Che Guevara t-shirt.Update: Bloodspell's makers tell me that they don't have a licence from Bioware, who make the software they use, to release their work commercially. Since the work is a movie/video, I'm guessing this has more to do with the assets than the engine (it's Neverwinter Nights). But that explains the NC license. And makes it cool that they got it.I will now do my people's traditional dance of apology and offer various sacrifices to Strange Company.
FURNY: More Mature Escapades in Hi-fi

About this Archive

This page is an archive of entries from May 2006 listed from newest to oldest.

April 2006 is the previous archive.

June 2006 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Creative Commons License
This blog is licensed under a Creative Commons License.
Powered by Movable Type 4.23-en