Skip to content
Avatar

Achievements

Achievements

Highlights

  • Pro
  • 3 discussions answered

Organizations

@garoa @arteprog
Block or Report

Block or report villares

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
villares/README.md

Hi there 👋

This animation is made with points in a Python collections.deque data structure, added by dragging the mouse in Processing Python mode (code shown bellow)

  • 🔭 I'm currently working on a PhD at Unicamp
  • 🌱 I’m currently learning how not to talk too much and concentrate
  • 👯 I’m looking to collaborate on open resources to teach programming in a visual context
  • 💬 Ask me about drawing with Python!
  • 📫 How to reach me: twitter.com/villares
  • 😄 Pronouns: he/him
  • Fun fact: I think I actually need a repo named villares to store some code.
from collections import deque

h = deque([(0, 0)], 300) # mouse drag position history

def setup():
    size(500, 500)
    noStroke()
    colorMode(HSB)

def draw():
    background(51)
    for i, (x, y) in enumerate(h):
        fill(i, 255, 255, 255 / 2)
        circle(x, y, i / 5)
    h.append(h.popleft())

def mouseDragged():
    h.append((mouseX, mouseY))

Pinned

  1. Resources for teaching programming for artists, designers and architects

    CSS 47 4

  2. Material do curso introdutório Programação Criativa de Monica Rizzolli e Alexandre Villares, em construção.

    44 14

  3. Studies in digital fabrication

    Python 8

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

    Python 56 60

  5. One visual idea a day

    JavaScript 129 12

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

    Python 7

2,955 contributions in the last year

Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Mon Wed Fri

Contribution activity

November 1, 2021

Created 3 commits in 1 repository
1 contribution in private repositories Nov 1

Seeing something unexpected? Take a look at the GitHub profile guide.