Core Image Filters
iOS 12.2 has 207 filters.
Accordion Fold Transition (CIAccordionFoldTransition)
First available: iOS 8
Transitions from one image to another of a differing dimensions by unfolding.
Transitions from one image to another of a differing dimensions by unfolding.
Midjourney is a commercial image generation and transformation AI service. Similar services include:
Midjourney is a somewhat opinionated AI and tends to try to create "art". It has a very high level of coherence, which means elements in the resulting images tend to have natural relationships with a low level of glitches and random weirdness. In my opinion, Midjourney has much higher quality "out of the box", trouncing the competition unless the user is quite advanced at effectively utilizing both positive and negative prompt particles.
// Improved Noise - Copyright 2002 Ken Perlin. | |
// Adapted and updated for iOS by Joshua Sullivan, 2016.01.12 | |
// Apply the function 6t^5 - 15t^4 + 10t^3 | |
float fade(float t) | |
{ | |
return t * t * t * (t * (t * 6.0 - 15.0) + 10.0); | |
} | |
// I'm keeping this around for reference. |
import UIKit | |
import Combine | |
/// This class wraps a `CADisplayLink` and exposes its callback as a Combine Publisher. | |
/// | |
class CombineDisplayLink { | |
/// An object that includes timing information about the screen refresh. | |
/// | |
struct Tick { |
// | |
// ColorCubeHelper.swift | |
// | |
// Created by Joshua Sullivan on 10/01/16. | |
// Copyright © 2016 Joshua Sullivan. All rights reserved. | |
// | |
import UIKit | |
import Accelerate |
// | |
// ColorCubeImageCreator.swift | |
// ColorCubeImageCreator | |
// | |
// Created by Joshua Sullivan on 4/25/16. | |
// Copyright © 2016 Joshua Sullivan. All rights reserved. | |
// | |
import UIKit |
// This works. | |
kernel vec4 simpleFilter(sampler p) | |
{ | |
vec2 dc = destCoord(); | |
return sample(p, samplerTransform(p, dc)); | |
} | |
// This does not. It produces [0, 0, 0, 255] for the first 255 pixels and then [0, 0, 0, 0] thereafter. | |
kernel vec4 simpleFilter(sampler p) | |
{ |
import Foundation | |
import CoreImage | |
struct FilterInput { | |
struct ValueRange { | |
let minValue: Float | |
let maxValue: Float | |
let sliderMin: Float? | |
let sliderMax: Float? |
// | |
// CapturedImageSampler.swift | |
// ARKitTest | |
// | |
// Created by Joshua Sullivan on 9/22/17. | |
// Copyright © 2017 Joshua Sullivan. All rights reserved. | |
// | |
import UIKit | |
import ARKit |