Skip to content

Instantly share code, notes, and snippets.

@bgolus
bgolus / PristineMajorMinorGrid.shader
Last active April 19, 2025 05:11
Pristine Grid applied to a grid that has support for major and minor lines and colored axis lines
Shader "Pristine Major Minor Grid"
{
Properties
{
[KeywordEnum(X, Y, Z)] _Axis ("Plane Axis", Float) = 1.0
[IntRange] _MajorGridDiv ("Major Grid Divisions", Range(2,25)) = 10.0
_AxisLineWidth ("Axis Line Width", Range(0,1.0)) = 0.04
_MajorLineWidth ("Major Line Width", Range(0,1.0)) = 0.02
_MinorLineWidth ("Minor Line Width", Range(0,1.0)) = 0.01

jp.keijiro.apriltag - AprilTag package for Unity

gif

jp.keijiro.apriltag is a Unity package that provides an implementation of the AprilTag tracker.

AprilTag is a marker based tracking system developed by the APRIL Robotics Laboratory at the University of Michigan. Please see [the AprilTag web page]

@jacknlliu
jacknlliu / qrcode_generator.py
Last active December 21, 2023 10:33
Python QRCode generator
#!/usr/bin/env python3
#coding:utf-8
# forked from http://www.cnblogs.com/babycool/p/4734819.html
'''
Python QRCode generator
- transform the input string to general QRCode image
- generate QRCode image with logo image