Swiftpack.co - heestand-xyz/VertexKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
heestand-xyz/VertexKit
a Framework for iOS & macOS
.package(url: "https://github.com/heestand-xyz/VertexKit.git", from: "1.1.2")

VertexKit

License Cocoapods Platform

a Framework for iOS & macOS
written in Swift & Metal
an extension of PixelKit

Install

pod 'VertexKit'
import VertexKit

To get access to the dependencies:

import RenderKit
import PixelKit

Tutorials

Particles Noise Plane Noise Flow Field Flow

Particles Example

view.wantsLayer = true
view.layer!.backgroundColor = .black

PixelKit.main.render.bits = ._16

let pres: Resolution = .square(Int(sqrt(1_000_000)))

let noise = NoisePIX(at: pres)
noise.colored = true
noise.octaves = 5
noise.zPosition = .live * 0.1

let particles = UVParticlesPIX(at: .size(view.bounds.size) * 2)
particles.vtxPixIn = noise - 0.5
particles.color = LiveColor(lum: 1.0, a: 0.1)

let finalPix: PIX = particles
finalPix.view.frame = view.bounds
finalPix.view.checker = false
view.addSubview(finalPix.view)

GitHub

link
Stars: 40
Last commit: 2 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics