영어
아바타

Alexandre B A Villares
@villares

Making free and open-source educational resources

0 명이 villares 님께 기부하고 있습니다.
기부하기   PayPal

설명

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()

다른 곳의 계정

villares 님은 다른 플랫폼에서 다음 계정을 소유하고 있습니다:

저장소

sketch-a-day 즐겨찾기 248 이 주에 업데이트됨

One visual idea a day

lousa-magica 즐겨찾기 8 1개월 전 에 업데이트됨

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

mestrado 즐겨찾기 4 1개월 전 에 업데이트됨

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

arc_tangents_and_bezier_studies 즐겨찾기 12 1개월 전 에 업데이트됨

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

Resources-for-teaching-programming 즐겨찾기 109 2개월 전 에 업데이트됨

Resources for teaching programming for artists, designers and architects

pyp5js-gameboards 즐겨찾기 1 2년 전 에 업데이트됨

Examples for using pyp5js to make simple games

역사

villares 님은 2년 전에 가입했습니다.

villares님은 Liberapay를 통해 받는 금액을 공개하지 않습니다.

이 페이지에는 아직 검토되지 않았으며 정확하지 않은 기계 번역이 포함되어 있을 수 있습니다. 번역에 기여할 수 있습니다.