Skip to content

Instantly share code, notes, and snippets.

View HugoBDesigner's full-sized avatar

Hugo HugoBDesigner

View GitHub Profile
@HugoBDesigner
HugoBDesigner / tapas-spoiler.css
Created July 10, 2023 19:13
Tapas Future Episode Spoiler Tag
.episode-list li.js-early-access:not(:hover) > div > a.info__title,
.episode-list li.js-coming-soon:not(:hover) > div > a.info__title,
.series-root .section--left li.episode-list__item > a.js-early-access:not(:hover) > div.info > .title,
.series-root .section--left li.episode-list__item > a.js-coming-soon:not(:hover) > div.info > .title,
.js-episode-viewer div.episode-unit > div.viewer--filtered div.viewer__header:not(:hover) > p.title {
filter: blur(6px);
padding-left: 10px;
transition: 0.5s;
}
@HugoBDesigner
HugoBDesigner / vdc-squirrel.css
Last active March 18, 2023 02:56
VDC theme for Squirrel
p, a, .programlisting, table, body {
font-size: 0.8rem;
}
h4 {
font-weight: bold;
}
h3 {
font-size: 135%;
@HugoBDesigner
HugoBDesigner / avocado.css
Last active June 12, 2025 23:50
HugoBDesigner's Mastodon Avocado Theme (WIP)
:root {
/* DEFAULT HUE */
/* --hue: 240deg; */
/* AVOCADO HUE */
/* --hue: 90deg; */
/* BLUEBERRIES HUE - brodokk's theme */
/* --hue: 300deg; */
/* CURRENT HUE */
--hue: 90deg;
}
@HugoBDesigner
HugoBDesigner / main.lua
Created February 1, 2022 01:58
Continuous Rings Clock Display
function love.load()
windowW, windowH = love.window.getMode()
centerX, centerY = windowW/2, windowH/2
radius = math.min(windowW/2*.9, windowH/2*.9)
ringWidth = math.min(radius/8, 32)
font = love.graphics.newFont(24)
end
@HugoBDesigner
HugoBDesigner / main.lua
Created February 1, 2022 01:56
Segmented Rings Clock Display
function love.load()
windowW, windowH = love.window.getMode()
centerX, centerY = windowW/2, windowH/2
radius = math.min(windowW/2*.9, windowH/2*.9)
ringWidth = math.min(radius/12, 32)
font = love.graphics.newFont(24)
end
@HugoBDesigner
HugoBDesigner / main.lua
Last active June 8, 2021 05:49
Transform images into circle mosaic
function distance(x1, y1, x2, y2)
return math.sqrt((x1-x2)^2+(y1-y2)^2)
end
img = love.image.newImageData("m.png")
local tolerance = 2/8
balls = {}
for ballr = math.min(img:getWidth()/2, img:getHeight()/2), 2, -1 do
print(ballr)
for startx = 0, img:getWidth()-ballr*2-1 do
@HugoBDesigner
HugoBDesigner / main.lua
Created October 8, 2019 03:53
Wavy Dot Matrix - Code Doodle
function love.load()
controls = {
showOptions = {
options = {true, false},
keyadd = "f1",
ctrl = false
},
showGrid = {
@HugoBDesigner
HugoBDesigner / avocado.css
Last active February 5, 2020 03:19
HugoBDesigner's Discord Avocado Theme (WIP)
/*
HugoBDesigner's Discord Avocado Theme
© Hugo Balthazar
INSTALLING:
Well, you don't "install" it so much as you "apply" it. But I digress.
The easiest way I found of applying a custom CSS stylesheet:
- After Discord starts up, press Ctrl+Shift+I (shortcut for "Inspect Element");
- Make sure you're on the "Elements" tab on the window that opens up, and that
the "<body>" element is selected (it usually is, by default);
@HugoBDesigner
HugoBDesigner / readme.txt
Created June 9, 2019 00:45
Test (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@HugoBDesigner
HugoBDesigner / readme.txt
Created June 1, 2019 04:05
Weird Dave (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html