Skip to content

Instantly share code, notes, and snippets.

@empet
empet / complextransf.jl
Last active April 2, 2024 09:24
Image Warping Through a Complex Function
using Images, ImageTransformations, CoordinateTransformations, Interpolations
import StaticArrays: @SMatrix, @SVector, SVector
mutable struct ImageRectangle{T<:Real}
img::Union{Matrix{RGB{T}}, Matrix{Gray{T}}}
inprectangle::NamedTuple
outrectangle::NamedTuple
end
function check_rectangle(a, b, c, d)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@empet
empet / Image-as-orbit-trap-Julia-set.ipynb
Last active December 16, 2023 11:15
Using an image as orbit trap for plotting a Julia set ¶
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@empet
empet / IFS-fr-Mobius.ipynb
Created November 12, 2023 21:37
Mobius Transformations for IFS Fractals
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"id": "dd86a807",
"metadata": {},
"source": [
"## How to get a bs64-string from a plot"
]
},