Te va a descargar un .sh horrible que te tira las librerias en una carpeta llamada "NDI SDK for Linux". Tocando Q pasas por los T&C y escribis Y para aceptar.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use nannou::prelude::*; | |
const ROWS: u32 = 22; | |
const COLS: u32 = 12; | |
const SIZE: u32 = 30; | |
const MARGIN: u32 = 35; | |
const WIDTH: u32 = COLS * SIZE + 2 * MARGIN; | |
const HEIGHT: u32 = ROWS * SIZE + 2 * MARGIN; | |
const LINE_WIDTH: f32 = 0.06; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const scl = 20; | |
let cols, rows; | |
const inc = 0.1; | |
let fr; | |
let zoff = 0; | |
let particles = []; | |
let flowfield; | |
let maxspeed = 5; | |
let forcePower = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float grow = 0.1; | |
float angle = (0.3 * 90) * (3.1415 / 180); | |
color treeColor = color(140, 170, 50); | |
float branchLength; | |
void setup () { | |
size(1000, 1000); | |
frameRate(40); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float clock = 0; | |
int moonCount = 20; | |
Moon [] moonList = new Moon[moonCount]; | |
void setup() { | |
size(1600,900); | |
background(0); | |
frameRate(60); | |
for (int i = 0; i < moonCount; i++) { | |
moonList[i] = new Moon(random(1000), random(1)*4); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
//background(225, 210, 70); | |
size(900,900); | |
frameRate(24); | |
} | |
float[] pos_x = {-12,-8.0,0,8.0,12,8.0,0,-8.0}; | |
float[] pos_y = {0,-8.0,-12,-8.0,0,8.0,12,8.0}; | |
int red = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d2 >> play("-",dur=PRand([0.25,0.5,0.25,0.5,1])).stop() | |
d1.reset() >> play("X ",dur=0.125,sample=2) | |
d1.stop() | |
d7 >> play(" *",sample=3).stop() | |
b1.reset() >> star(PWalk(1), dur=PSum([6,8],4),amp=0.6,oct=5, drive=0.06, | |
formant=notalways([0,2]),chop=0) |
This proposal seeks to fund 6 months of work towards developing online hackathon organization playbook and tools. This playbook goal is to help efficiently organize this kind of online events independently from third party event organizers/companies.
This playbook goal is to help streamline the process and avoid common pitfalls, mainly: avoid third party organization of the event, avoid sponsorship costs, avoid time consuming meetings and problems related to particular participants. We have already organized one hackathon in LATAM and we plan to continue to test this new playbook in the region.
It has 3 core projects:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from datetime import datetime, timedelta | |
# Historical series by days | |
ticket_data = requests.get("https://explorer.dcrdata.org/api/chart/ticket-price?axis=time&bin=window").json() | |
# Current Stake/Ticket Info | |
current_ticket_data = requests.get("https://explorer.dcrdata.org/api/stake/diff").json() | |
print(current_ticket_data) |
NewerOlder