英語
アバター

Alexandre B A Villares
@villares

Making free and open-source educational resources

villaresには1人の支援者がいます。
寄付   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 this 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 スター 210 今週更新

One visual idea a day

material-aulas スター 93 今週更新

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

python-visual-context スター 0 3 週間前に更新

Learn Python by drawing things

Resources-for-teaching-programming スター 95 3 か月前に更新

Resources for teaching programming for artists, designers and architects

Paper-objects-with-Processing-and-Python スター 12 5 か月前に更新

Studies in digital fabrication

lousa-magica スター 7 6 か月前に更新

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

desenho-sem-argumentos スター 2 7 か月前に更新

material para o zine desenho()

arc_tangents_and_bezier_studies スター 12 7 か月前に更新

Code snipets for working with arc tangents and bezier aproximations, mostly on Processing

mestrado スター 3 1 年前に更新

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

pyp5js-gameboards スター 1 1 年前に更新

Examples for using pyp5js to make simple games

pymunk-pinball-paulista スター 2 2 年前に更新

faded-parsons-visual (フォーク) スター 1 1 週間前に更新

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

支援者   CSVにエクスポート

villaresには1人の公開支援者がいます。

履歴

villaresさんは5 か月前に参加しました。

villaresさんはLiberapayで受け取っている金額を公開していません。