How to draw an outline in a video game

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. df

    Public domain linear time distance field and Voronoi diagram on lattice grid (by 983)

    Note that the 'Jump Flood Algorithm' is O(N log N) where N is the number of pixels. There is a better O(N) algorithm which can be parallelized over the number of rows/columns of an image:

    https://news.ycombinator.com/item?id=36809404

    Unfortunately, it requires random access writes (compute shaders) if you want to run it on the GPU. But if CPU is fine, here are a few implementations:

    JavaScript: https://parmanoir.com/distance/

    C: https://github.com/983/df

    C++: https://github.com/opencv/opencv/blob/4.x/modules/imgproc/sr...

    Python: https://github.com/pymatting/pymatting/blob/afd2dec073cb08b8...

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. OpenCV

    Open Source Computer Vision Library

    Note that the 'Jump Flood Algorithm' is O(N log N) where N is the number of pixels. There is a better O(N) algorithm which can be parallelized over the number of rows/columns of an image:

    https://news.ycombinator.com/item?id=36809404

    Unfortunately, it requires random access writes (compute shaders) if you want to run it on the GPU. But if CPU is fine, here are a few implementations:

    JavaScript: https://parmanoir.com/distance/

    C: https://github.com/983/df

    C++: https://github.com/opencv/opencv/blob/4.x/modules/imgproc/sr...

    Python: https://github.com/pymatting/pymatting/blob/afd2dec073cb08b8...

  4. PyMatting

    A Python library for alpha matting

    Note that the 'Jump Flood Algorithm' is O(N log N) where N is the number of pixels. There is a better O(N) algorithm which can be parallelized over the number of rows/columns of an image:

    https://news.ycombinator.com/item?id=36809404

    Unfortunately, it requires random access writes (compute shaders) if you want to run it on the GPU. But if CPU is fine, here are a few implementations:

    JavaScript: https://parmanoir.com/distance/

    C: https://github.com/983/df

    C++: https://github.com/opencv/opencv/blob/4.x/modules/imgproc/sr...

    Python: https://github.com/pymatting/pymatting/blob/afd2dec073cb08b8...

  5. JFA_driven_motion_blur_demo

    An interactive environment to showcase, test, and benchmark a motion blur post process effect driven by the Jump Flood Algorithm in Godot 4.3 beta

    Technical art is definitely my first love in software. I'm excited for godot to add an easier compute shader pipeline for post processing effects - their current compositor plugin set up is a bit boiler plate intensive.

    this repo is a great example of post processing in godot: https://github.com/sphynx-owner/JFA_driven_motion_blur_demo

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • [Help] Meta's segment anything - How can I make smooth border ?

    3 projects | /r/computervision | 14 May 2023
  • Accelerating OpenCV with CUDA on Jetson Orin NX: A Complete Build Guide

    2 projects | dev.to | 21 Feb 2025
  • Smile Detector and Photo Capture

    2 projects | dev.to | 27 Sep 2024
  • Install OpenCV 4.5 on Ubuntu 22.04

    1 project | dev.to | 26 Sep 2024
  • 3 example of computer vison technical test - Python / c++

    1 project | dev.to | 8 Sep 2024

Did you know that C++ is
the 7th most popular programming language
based on number of references?