Category Archives: HTML 5

Rainbow example with jQuery.

This simple example show you how to use jquery with html tags. <!DOCTYPE html> <html> <head> <title>rainbow example</title> <script src=”../js/jquery-2.2.0.js”></script> </head> <body> <script>for(d=document,i=0;k=i>>1,k<7;setTimeout(function(w){d.getElementById(w).id=”x”+w},555*k,i++))d.write(“<b id=”+i+”><style>b{width:0;height:0;transition:width 1s,height 1s;border-radius:70ex 70ex 0 0;position:fixed;bottom:-4ex}#x”+i+”{left:”+(9+4*k)+”ex;width:”+(80-6*k)+”ex;height:”+(40-3*k)+”ex;box-shadow:”+(i%2&&”inset 0″)+” 0 6ex hsl(“+50*k+”,99%,50%)}</style>”)</script> </body> </html>

JavaScript – Processing.js 2D library – part 002.

In the last tutorials I told you about studio sketchpad. Another way to working with processing is to run your script into html files. If you want to download the processing then you can get it from processing website. The download will come with an integrated development environment. If you want to use your processing… Read More »