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
#---------------------------------------------------------- | |
# File photo.py - cubify a named image in project. | |
# @knowuh (Noah Paessel) http://bit.ly/photoblend | |
# License: MIT ( http://opensource.org/licenses/MIT ) | |
#---------------------------------------------------------- | |
import bpy | |
from random import uniform | |
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
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
#! /usr/bin/env python | |
from jsonrpc import ServiceProxy | |
import sys | |
import string | |
import getpass | |
# ===== BEGIN USER SETTINGS ===== | |
# if you do not set these you will be prompted for a password for every command | |
rpcuser = "" |
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 os | |
os.environ['RTLSDR_CLIENT_MODE'] = 'true' | |
from rtlsdr import RtlSdrTcpClient | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.properties import StringProperty, BooleanProperty, ObjectProperty | |
kv = ''' |
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 random | |
import ctypes | |
import operator | |
import cProfile | |
import pstats | |
import os | |
import argparse | |
from time import time | |
import numpy | |
from numpy import frombuffer, complex64, empty, mean, ctypeslib |
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
#! /usr/bin/env python | |
import argparse | |
def get_first_digit(i): | |
return int(str(i)[0]) | |
def run(iterations): | |
i = 0 | |
n = 1 |
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 processing.video.*; | |
Movie movie; | |
void setup() | |
{ | |
size(1280, 720, P3D); | |
movie = new Movie(this, "/mnt/resource/renderfiles/seriouslytoomanymonkeys/0001-0227_crf18.mov"); | |
movie.frameRate(24); | |
movie.loop(); |
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
PImage srcImg; | |
PImage dstImg; | |
Float scaleW; | |
Float scaleH; | |
void setup() | |
{ | |
size(1280, 720); | |
srcImg = loadImage("/mnt/resource/Shared Projects/modeling/testpatterns/1920x1080.png"); | |
scaleW = float(width) / float(srcImg.width); |
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 codeanticode.syphon.*; | |
PGraphics srcCanvas; | |
PGraphics dstCanvas; | |
boolean srcReady; | |
SyphonClient client; | |
SyphonServer server; | |
void setup() | |
{ |
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 os | |
import argparse | |
import cProfile | |
import pstats | |
from itertools import zip_longest | |
import numpy as np | |
def build_data(num_bytes): | |
a = np.arange(256, dtype=np.uint8) |
OlderNewer