Translate

lunes, 26 de octubre de 2009

Swarms in Inkscape

Voy a mostrar un pequeño tutorial de Inkscape para hacer "enjambres" de flechitas., hay muchas maneras de hacer esto. / This is a short Inkscape tutorial that shows one possible way to do swarms.
Paso 1 / Step 1:




Contruye un circulo sin relleno. / Make a circle without filling.

Paso 2 / Step 2:
Con la herrameinta de edición de nodos incrementa el numero de nodos en el circulo (cada nodo será un agente en el enjambre). / Select the node tool and increasse the numebr of nodes (each node will be an agent in the swarm).



Paso 3 / Step 3:
Usando el menu de propiedades de línea, elije que se muestren flechas en nodos intermedios. / On the stroke properties menu, choose to show middle markers, I used arrows.






Paso 4 (Opcional) / Step 4 (Optional):
Usando el menu Efectos -> Modificacion de camino/linea (no se como se llama en la versión en español) -> "Jitter"(sacudir/mezclar?) nodos, deforma un poco el círculo . / Using the menu Effects -> Modify Path -> Jitter nodes add some noise to the path.




Paso 5 / Step 5:
En Inkscape los marcadores y las lineas no comparten el color (algunos creen que e sun bug), por esto podemos remover el color de la linea y los marcadores serán visibles. Remueve el color de la linea haciendo click derecho en el cuadro del color de línea en la esquina izquierda inferior de la plantalla on en el menu d epropiedades de línea que usaste antes. / Using the feature (some people think it is a bug) of having markers of different color than the one of the stroke, remove the stroke (right-click on the color of the stroke, on the bottom left of the screen) or in the stroke properties menu we used before.


Nota que algunas flechas estan fuera del dibujo y no son visibles. Puedes arreglar esto con la herramienta de edición de nodos, moviendo los nodos parahacelros visibles. Ahi miestro como arreglé la flecha en la parte inferior. / Note that some markers are outsid eof the drawing region. To fix this you could use the node edition tool and rerrange the rrows that are not visible (or partially visible). Here is my fix of the bottom arrow.




El ejambre esta listo! aumenta mas lineas para hacer enjambres mas locos! / The swarm is done! Add lines to do crazy swarms!




Comparte tus resultados en el blog! / Share your results!

Gracias. / Thanks.

miércoles, 7 de octubre de 2009

a day Technorama...is not enough!!!

Hola,
El martes estuve con un amigo en Technorama www.technorama.ch, en Wintenthur, Suiza.
Mortal el lugar...si alguno con guita se manda a visitar suiza, o viaja de suerte, no se pierdan esto.

Aqui algunos videitos que pude filmar... perdon por la calidad pero solo tenia el celular.





Si quieren mas busquen Technorama en youtube!

English
Above there are a few videos I took in Technorama, Wintenthur. The place is amazing, and a day is way too short for doing an extensive visit.
Check Youtube on Technorama for more videos...

:D

lunes, 9 de marzo de 2009

Dynamical Entities

After a long time without posting - and thanks to a comment from Luciano - I am posting again.
I read in a few blogs that posting periodically becomes an issue if we pursue long post. Some guys opt for reducing the length of their post in order to keep posting without big time gaps. I will try the same.
Today I will reproduce a nice example taken from a discussion in a forum about physics ( alas in Spanish). The author of the post, Alejandro Kolton, was trying to introduce (and he did it!) the notion of sink and limit cycle in dynamical systems in a conceptual way. He proposed the following rule

TOE rule
  1. Take an arbitrary Integer
  2. Count the number of Odd digits, O=# Odd digits
  3. Count the number of Even digits, E=# Even digits (including zeros)
  4. Add the total, T=O+E
  5. Write the number TOE
  6. Go back to 2 and use this new number.
Applying the rule to any number will send you to a fixed value, namely
321=TOErule(321)

A second rule was proposed by a forum member: Take into account the number of
zeros! The new rule is

TOEZ rule
  1. Take an arbitrary Integer
  2. Count the number of Odd digits, O=# Odd digits
  3. Count the number of Even digits, E=# Even digits (excluding zeros)
  4. Count the number of zeros, Z=# zeros
  5. Add the total, T=O+E+Z
  6. Write the number TOEZ
  7. Go back to 2 and use this new number.
This new rule has a limit cycle of period 3.
4211=TOEZrule(4031)
4220=TOEZrule(4211)
4031=TOEZrule(4220)

Or in the field's jargon
4031=TOEZrule³(4031)

Here is an example,
1234567890
TOE=1055 TOEZ=10541
TOE=431 TOEZ=5311
TOE=321 TOEZ=4400
TOE=321 TOEZ==4022
-----
TOE=321 TOEZ==4031
TOE=321 TOEZ==4211
TOE=321 TOEZ==4220
-----
TOE=321 TOEZ==4031
TOE=321 TOEZ==4211
TOE=321 TOEZ==4220

I hope you find these games amusing!
If you would like to learn more about dynamical systems, I recommend the book by S. H. Strogatz (my Hero! :D) .

domingo, 17 de agosto de 2008

Sudoku para 2 - Two players Sudoku (English at the bottom)

Hola!
Se solicita perdón por el tiempo ausente, pero vieorn como es esto de los blogs. Se hace cuanod se quiere... jeje
Hoy voy a comentar una "invención" de mi autoría, es una version para dos jugadores del Sudoku (pongo las comillas porque ya se le habrá acurrido a más de uno). Aquí, en Suiza, el popular juego aparece todo los días en versiones facíl y dificíl en todos los diarios (de allí que sea popular!). Además los celulares lo traen por defecto entre los juegos del aparato. Estando ya un poco aburrido de jugar solo me pregunte si habría alguna forma de convertir al juego altamente individual en un mecanismo de interacción. Aquí pongo mi solución:
Materiales:
  • Dos lápices o lapiceras de distinto color.
  • Un juego de Sudoku.
  • Un compañiero/a dispuesto a jugar.
Las reglas del juego se mantienen pero ahora los dos jugadores pueden completar cuando quieran (no hay turnos) y el objetivo es terminar el Sudoku con la mayor cantidad de números en nuestro color.
Reglas adicionales:

  1. Cada jugador puede desconfiar del número que el otro jugador ha completado (Challenge!!). En caso de que el número sea incorrecto, el jugador culpable del error deberá esperar que su compañero complete 2 veces.
  2. Si un jugador descubre más de 3 errores (pueden ser mas o menos dependiendo del nivel. Con 1 error es altamente adrenalínico) la partida concluye y se considera Ganador al jugador que descubrío los errores (Qué tal queda si limitamos la cantidad de desconfíos??).
  3. Si el juego concluye en un error, es decir no se puede seguir completando, los jugadores pueden decidir buscar el error. El jugador al cual se le atribuya el error GANA la partida puesto que se considera error del contrincante no corroborar.
En un principio las reglas adicionales parecen un poco tontas pero inducen lo siguiente:
  • El jugador que completa más rápido genera que su contrincante pierda tiempo verificando.
  • A su vez completar más rápido induce errores que pueden generar la perdida dle partido.
  • Se desarrolla la comunicación a través del juego.
  • Es un juego de equilibrio y por lo tanto el placer viene con la experiencia!
Y? van aprobar? Comentarios bienvenidos....Hasta la próxima.

Hello again, sorry for the long time without post, but in blogs is like that...you post when you want :D.
Today I will comment some kind of invention I did concerning the game Sudoku. As the title says is a version for two players. I was kind of boring of playing this amazing game alone and I thought maybe is was good to turn it into an interaction activity rather one of isolation (as it is, usually). So her eis my solution:
Materials:
  • Two pens or pencils of different color.
  • A Sudoku board (not already finished if possible, :D).
  • A willing to play partner.
The game is played as usual but now both player can input numbers whenever they want (there are no turns). The objective of the game is to finish the Sudoku with the most numbers in our color.
Aditional rules:
  1. Each player can call a Challenge on the other player's input . That means that he/she thinks the number is not correct and he/she will proceed to check it. If he/she founds that the number is wrong, he/she can play two times and the other player must wait.
  2. If more than 3 Challenges happen to be right (Could be more or less depending on the level of the players. With only 1 is thrilling), that means that after calling a challenge a player found a mistake, 3 times (he/she could have call many more challenges...what about limiting the numberof challenges??) the game is finished and the player who called the challenges is the winner.
  3. If the Sudoku comes to an error. That means that we cannot continue playing because the numbers are not corrrect, the player could decide to check which is the wrong number. If there is an error, the player who committed the error is the WINNER because we consider that the other player must always check (calling a challenge or not).
The rules seems to be a little silly but I have check they induce the following:
  • The fastest player obliges the other to check more often and consecuently slowing him/her down.
  • Playing faster induces more errors that can lead to lose the game.
  • Emerging communication through the game.
  • Equilibrieum is the key, hence pleasure comes with experience.
Have you tried? What do you tinhk? Comments are wellcome! Till next time!

martes, 4 de marzo de 2008

Carnaval toda la vida / Forever carnival

Una vez más, luego de todo un mes de escribir proyectos para conseguir fondos, vuevlo a postaer en el blog. Esta vuelta se viene doble: un post al principio del mes y otro al final.
No tenía pensado escribir este post hoy, pero buscando una dibujo de un Dragón para el proyecto Cavemen me vi obligado a recorrer las 2332 fotos que he acumulado desde el año 2000 hasa la fecha. Es increíble como cada imagen (de alrededor de 2 MB cada una) desata un sinfin de recuerdos y sensaciones (no creo que el mejor disco duro del momento pueda contener esa maraña de asociaciones y sensaciones). Que diferente la maduración emocional que nuestra generación debe realizar comparada con la de nuestros padres o abuelos. Hoy me vi expuesto a una rememoración casi forzada producida por estas imágenes y no queda otra que aprender a disfrutar de esos sentimientos extraños, pesadez por el tiempo vivido. Los recuerdos parecen pesar cuando se los trae al presente. Que cerca y tentador aparece el camino a la triztesa, pero de alguna manera se lo esquiva y uno se siente más fuerte. Cada vez que veo las personas que estuvieron y ya no están (personas y animales...); luego las personas que están y en algún momento no estarán, dentro de mi se repite una sensación, un estímulo difícil de explicar. Es como una letanía sin palabras, es mi piel erizandose y luego volviendo a su estado natural para una vez más erizarce, es mi mente viajando hacia atras y hacia adelante, son mis ojos humedecidos y a la vez mi determinación a los gritos. Supongo que mis palabras no son nuevas y me parece que Joan Manuel Serrat ya se hizo cargo cantando: Todo pasa y todo queda, pero lo nuestro es pasar, pasar haciendo caminos, caminos sobre el mar... (en realidad son palabras de Antonio Machado).
En fin, los que quieran, pueden agradecerle a la madeja de sentimientos que es el ser humano por este post nocturno en el que me he embarcado (vale preguntarse porqué). El tema de hoy, como dice el título es el Carnaval en Suiza, que se llama Fastnach. Las distintas ciudades van alternando semanas en las cuales cada una festeja el carnaval. En todas ,la costumbre es mas o menos similar: mucha música de bandas, mucha gente disfrazada. Les muestro fotos de Luzern/Lucerna/Lucerne pero anduve en varias ciudades acaparando experiencia. La mas entretenida fue en Liestal, donde todavía se practica la purificación por fuego (por suerte ya no queman a nadie). Pero bueno, vamos a las fotos... y el video.


Hello once again. After a whole month of writing proposals I am back to the posting activity. This month will be double: one post at the beginning and another post at the end.
As you may notice, the Spanish version is quite long. That is because the desired for writing this post was forged while looking my photo collections (2332 photos from 2000 till now) in the search for a drawing of a Dragon I used to have (to be use as inspiration for the Cavemen project). I will try to express my self in English, but I am not sure if I am able to do it.
While looking at my pictures (about 2 MB each) I was amazed by the massive tide of memories and associations each frame produced (I bet not even the best hard drive of the moment can store all that information). How different is our emotional evolution compared to the one of our parents or grandparents. Today I was exposed to an almost forced recapitulation induced by the pictures and I had to struggle with a plethora of strange feelings, feeling of heaviness of the times lived. It seems that memories do weight when we bring them to the present. The path to sorrow and depression is so close and tempting... but somehow we (well, at least some of us) manage to keep going and we feel ourself bubbling with new forces. Every time I saw people that were among us and they are no more, and the people that are among us now but sooner or later will be no more; I felt in my guts a pulsating sensation that is not easy to explain. Just like a wordless litany, shivers come and go,my mind travels to the future and the past, my eyes get wet but my will screams loudly. I guess my words are not new and I think Joan Manuel Serrat already sang beautifully (citing Antonio Machado): Everything passes and everything remains, but we are meant to pass, to pass leaving trails, trails on the sea...
Ok, perhaps somebody would like to thank the crazy arrangement of feeling that make me wrote this post...or maybe nobody. As the title suggests the topic of this post is Carnival on Switzerland. Carnival is celebrated in different cities on different weeks of January. On each city you can enjoy more or less the same: lots of music and lots of disguised people. I was in Lucerne/Luzern/Lucerna and in Liestal. In the latter purification by fire is still used but luckily nobody is burn to dead. Lets see some pics and a video.

Los fiesteros menos Migumi/ The fellowship of the beer except for Migumi

Migumi

Bienvenidos!! / Welcome!!

Va cayendo gente al baile / People coming to the party (sorry, no joke in English)

Detrás de una mascara todos somos locos / Behind a mask everybody can be crazy

Habla por si sola, Mortal!! / The pic says everything, Terrific!!

Un payaso? / Just a joker?

El que lleva la batuta / The one who calls the tune

Los que tocan / Those who play

Tocando el zurdo!! / Better to beat than to fight.

Y ahora el único material que sobrevivió de Liestal (hay más en Youtube). Directo desde el celular!!

And now the only material that survived Liestal (more in youtube). Live from my cellphone! Forgive my drunken English, bitte!!