Skip to content

Instantly share code, notes, and snippets.

@jackdoerner
jackdoerner / hybrids.tex
Last active January 13, 2021 21:02
A short snippet of LaTeX for typesetting hybrid proofs in crypto papers
% hybrids.tex
% A short snippet of LaTeX for typesetting hybrid proofs in crypto papers
% Copyright (c) 2021 Jack Doerner
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/*
telescopecamera.ino
Driver for McCormick Tracking Camera
Copyright (c) 2019 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@jackdoerner
jackdoerner / dpx.py
Last active December 27, 2023 16:31
Read Metadata and Image data from 10-bit DPX files in Python 3
"""
dpx.py
Read Metadata and Image data from 10-bit DPX files in Python 3
Copyright (c) 2016 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
/*
durandkerner.swift
An implementation of the Durand-Kerner/Weierstrass method for finding the roots of a polynomial
Requires Complex.swift by Dan Kogai
Copyright (c) 2015 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@jackdoerner
jackdoerner / riesz_pyramid.py
Last active March 1, 2023 01:04
Riesz Pyramid Creation and Reconstruction in Python
"""
riesz_pyramid.py
Conversion between Riesz and Laplacian image pyramids
Based on the data structures and methodoligies described in:
Riesz Pyramids for Fast Phase-Based Video Magnification
Neal Wadhwa, Michael Rubinstein, Fredo Durand and William T. Freeman
Computational Photography (ICCP), 2014 IEEE International Conference on
Copyright (c) 2016 Jack Doerner
@jackdoerner
jackdoerner / Crosstalk.js
Last active August 29, 2015 14:12
Crosstalk: fast cross-frame data transfer
/**********
Crosstalk.js
A library for fast data transfer between browser frames.
Copyright (c) 2013 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@jackdoerner
jackdoerner / image_pyramid.py
Last active March 20, 2023 11:06
Fast Image Pyramid Creation and Reconstruction in Python
"""
image_pyramid.py
Fast Image Pyramid Creation and Reconstruction in Python
Copyright (c) 2014 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@jackdoerner
jackdoerner / lch2rgb_gamutmapped.py
Last active August 29, 2015 14:11
Gamut mapped LCH to RGB transform
"""
lch2rgb_gamutmapped.py
Gamut mapped LCH to RGB transform
Copyright (c) 2014 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@jackdoerner
jackdoerner / histogram_transfer.py
Last active August 7, 2021 09:52
Histogram Transfer in Python
"""
histogram_transfer.py
Histogram Transfer in Python
Copyright (c) 2014 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@jackdoerner
jackdoerner / bilateral_approximation.py
Last active November 12, 2022 23:05
Fast Bilateral Filter Approximation Using a Signal Processing Approach in Python
"""
bilateral_approximation.py
Fast Bilateral Filter Approximation Using a Signal Processing Approach in Python
Copyright (c) 2014 Jack Doerner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell