Abstract Design
Abstract Design http://allisonkprice.wordpress.com/

Proyectual argentita

¡Escribe el primer comentario! Tecat

Soy un tipo de superficie. No frecuento alturas ni me sumerjo con la dignidad del submarinista. Doy saltitos, breves, frecuentes, porfiados, casi un trote. Es así, nada me eleva más de unos instantes y habiendo conocido a Euridice no se despertó (curiosa contradicción) Orfeo. Nada de esto importa. Esto es lo que voy a hacer:

Alguien me dijo que Jean Anthelme Brillat-Savarin escribió un interesante tratado titulado fisiología del gusto, tratado del cual solo me ha llegado algo así como "dime que comes y te diré quién eres". Voy a dar por bueno el aforismo y lo voy a traducir al consumo web: "dime que sitios navegas y te diré quién eres". Bueno no es exáctamente así pero pongamosle que es más o menos así.

Acá voy a dar la receta. A las recetas -esto no debería ser así- siempre les falta el know how del tacto. Esto es igual:

01 Agarramos historial a gusto

http://www.flickr.com/photos/bevinaston/2073758332/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=23
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=22
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=13
http://www.flickr.com/photos/thinctanc/2125766002/
http://www.flickr.com/photos/joshua_new/2894161279/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=12
http://www.flickr.com/photos/minachca/445153199/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=11
http://www.flickr.com/photos/32896082@N00/377293840/<br< a=""> />http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=10
http://www.flickr.com/photos/mrjphotography/4840787442/in/photostream/
http://www.flickr.com/photos/mrjphotography/4840802780/in/photostream/
http://www.flickr.com/photos/dans_la_reine/185088777/in/photostream/
http://www.flickr.com/photos/dans_la_reine/194119207/in/photostream/
http://www.flickr.com/photos/dans_la_reine/194119209/in/photostream/
http://www.flickr.com/photos/mrjphotography/4840802780/
http://www.flickr.com/photos/dans_la_reine/173160536/
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=9
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=8
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=7
http://theinspirationroom.com/daily/2006/mamazone-breast-cancer-posters/
http://theinspirationroom.com/daily/print/2006/10/mamazone-breast.jpg
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=6
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=5
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=4
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=3
http://www.flickr.com/search/?w=all&q=breast+feed&m=text#page=2
http://www.flickr.com/search/?w=all&q=breast+feed&m=text
http://www.007b.com/wonders_breastfeeding.php
http://www.007b.com/breast_gallery.php
http://en.wikipedia.org/wiki/File:Namibie_Himba_0716a.jpg
http://www.google.com/search?q=breast&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-AR:official&client=firefox-a
http://www.google.com.ar/search?q=breast&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-AR:official&client=firefox-a
http://www.flickr.com/search/?q=breast#page=6
http://www.flickr.com/search/?q=breast#page=5
http://www.flickr.com/search/?q=breast#page=4
http://www.flickr.com/search/?q=breast#page=3
http://www.flickr.com/search/?q=breast#page=2
http://www.flickr.com/search/?q=breast
http://www.flickr.com/search/?s=int&w=all&q=breast&m=text#page=2
http://www.flickr.com/photos/pa-i_ki-i/3953927457/
http://www.flickr.com/search/?s=int&w=all&q=breast&m=text
http://www.flickr.com/photos/networkosaka/2318251354/
http://www.flickr.com/search/?q=interface&s=int
http://www.flickr.com/search/?q=interface
http://www.xulen.com.ar/curricular/dt1.html
http://www.xulen.com.ar/administrator/index.php?option=com_menus&task=type&menutype=mainmenu&cid[]=0&expand=k2
http://www.xulen.com.ar/administrator/index.php?option=com_menus&task=type&menutype=mainmenu&cid[]=0&expand=jce
http://www.xulen.com.ar/administrator/index.php?option=com_menus&menutype=mainmenu&task=edit&cid[]=225#
http://www.xulen.com.ar/administrator/index.php?option=com_menus&menutype=mainmenu&task=edit&cid[]=225
http://www.xulen.com.ar/administrator/index.php?option=com_installer#
http://www.joomlabamboo.com/joomla-extensions/free-joomla-extensions/captifycontent-beautiful-captions-for-your-content
http://www.joomlabamboo.com/joomla-extensions/captifycontent-beautiful-captions-for-your-content
http://www.bambootheme.com/showcase/jul09/index.php?option=com_content&view=article&id=59&Itemid=74
http://showcase.joomlabamboo.com/jul09
http://www.bambootheme.com/showcase/jul09/
http://www.bambootheme.com/showcase/jul09
http://showcase.joomlabamboo.com/jul09/
http://extensions.joomla.org/search?q=k2&start=100
http://extensions.joomla.org/search?q=k2&start=80
http://extensions.joomla.org/search?q=k2&start=60
http://extensions.joomla.org/extensions/news-display/articles-showcase/9192?qh=YToxOntpOjA7czoyOiJrMiI7fQ%3D%3D
http://extensions.joomla.org/search?q=k2&start=40
http://extensions.joomla.org/search?q=k2&start=20
http://extensions.joomla.org/search?q=k2

02 Acá podemos hacer de dos formas:

 

  • Usamos cada URL y alimentamos delicius (todo es gusto amigos)
  • Levantamos los keywords que corresponden a las URL.
  • Guardamos cada ocurrencia tag/keyword identificado
  • Hacemos una lista de frecuencia
  • Usamos cada URL y alimentamos un code de análisis textual.
  • Levantamos las frecuencias descartando las proposiciones y demas.
  • Hacemos una lista de frecuencia.

03 Hacemos nuestro cloud avatar

 

tecatCoud avatar demostrativo, muy preliminar y totalmente falso

 

 

  Esto tiene una segunda y tercera etapa. La segunda estapa es la que más me interesa. Contrasto el cloud avatar con delicious. CA=URL de coincidencia if not CA-1=URL de coincidencia, así con iteración hasta llegar a una coincidencia. Tomamos esa URL de coincidencia y le aplicamos "network sonification" de Zach Layton para que nos devuelva un avatar sonoro.

Este fue realizado sobre el New York Times.

El paso final, y aun no lo defino, sería darle algún tipo de imágen que puede rondar el fractal o directamente levantar con la misma mecánica que CA=foto de flickr. En fin veremos

Demo code

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4 nu
 
from __future__ import (unicode_literals, absolute_import,
                        division, print_function)

"""
    Generates default avatars from a given string (such as username).

    Usage:

    >>> from avatar_generator import Avatar
    >>> photo = Avatar.generate(128, "[email protected]")
"""

import os
from random import randint, seed
from io import BytesIO
from PIL import Image, ImageDraw, ImageFont

__all__ = ['Avatar']


class Avatar(object):

    FONT_COLOR = (255, 255, 255)

    @classmethod
    def generate(cls, size, string):
        """
            Generates a squared avatar with random background color.

            :param size: size of the avatar, in pixels
            :param string: string to be used to print text and seed the random
        """
        image = Image.new('RGB', (size, size), cls._background_color(string))
        draw = ImageDraw.Draw(image)
        font = cls._font(size)
        text = cls._text(string)
        draw.text(cls._text_position(size, text, font),
                  text,
                  fill=cls.FONT_COLOR,
                  font=font)
        stream = BytesIO()
        image.save(stream, format="JPEG", optimize=True)
        return stream.getvalue()

    @staticmethod
    def _background_color(s):
        """
            Generate a random background color.
            Brighter colors are dropped, because the text is white.

            :param s: Seed used by the random generator
            (same seed will produce the same color).
        """
        seed(s)
        r = v = b = 255
        while r + v + b > 255*2:
            r = randint(0, 255)
            v = randint(0, 255)
            b = randint(0, 255)
        return (r, v, b)

    @staticmethod
    def _font(size):
        """
            Returns a PIL ImageFont instance.

            :param size: size of the avatar, in pixels
        """
        path = os.path.join(os.path.dirname(__file__), 'font',
                            "Inconsolata.otf")
        return ImageFont.truetype(path, size=int(0.8 * size))

    @staticmethod
    def _text(string):
        """
            Returns the text to draw.
        """
        if len(string) == 0:
            return "#"
        else:
            return string[0].upper()

    @staticmethod
    def _text_position(size, text, font):
        """
            Returns the left-top point where the text should be positioned.
        """
        width, height = font.getsize(text)
        left = (size - width) / 2.0
        # I just don't know why 5.5, but it seems to be the good ratio
        top = (size - height) / 5.5
        return left, top

Voy a producir un pequeño video que ilustre y escribir parte del argumento funcional.

(0 votos)
Visto 11003 veces

Deja un comentario

Asegúrate de llenar la información requerida marcada con (*). No está permitido el código HTML. Tu dirección de correo NO será publicada.