Here is a heteroclitical collection of different audio networks that were found somewhat interesting.
These are networks that can be played with a MIDI keyboard.
import Foundation | |
import UIKit | |
import PlaygroundSupport | |
let data = "Hello World!".data(using: .utf8)! | |
let filter = CIFilter(name: "CIQRCodeGenerator", withInputParameters: ["inputMessage" : data, "inputCorrectionLevel":"L"]) | |
let ciimage = filter!.outputImage! | |
let transform = CGAffineTransform(scaleX: 7.0, y: 7.0) | |
let image = ciimage.applying(transform) | |
let img = UIImage(ciImage: image) |
{ | |
"export_version": "0.062", | |
"framed_nodes": { | |
"Int.001": "Frame.001", | |
"Int.002": "Frame.003", | |
"Math.001": "Frame.004", | |
"Range Float.001": "Frame.001", | |
"UV Connection": "Frame.002", | |
"Vector Interpolation": "Frame.001" | |
}, |
{ | |
"export_version": "0.062", | |
"framed_nodes": {}, | |
"groups": {}, | |
"nodes": { | |
"Float Series": { | |
"bl_idname": "SvGenFloatRange", | |
"color": [ | |
0.9932162761688232, | |
0.9660812616348267, |
# ##### 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 |
ArrayList<Bubble> bubbles; //Bubbleクラスを格納するArrayList | |
PImage image; //色をピックアップするイメージ | |
int maxSize = 40; //円の最大サイズ(直径) | |
void setup() { | |
//画面初期設定 | |
size(1200, 900); | |
frameRate(60); | |
noStroke(); | |
//ArrayListの初期化 |
// | |
// simd+ext.swift | |
// | |
// Created by Kaz Yoshikawa on 11/6/15. | |
// | |
// | |
import Foundation | |
import simd | |
import GLKit |
// | |
// RW.swift | |
// Web | |
// | |
// Created by Mike Chirico on 10/15/15. | |
// Copyright © 2015 Mike Chirico. All rights reserved. | |
// | |
import UIKit |
extension UIImage { | |
func fixedOrientation() -> UIImage { | |
if imageOrientation == UIImageOrientation.Up { | |
return self | |
} | |
var transform: CGAffineTransform = CGAffineTransformIdentity | |