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.
{ | |
"export_version": "0.062", | |
"framed_nodes": {}, | |
"groups": {}, | |
"nodes": { | |
"Float Series": { | |
"bl_idname": "SvGenFloatRange", | |
"color": [ | |
0.9932162761688232, | |
0.9660812616348267, |
{ | |
"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" | |
}, |
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) |
import Vision | |
//1 | |
let sourceImage = UIImage(named: "jony.jpg") | |
var resultImage = sourceImage | |
//2 | |
let detectFaceRequest = VNDetectFaceLandmarksRequest { (request, error) in | |
//4 | |
if let results = request.results as? [VNFaceObservation] { | |
//5 | |
for faceObservation in results { |
bl_info = { | |
"name": "Mercator Project", | |
"author": "batFINGER", | |
"version": (1, 0), | |
"blender": (2, 79, 0), | |
"location": "View3D > Mesh > UV UnWrap > Mercator Project", | |
"description": "UV Mercator Projection", | |
"warning": "", | |
"wiki_url": "", | |
"category": "UV", |
# for https://blender.stackexchange.com/q/143599/3710 | |
import bpy | |
mat_name = "Material_Name" | |
# check whether the material already exists | |
if bpy.data.materials.get(mat_name): | |
mat = bpy.data.materials[mat_name] | |
else: |
# https://towardsdatascience.com/blender-2-8-grease-pencil-scripting-and-generative-art-cbbfd3967590 | |
import bpy | |
import math | |
import numpy as np | |
def get_grease_pencil(gpencil_obj_name='GPencil') -> bpy.types.GreasePencil: | |
""" | |
Return the grease-pencil object with the given name. Initialize one if not already present. | |
:param gpencil_obj_name: name/key of the grease pencil object in the scene |
{ | |
"export_version": "0.079", | |
"framed_nodes": {}, | |
"groups": {}, | |
"nodes": { | |
"IcoSphere": { | |
"bl_idname": "SvIcosphereNode", | |
"color": [ | |
0.0, | |
0.5, |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-purple; icon-glyph: apple-alt; | |
const TITLE = "One More Thing" | |
const DATE = "2020-11-10T17:00:00Z" | |
const IMG_URL = "https://i.ibb.co/f2SN2Wb/bg.png" | |
let widget = await createWidget() | |
if (config.runsInWidget) { | |
Script.setWidget(widget) |