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.

OBJECTS

Art

Will be what you decide it to be

Wildlife

Activists of the Art World.

  my $agent = Art::World::Wildlife->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.

Roles

Active

Provide a participate method.

Buyer

Provide a aquire method requiring some money.

Classes

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;

Artwork

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

Place

Since it implements the Buyer role, a gallery can both acquire() and sell(). All this is encapsulated in the Buyer role because there is no such thing as somebody in the art world that buy but doesn't sale.

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.