diff --git a/README.md b/README.md index d580d5d..c5320e5 100644 --- a/README.md +++ b/README.md @@ -257,7 +257,7 @@ Tres piezas, cada una con su uso: ![Hoja de marca](docs/marca/hoja.png) -- **Símbolo** (`docs/marca/simbolo*.svg`): un faro dentro de un aro grueso, como un emblema de tienda de graffiti (en la línea del sello de Writers Madrid). La luz es amarilla: un haz horizontal que se abre hacia los dos lados y ondas en círculo alrededor de la linterna. La torre, en negro, con dos franjas. Plano y rotundo, para que se lea en un favicon, una pegatina o un avatar. Versiones: positivo, negativo, sobre naranja y pegatina (círculo amarillo). Se genera con `python3 tools/faro.py docs/marca` y se copia a `sites//img/simbolo.svg` y a `favicon.svg`. +- **Símbolo** (`docs/marca/simbolo*.svg`): un faro dentro de un aro grueso, como un emblema de tienda de graffiti (en la línea del sello de Writers Madrid). La luz es amarilla: un haz horizontal que se abre hacia los dos lados y ondas en círculo alrededor de la linterna. La torre va en espiral negra y roja, con franjas en diagonal, y el tejado en rojo. Plano y rotundo, para que se lea en un favicon, una pegatina o un avatar. Versiones: positivo, negativo, sobre naranja y pegatina (círculo amarillo). Se genera con `python3 tools/faro.py docs/marca` y se copia a `sites//img/simbolo.svg` y a `favicon.svg`. - **Logotipo** (`docs/marca/logotipo*.svg`): «TAKE THE STREET» en **Grindy Brush**, todo en negro (o en blanco sobre negro). Va convertido a trazados, así que no hace falta la fuente. Hay versión en una línea y en dos. - **Firma**: símbolo + logotipo. Es lo que va arriba a la izquierda de la web. - **Ilustración** (`docs/calle.svg`): la imagen principal de la portada, nunca en la cabecera. Ver el apartado 6. diff --git a/docs/marca/simbolo-naranja.svg b/docs/marca/simbolo-naranja.svg index dc2475e..02dee93 100644 --- a/docs/marca/simbolo-naranja.svg +++ b/docs/marca/simbolo-naranja.svg @@ -1 +1 @@ - + diff --git a/docs/marca/simbolo-negativo.svg b/docs/marca/simbolo-negativo.svg index cdeb716..dbbe2de 100644 --- a/docs/marca/simbolo-negativo.svg +++ b/docs/marca/simbolo-negativo.svg @@ -1 +1 @@ - + diff --git a/docs/marca/simbolo-pegatina.svg b/docs/marca/simbolo-pegatina.svg index 8778d3d..a904196 100644 --- a/docs/marca/simbolo-pegatina.svg +++ b/docs/marca/simbolo-pegatina.svg @@ -1 +1 @@ - + diff --git a/docs/marca/simbolo.svg b/docs/marca/simbolo.svg index f57468d..f90314b 100644 --- a/docs/marca/simbolo.svg +++ b/docs/marca/simbolo.svg @@ -1 +1 @@ - + diff --git a/sites/takethestreet/es/index.html b/sites/takethestreet/es/index.html index 3839842..a4cac57 100644 --- a/sites/takethestreet/es/index.html +++ b/sites/takethestreet/es/index.html @@ -10,12 +10,12 @@ - +
- +

Take the Street

@@ -77,13 +77,13 @@
-
  • primera acampada
  • acampada
  • convocada
  • gran protesta
  • levantada

Arrastra para moverte, pellizca o usa + y − para ampliar y toca un punto para ver más.

+
  • primera acampada
  • acampada
  • convocada
  • gran protesta
  • levantada

Arrastra para moverte, pellizca o usa + y − para ampliar y toca un punto para ver más.

- + diff --git a/sites/takethestreet/favicon.svg b/sites/takethestreet/favicon.svg index f57468d..f90314b 100644 --- a/sites/takethestreet/favicon.svg +++ b/sites/takethestreet/favicon.svg @@ -1 +1 @@ - + diff --git a/sites/takethestreet/fr/index.html b/sites/takethestreet/fr/index.html index f95ba13..4468b2f 100644 --- a/sites/takethestreet/fr/index.html +++ b/sites/takethestreet/fr/index.html @@ -10,12 +10,12 @@ - +
- +

Take the Street

@@ -77,13 +77,13 @@
-
  • premier campement
  • campement
  • appel
  • grande mobilisation
  • levé

Fais glisser pour te déplacer, pince ou utilise + et − pour zoomer, et touche un point pour en savoir plus.

+
  • premier campement
  • campement
  • appel
  • grande mobilisation
  • levé

Fais glisser pour te déplacer, pince ou utilise + et − pour zoomer, et touche un point pour en savoir plus.

- + diff --git a/sites/takethestreet/img/simbolo-negativo.svg b/sites/takethestreet/img/simbolo-negativo.svg index cdeb716..dbbe2de 100644 --- a/sites/takethestreet/img/simbolo-negativo.svg +++ b/sites/takethestreet/img/simbolo-negativo.svg @@ -1 +1 @@ - + diff --git a/sites/takethestreet/img/simbolo.svg b/sites/takethestreet/img/simbolo.svg index f57468d..f90314b 100644 --- a/sites/takethestreet/img/simbolo.svg +++ b/sites/takethestreet/img/simbolo.svg @@ -1 +1 @@ - + diff --git a/sites/takethestreet/index.html b/sites/takethestreet/index.html index 4aef711..ec50a7a 100644 --- a/sites/takethestreet/index.html +++ b/sites/takethestreet/index.html @@ -10,12 +10,12 @@ - +
- +

Take the Street

@@ -77,13 +77,13 @@
-
  • first camp
  • camp
  • called
  • mass protest
  • lifted

Drag to move, pinch or use + and − to zoom, and tap a point for details.

+
  • first camp
  • camp
  • called
  • mass protest
  • lifted

Drag to move, pinch or use + and − to zoom, and tap a point for details.

- + diff --git a/sites/takethestreet/it/index.html b/sites/takethestreet/it/index.html index 069308c..7c18e50 100644 --- a/sites/takethestreet/it/index.html +++ b/sites/takethestreet/it/index.html @@ -10,12 +10,12 @@ - +
- +

Take the Street

@@ -77,13 +77,13 @@
-
  • prima acampada
  • acampada
  • convocata
  • grande protesta
  • smontata

Trascina per spostarti, pizzica o usa + e − per ingrandire e tocca un punto per saperne di più.

+
  • prima acampada
  • acampada
  • convocata
  • grande protesta
  • smontata

Trascina per spostarti, pizzica o usa + e − per ingrandire e tocca un punto per saperne di più.

- + diff --git a/sites/takethestreet/pt/index.html b/sites/takethestreet/pt/index.html index f9950b7..034b7dc 100644 --- a/sites/takethestreet/pt/index.html +++ b/sites/takethestreet/pt/index.html @@ -10,12 +10,12 @@ - +
- +

Take the Street

@@ -77,13 +77,13 @@
-
  • primeira acampada
  • acampada
  • convocada
  • grande protesto
  • levantada

Arrasta para mover, belisca ou usa + e − para ampliar e toca num ponto para ver mais.

+
  • primeira acampada
  • acampada
  • convocada
  • grande protesto
  • levantada

Arrasta para mover, belisca ou usa + e − para ampliar e toca num ponto para ver mais.

- + diff --git a/sites/tomalacalle/en/index.html b/sites/tomalacalle/en/index.html index fb640e7..bc73345 100644 --- a/sites/tomalacalle/en/index.html +++ b/sites/tomalacalle/en/index.html @@ -10,12 +10,12 @@ - +
- +

Toma la calle

@@ -97,13 +97,13 @@
-
  • first camp
  • camp
  • lifted

Drag to move, pinch or use + and − to zoom, and tap a point for details.

+
  • first camp
  • camp
  • lifted

Drag to move, pinch or use + and − to zoom, and tap a point for details.

- + diff --git a/sites/tomalacalle/favicon.svg b/sites/tomalacalle/favicon.svg index f57468d..f90314b 100644 --- a/sites/tomalacalle/favicon.svg +++ b/sites/tomalacalle/favicon.svg @@ -1 +1 @@ - + diff --git a/sites/tomalacalle/fr/index.html b/sites/tomalacalle/fr/index.html index a0fba9e..87403c8 100644 --- a/sites/tomalacalle/fr/index.html +++ b/sites/tomalacalle/fr/index.html @@ -10,12 +10,12 @@ - +
- +

Toma la calle

@@ -97,13 +97,13 @@
-
  • premier campement
  • campement
  • levé

Fais glisser pour te déplacer, pince ou utilise + et − pour zoomer, et touche un point pour en savoir plus.

+
  • premier campement
  • campement
  • levé

Fais glisser pour te déplacer, pince ou utilise + et − pour zoomer, et touche un point pour en savoir plus.

- + diff --git a/sites/tomalacalle/img/simbolo-negativo.svg b/sites/tomalacalle/img/simbolo-negativo.svg index cdeb716..dbbe2de 100644 --- a/sites/tomalacalle/img/simbolo-negativo.svg +++ b/sites/tomalacalle/img/simbolo-negativo.svg @@ -1 +1 @@ - + diff --git a/sites/tomalacalle/img/simbolo.svg b/sites/tomalacalle/img/simbolo.svg index f57468d..f90314b 100644 --- a/sites/tomalacalle/img/simbolo.svg +++ b/sites/tomalacalle/img/simbolo.svg @@ -1 +1 @@ - + diff --git a/sites/tomalacalle/index.html b/sites/tomalacalle/index.html index f56d2b4..de3e8b7 100644 --- a/sites/tomalacalle/index.html +++ b/sites/tomalacalle/index.html @@ -10,12 +10,12 @@ - +
- +

Toma la calle

@@ -97,13 +97,13 @@
-
  • primera acampada
  • acampada
  • levantada

Arrastra para moverte, pellizca o usa + y − para ampliar y toca un punto para ver más.

+
  • primera acampada
  • acampada
  • levantada

Arrastra para moverte, pellizca o usa + y − para ampliar y toca un punto para ver más.

- + diff --git a/sites/tomalacalle/it/index.html b/sites/tomalacalle/it/index.html index b1137f1..7b61785 100644 --- a/sites/tomalacalle/it/index.html +++ b/sites/tomalacalle/it/index.html @@ -10,12 +10,12 @@ - +
- +

Toma la calle

@@ -97,13 +97,13 @@
-
  • prima acampada
  • acampada
  • smontata

Trascina per spostarti, pizzica o usa + e − per ingrandire e tocca un punto per saperne di più.

+
  • prima acampada
  • acampada
  • smontata

Trascina per spostarti, pizzica o usa + e − per ingrandire e tocca un punto per saperne di più.

- + diff --git a/sites/tomalacalle/pt/index.html b/sites/tomalacalle/pt/index.html index 524767c..4ea4423 100644 --- a/sites/tomalacalle/pt/index.html +++ b/sites/tomalacalle/pt/index.html @@ -10,12 +10,12 @@ - +
- +

Toma la calle

@@ -97,13 +97,13 @@
-
  • primeira acampada
  • acampada
  • levantada

Arrasta para mover, belisca ou usa + e − para ampliar e toca num ponto para ver mais.

+
  • primeira acampada
  • acampada
  • levantada

Arrasta para mover, belisca ou usa + e − para ampliar e toca num ponto para ver mais.

- + diff --git a/tools/__pycache__/faro.cpython-312.pyc b/tools/__pycache__/faro.cpython-312.pyc index 6f542f4..9984671 100644 Binary files a/tools/__pycache__/faro.cpython-312.pyc and b/tools/__pycache__/faro.cpython-312.pyc differ diff --git a/tools/faro.py b/tools/faro.py index 859a4bd..900e29d 100644 --- a/tools/faro.py +++ b/tools/faro.py @@ -1,7 +1,7 @@ # Genera el símbolo: un faro dentro de un aro grueso, como un emblema de tienda de graffiti. # La luz es amarilla: un haz horizontal que se abre hacia los dos lados y un halo en círculo. import sys -INK, BL, NAR = "#111", "#fff", "#f04e23" +INK, BL, NAR, ROJO = "#111", "#fff", "#f04e23", "#e3141b" LUZ, CLARA = "#ffc21a", "#fff4b8" CX, CY = 50, 36 # centro de la linterna @@ -13,26 +13,26 @@ def luz_(luz, clara): halo = f'' return haz + ondas + halo -def torre(ink, papel): - # Torre que se estrecha hacia arriba, con dos franjas, la linterna y el tejado en punta. - cuerpo = f'' - franjas = "".join(f'' - for y in (56, 72)) +def torre(ink, raya, clip): + # Torre que se estrecha hacia arriba, en espiral negra y roja (franjas en diagonal), la linterna y el tejado en punta. + forma = "M42,46 H58 L65,100 H35 Z" + cuerpo = f'' + franjas = "".join(f'' for y in (50, 68, 86)) balcon = f'' linterna = f'' - tejado = f'' - return cuerpo + franjas + balcon + linterna + tejado + tejado = f'' + return cuerpo + f'{franjas}' + balcon + linterna + tejado -def faro(estilo="aro", ink=INK, luz=LUZ, papel=BL, clara=CLARA, clip="c", grueso=7, fondo_aro=None): +def faro(estilo="aro", ink=INK, luz=LUZ, raya=ROJO, clara=CLARA, clip="c", grueso=7, fondo_aro=None): if estilo == "aro": defs = f'' fondo = f'' if fondo_aro else "" - dentro = f'{luz_(luz, clara)}{torre(ink, papel)}' + dentro = f'{luz_(luz, clara)}{torre(ink, raya, clip)}' aro = f'' return defs + fondo + dentro + aro # Pegatina: círculo amarillo, la luz en blanco defs = f'' - return defs + f'{luz_(papel, BL)}{torre(ink, luz)}' + return defs + f'{luz_(BL, BL)}{torre(ink, raya, clip)}' def svg(cuerpo, fondo=None): bg = f'' if fondo else "" @@ -45,6 +45,6 @@ def simbolo_mapa(): if __name__ == "__main__": d = sys.argv[1] open(f"{d}/simbolo.svg", "w").write(svg(faro())) - open(f"{d}/simbolo-negativo.svg", "w").write(svg(faro(ink=BL, papel=INK), INK)) - open(f"{d}/simbolo-naranja.svg", "w").write(svg(faro(luz=BL, papel=NAR, clara="#ffe2a8"), NAR)) + open(f"{d}/simbolo-negativo.svg", "w").write(svg(faro(ink=BL), INK)) + open(f"{d}/simbolo-naranja.svg", "w").write(svg(faro(luz=BL, raya=BL, ink=INK, clara="#ffe2a8"), NAR)) open(f"{d}/simbolo-pegatina.svg", "w").write(svg(faro("pegatina")))