Skip to content

Instantly share code, notes, and snippets.

View benjavides's full-sized avatar

benjavides

View GitHub Profile
@benjavides
benjavides / resume.json
Last active March 22, 2025 19:14
My Resume. Is rendered by jsonresume.org
{
"basics": {
"name": "Benjamín Benavides",
"label": "Interactive Developer",
"image": "https://secure.gravatar.com/avatar/c85f1058b74cd38073a6bd428ac53e2e?s=300",
"email": "benjavides@gmail.com",
"url": "https://benjavides.com/",
"summary": "Interactive developer with 10+ years of experience building real-time systems for immersive installations, museum exhibits, and educational games. I lead technical development across platforms like TouchDesigner, Unity, and Unreal, turning creative concepts into robust, interactive experiences.",
"location": {
"postalCode": "85774",
@benjavides
benjavides / tweets_downloader.py
Created May 29, 2016 16:22
Descarga todos los tweets con las palabras indicadas en un circulo con el radio especificado y los guarda en un .csv
import tweepy
import csv
import unicodedata
# Go to http://apps.twitter.com and create an app.
# The consumer key and secret will be generated for you after
consumer_key=''
consumer_secret=''
# After the step above, you will be redirected to your app's page.
@benjavides
benjavides / Rain.js
Last active April 23, 2016 04:28
Simulación física de lluvia en P5JS
"use strict"
var system;
var line_system;
var gravity;
var wind;
function setup() {
createCanvas(720, 900);
system = new ParticleSystem(createVector(width/2, -40));
line_system = new LineSystem();
@benjavides
benjavides / Kaleidoskope.js
Created April 12, 2016 00:45
P5JS con Seriously. Hay que importar la librería y el efecto kaleidscope al archivo html
function setup() {
canvas = createCanvas(640,480, WEBGL);
canvas.id("p5canvas");
video = createCapture(VIDEO);
video.size(640,480);
video.id("p5video");
video.hide();
var seriously = new Seriously();
@benjavides
benjavides / Information Webcam
Last active April 9, 2016 04:05
Los números muestran la intensidad capturada por la cámara web en ese punto.
"use strict"
var capture;
var colorr = 7;
var stepSize = 20;
var imagen = false;
function setup() {
createCanvas(640, 530);
capture = createCapture(VIDEO);
capture.size(640, 480);
@benjavides
benjavides / Postes-v2
Last active April 8, 2016 17:30
Venía en un bus camino a Santiago y quise recrear el "baile" que hacen los cables de un poste de luz al ser vistos desde un auto en movimiento
//SIMULACIÓN POSTES DE LUZ
//BENJAMÍN BENAVIDES
//MEDIALAB 2016-1
"use strict"
var moving = false;
var speed = 18;
var postes;
var poste;
var poste1;
var frame=0;
"use strict"
var postes = [];
var poste;
var nuevo_poste;
var cables = [];
var camera;
var moving = false;
var xspacing = 1;
var period = 200;
var x;
@benjavides
benjavides / bowie.js
Last active March 18, 2016 18:43
Encargo 1 Benjamín Benavides Medialab 2016-1
// Código de P5JS
var img;
var a;
draw_mode = false;
var display;
var texto;
function preload() {
if (draw_mode==true){
img = loadImage("assets/bowie.jpg");
@benjavides
benjavides / pong.js
Last active April 9, 2016 04:06
Juego de pong interactivo. FLECHA_ARRIBA --> Mover arriba, FLECHA_ABAJO --> Mover abajo, CONTROL --> Turbo
"use strict";
var ball;
var right;
var left;
var alto = 300;
var ancho = 400;
var ptjeizq = 0;
var ptjeder = 0;
var bot = true; //se juega contra el pc
var rebotes = 0;