Avatar

Alexandre B A Villares
@villares

Making free and open-source educational resources

villares has 0 patrons.
Donate   Payment Card PayPal

Description

Hi!

I work as a technology and arts educator, and I develop free and open didactic materials, I also collaborate with free software projects. My main research interests are computational art procedures, generative design, creative coding and how to teach programming in visual contexts.

If you support me with your donations I can make more materials and collaborate more. If LiberaPay doesn't work well in your country or currency, try Wise (preferred) or PayPal donation link

from collections import deque  # a double-ended queue
import py5  # check out https://github.com/py5coding 

history = deque(maxlen=512)  # mouse dragged positions

def setup():   # py5 will call this once to set things up
    py5.size(600, 400)
    py5.no_stroke()
    py5.color_mode(py5.HSB)

def draw():   # py5 will call this in a loop
    py5.background(51)
    for i, (x, y) in enumerate(history):
        py5.fill(i / 2, 255, 255, 128)
        py5.circle(x, y, 8 + i / 16)
    if history:
        history.append(history.popleft())

def mouse_dragged():  # py5 will call this when you drag the mouse
    history.append((py5.mouse_x, py5.mouse_y))

def key_pressed():   # py5 will call this when a key is pressed
    history.clear()

py5.run_sketch()

Linked Accounts

villares owns the following accounts on other platforms:

Repositories

sketch-a-day Stars 247 Updated this week

One visual idea a day

Resources-for-teaching-programming Stars 109 Updated 1 week ago

Resources for teaching programming for artists, designers and architects

Paper-objects-with-Processing-and-Python Stars 18 Updated 1 week ago

Studies in digital fabrication

material-aulas Stars 102 Updated 1 week ago

Material para ensino introdutório de programação com Python em um contexto visual

lousa-magica Stars 8 Updated 2 weeks ago

Lousa mágica e Lousa paramétrica são máquinas de desenhar com potenciômetros! (Processing + Arduino)

faded-parsons-visual Stars 1 Updated 2 weeks ago

Python Parsons Problems with Visual Results. Quebra-cabeças de Parsons em Python com resultado visual

python-in-a-visual-context Stars 1 Updated 3 months ago

Learn Python by drawing things

arc_tangents_and_bezier_studies Stars 12 Updated 8 months ago

Working with arcs, tangents, and bezier aproximations of arcs, using Processing & py5

mestrado Stars 4 Updated 1 year ago

Documentação do mestrado ATC FEC/Unicamp 2017-2019

pyp5js-gameboards Stars 1 Updated 2 years ago

Examples for using pyp5js to make simple games

desenho-sem-argumentos Stars 2 Updated 2 years ago

material para o zine desenho()

pymunk-pinball-paulista Stars 2 Updated 4 years ago

History

villares joined 2 years ago.

villares does not disclose how much they receive through Liberapay.