Friday, October 18, 2013

HTML5 Canvas: Beautiful fractals with the chaos game.

HTML5 Canvas: Beautiful fractals with the chaos game. | Rectangle World – HTML5 Canvas and JavaScript: Tutorials and Experiments

Javascript Dreams

js1k.com - demo details [Javascript Dreams] (1528)

Cours sur les fractales

Cours gratuit en ligne sur les fractales

Fractal Geometry

Fractal Geometry

Node.JS Modules : coroutines

Popular coroutine modules - Node.JS Modules

Pratiques avancées et méconnues en Python

Les coroutines

Thursday, October 17, 2013

IFS Fractals in Canvas

Art From Code » IFS Fractals in Canvas

Strange attractors - beautiful chaos and canvas

Strange attractors - beautiful chaos and canvas - Nihilogic

Javascript Fractals

Nihilogic : Javascript Fractals

La fractale de Benoît Mandelbrot en JavaScript

[JavaScript] La fractale de Benoît Mandelbrot en JavaScript ! [Sources] - Forum du club des développeurs et IT Pro

Dessiner la fractale de Mandelbrot

Dessiner la fractale de Mandelbrot

 

GLSL fragment shaders in JavaScript!

GLSL fragment shaders in JavaScript! » Licson's Tech Space

Thursday, September 12, 2013

Fun with GLSL

I am very fascinated by WebGL shaders
Here is a nice  modified sample from PixelShader editor

Friday, July 5, 2013

Thursday, June 6, 2013

RapydScript : RPC Call

/Applications/web2py/applications/Gallerie/static/js/main.py.html
import stdlib

JQuery = $

listDiv = ['raph','fam','baby']
pathTemplates = "/Gallerie/static/templates/"

def rpcCall(meth, params):
    d = $.Deferred()
    _url = '/Gallerie/default/call/jsonrpc'
    _data = JSON.stringify ({jsonrpc:'2.0',method:meth, params:[params],id:"jsonrpc"} )
    _type = "POST"
    _dataType: "json"
    _success =  def (result):
        d.resolve(result)
    _error = def (err, status, thrown):
        alert("Error")
    _complete = def (xhr, status):
        data = JQuery.parseJSON(xhr.responseText)
    param = { url : _url, data : _data, type : _type, success : _success, error : _error, complete:_complete  }
    JQuery.ajax(param)
    return d.promise()

def  getPhotos(arg, theme = "Hyeddd...;"):
    hideAllDivs()
    if (window.sessionStorage[arg] == 'loaded') :
        showDiv(arg)
        return
    alert("loading  " + arg)
    request =  rpcCall('getPhotos',{nom : arg})
    request.done(
                  def (r):
                      #alert(r.result)
                      showDiv(arg,r.result)
                      window.sessionStorage[arg] = "loaded"
                )

def hideAllDivs():
    for div in listDiv:
        $("#" + div).hide()

def showDiv(div,result):
    data = {title : "ALBUM", theme : result}
    html = new EJS({url: pathTemplates + 'displayphoto.ejs'}).render(data)
    elt = "#" + div
    $(elt).html(html)
    $(elt).show()

alert("main")
#Exported functions
window.getPhotos = getPhotos
-->

Wednesday, March 27, 2013