Skip to content

Instantly share code, notes, and snippets.

Murilo Polese murilopolese

Block or report user

Report or block murilopolese

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pixel-thing.js
const {
} = require('webthing');
const {
from machine import Pin, ADC
from neopixel import NeoPixel
# Hardware information:
# Pin numbers for each hardware connected to the PixelKit ESP32
SIZE = 128 # Amount of leds
WIDTH = 16 # Number of columns
HEIGHT = 8 # Number of lines
murilopolese /
Last active Oct 9, 2017
Motion Sensor Arpeggiator

Virtual MIDI devices

This is a bunch of scripts that spawn virtual midi devices to interact with your favourite DAW.



Little BMO wannabe robot featuring 4 buttons and a unicorn hat from Pimodoro (RGB fancy neopixel stuff) on an esp8266 running micropython.

murilopolese /
Last active Oct 21, 2018
Fabulous Car!

Fabulous Car

This is an attempt to make it easy to control motors with a remote control over wifi using the ESP8266 board.

murilopolese / fabulous-machine.ino
Last active Jun 22, 2017
Fabulous machine arduino firmware
View fabulous-machine.ino
#include <Servo.h>
Servo servo;
typedef struct motor
int pin1;
int pin2;
int pin3;
int pin4;
murilopolese / sprite.pde
Last active May 17, 2017
Sprite Generator
View sprite.pde
import java.util.Arrays;
ArrayList<PImage> images = new ArrayList();
int columns = 12;
int rows = 12;
void setup(){
selectFolder("Select a folder to process:", "folderSelected");
View rodando.js
var pointsArray = [];
var points = [];
var maxPoints = 500;
function setup() {
createCanvas(windowWidth, windowHeight)
for(var i = 0; i < maxPoints; i++){
pointsArray.push([windowWidth/2, windowHeight/2])
View lerp
// Imprecise method, which does not guarantee v = v1 when t = 1, due to floating-point arithmetic error.
// This form may be used when the hardware has a native fused multiply-add instruction.
float lerp(float v0, float v1, float t) {
return v0 + t * (v1 - v0);
// Precise method, which guarantees v = v1 when t = 1.
float lerp(float v0, float v1, float t) {
return (1 - t) * v0 + t * v1;
View cleide.ino
// include the Quirkbot library to your program:
#include "Quirkbot.h"
// create your Quirkbot nodes here:
CircuitTouch leftSensor;
CircuitTouch rightSensor;
ServoMotor servoMotor1;
VoltageOutput backward;
VoltageOutput forward;
You can’t perform that action at this time.