The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Art::World - Agents interactions modeling 🎨

SYNOPSIS

use Art::World;

my $artwork = Art->new_artwork(
  creator => [ $artist, $another_artist ]  ,
  value => 100,
  owner => $f->person_name );

DESCRIPTION

Art::World is an attempt to model and simulate a system describing the interactions and influences between the various agents of the art world.

More informations about the purposes and aims of this project can be found in it's manual. Especially, the history and the objectives section could be very handy to understand how this is an artwork using programming.

ROLES

Active

Provide a participate method.

Buyer

Provide a aquire method requiring some money. All this behavior and attributes are encapsulated in the Buyer role because there is no such thing as somebody in the art world that buy but doesn't sale.

Showable

Only an object that does the Showable role can be exhibited. An object should be exhibited only if it reached the Showable stage.

Collectionable

If it's collectionable, it can go to a Collector collection or in a Museum.

CLASSES

Agent

They are the activists of the Art World, well known as the wildlife.

my $agent = Art::World->new_agent( name => $f->person_name );

$agent->participate;    # ==>  "That's interesting"

A generic entity that can be any activist of the Art::World. Provides all kind of Agents classes and roles.

Art

Will be what you decide it to be depending on how you combine all the entities.

Artwork

The base thing producted by artists. Artwork is subclass of Art::Work that have a Showable and Collectionable role.

Artist

The artist got a lots of wonderful powers:

create
have_idea all day long

In the beginning of their carreer they are usually underground, but this can change in time.

$artist->is_underground if not $artist->has_collectors;

Collector

Just another kind of Place, mostly commercial.

Since it implements the Buyer role, a gallery can both acquire() and sell().

Museum

Yet another kind of Place, an institution with a lot of Artworks in the basement.

Place

Public

Work

There are not only Artworks. All Agents produce various kind of work or help consuming or implementing Art.

AUTHOR

Seb. Hu-Rillettes <shr@balik.network>

CONTRIBUTORS

Sébastien Feugère <sebastien@feugere.net>

COPYRIGHT AND LICENSE

Copyright 2006-2020 Seb. Hu-Rillettes

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.