ഀ ഀ ArteGenerativo_mx Archivo Muestra</titleഀ ><!-- InstanceEndEditable -->ഀ <meta name="description" content="Hackpact.ArteGenerativo.mx, Hackpact de arte generativo.">ഀ <meta name="keywords" content="Hackpact.ArteGenerativo.mx, hackpact, arte, arte generativo">ഀ ഀ <style type="text/css">ഀ body,td,th {ഀ font-family: Arial, Helvetica;ഀ font-size: 12px;ഀ color: #FFF;ഀ }ഀ body {ഀ background-color: #666;ഀ ഀ background-image: ഀ -moz-radial-gradient(center 160deg, circle, #666 0%, #000 100%);ഀ background-image: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 700, from(#666), to(#000)); ഀ ഀ }ഀ h1 {ഀ font-size: 20px;ഀ color: #999;ഀ }ഀ h2 {ഀ font-size: 14px;ഀ }ഀ a:link {ഀ color: #999;ഀ text-decoration: underline;ഀ }ഀ a:visited {ഀ text-decoration: underline;ഀ color: #CCC;ഀ }ഀ a:hover {ഀ text-decoration: none;ഀ color: #333;ഀ }ഀ a:active {ഀ text-decoration: underline;ഀ color: #666;ഀ }ഀ h6 {ഀ font-size: 9px;ഀ color: #FFF;ഀ }ഀ </style>ഀ ഀ <!-- InstanceBeginEditable name="head" -->ഀ <!-- InstanceEndEditable -->ഀ ഀ </head>ഀ ഀ <body text="#333333">ഀ ഀ ഀ <table width="100%" border="0">ഀ <tr>ഀ <th scope="col">ഀ <table width="100%" border="0">ഀ <tr>ഀ <th width="50" scope="col"> </th>ഀ ഀ <th width="300" align="right" nowrap="nowrap" scope="col" ><font face="Courier,Courier New">ഀ <h1>Hackpact.Mx |</h1></font></th>ഀ <th align="left" nowrap="nowrap" scope="col"> Arte Generativo</th>ഀ </tr>ഀ </table>ഀ ഀ <hr noshade, size="0.1">ഀ <table width="100%" border="0">ഀ ഀ <tr>ഀ <th width="50" scope="col"> </th>ഀ <td width="120" align="center" scope="col"><a href="../../index.html" target="_parent">Inicio</a></td>ഀ <td width="120" align="center" scope="col"><a href="../../que_es.html" target="_parent">¿qué es?</a></td>ഀ <td width="120" align="center" scope="col"><a href="../../bases.html" target="_parent">¿cómo participar?</a><a href="artgen.html" target="_self"></a></td>ഀ <td width="120" align="center" scope="col"><a href="../../artgen.html" target="_parent">participantes</a></td>ഀ ഀ <td width="120" align="center" scope="col"><p><a href="../../ligas.html" target="_parent">Ligas de interés</a></p></td>ഀ ഀ <td width="200" align="center" scope="col"><a href="../../tutorial_upload.html" target="_parent">¿cómo subir los códigos?</a></td>ഀ <th scope="col"> </th>ഀ </tr>ഀ </table>ഀ </th>ഀ </tr>ഀ <tr>ഀ ഀ <td align="center" valign="top">ഀ <hr noshade, size="0.1">ഀ ഀ <!-- InstanceBeginEditable name="b_titulo" -->ഀ <table width="100%" border="0">ഀ <tr>ഀ <th width="150" align="left" scope="col"> </th>ഀ <th width="400" align="right" scope="col"> ↨ Dia 3 ►</th>ഀ ഀ <td align="left" scope="col"><p>| processing</p></td>ഀ </tr>ഀ </table>ഀ ഀ <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="Contenido01" -->ഀ ഀ ഀ <!-- /////////////////////////////////////////////////////ഀ Esta zona es la que pueden copiar y pegar lo correspondiente a-->ഀ ഀ <!--VIDEO--> ഀ <table width="100%" border="0">ഀ <tr>ഀ ഀ <th width="150" align="left" scope="col"> </th>ഀ <th width="400" align="right" scope="col">ഀ ഀ ഀ <!-- LIGA A MODIFICAR --><!-- ACA TERMINA -->ഀ ഀ ഀ <p>ഀ ഀ <p align="center">ഀ <iframe width="628" height="680" scrolling="no" frameborder="0" src="http://www.openprocessing.org/visuals/iframe.php?visualID=45384&width=600&height=600&border=true"></iframe><p align="center">ഀ ഀ ഀ </p></th>ഀ <td align="left" scope="col"> </td>ഀ ഀ </tr>ഀ </table>ഀ <!--AQUI TERMINA AUDIO-->ഀ ഀ ഀ <!-- InstanceEndEditable -->ഀ ഀ <!-- InstanceBeginEditable name="Contenido02" -->ഀ ഀ ഀ ഀ ഀ <!--AQUI INICIA SECCION DE LOS COMENTARIOS-->ഀ ഀ ഀ <table width="100%" border="0">ഀ <tr>ഀ ഀ <th width="150" align="left" scope="col"> </th>ഀ <td width="400" align="justify" scope="col"><p>ഀ <!-- COMENTARIOS EN ESTA SECCION-->ഀ ►►► ►</br>ഀ </p>ഀ ഀ ഀ <blockquote>ഀ ഀ <p>//por Alejandro Rosado ► 3► octubre 2011<br />ഀ ഀ <br />ഀ <br />ഀ <br />ഀ <br />ഀ <br />ഀ <p>ഀ float r=random(0,255);<br />ഀ int L=600,l=L/600,x,y,D ;<br />ഀ int val = 0;<br />ഀ </p>ഀ ഀ void setup () {<br />ഀ background (0);<br />ഀ noCursor();<br />ഀ size (600, 600);<br />ഀ strokeWeight(0.01);<br />ഀ smooth();<br />ഀ frameRate(10);<br />ഀ stroke (255);<br />ഀ }<br /><br />ഀ ഀ float Vel;<br />ഀ float Vel2;<br />ഀ ഀ void draw() {<br />ഀ Vel=abs(mouseX-pmouseX);<br />ഀ Vel2=abs(mouseY-pmouseY);<br />ഀ ഀ color elcolores = color(random (0,10), random(0,200), random(0,255),2);<br />ഀ fill(elcolores);<br />ഀ strokeWeight(0.1+Vel/10000);<br />ഀ quad(600, 0, Vel, Vel2, 600, 600, mouseX, mouseY);<br />ഀ quad(width/2, height/2, Vel, Vel2, mouseX, mouseY, width/2,height/2);<br />ഀ quad(<br />ഀ width/2,//x1 el punto de inicio en el centro<br />ഀ height/2,//y1<br />ഀ mouseX*Vel,//x2<br />ഀ mouseY*Vel2,//y2<br />ഀ mouseX+600,//x3<br />ഀ mouseY+600,//y3<br />ഀ width/2,//x4<br />ഀ height/2);//y4<br />ഀ quad(0, 600, Vel, Vel2, 600, 600, mouseX, mouseY);<br />ഀ if (mousePressed) {<br />ഀ if (mouseButton == LEFT) {<br />ഀ background(255);<br />ഀ stroke(0);<br />ഀ line(width/2, height/2, mouseX, mouseY);<br />ഀ } <br />ഀ ഀ else {<br />ഀ stroke(255);<br />ഀ background(0);<br />ഀ }<br />ഀ ഀ line(Vel*mouseX, Vel2*mouseY, width, height);<br />ഀ quad(mouseX*Vel, mouseY*Vel2, width/2, height/2, 600, 600, width/PI ,height/PI);<br />ഀ }}<br />ഀ ഀ </p>ഀ ഀ </blockquote>ഀ ഀ <!-- ACA TERMINA COMENTARIOS -->ഀ ഀ ഀ </td>ഀ <td align="left" scope="col"> </td>ഀ </tr>ഀ </table>ഀ <!-- InstanceEndEditable -->ഀ ഀ </body>ഀ <!-- InstanceEnd --></html>ഀ