This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// spiral.idplugin | |
function drawSegment (doc, radius, iterations) { | |
var path = [doc addPath] | |
var spread = radius / 4 | |
var c = 0.552284749 | |
[path addMoveTo:CGPointMake(radius, 0)] | |
while (--iterations) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-OceanicNext.tmTheme", | |
"draw_white_space": "all", | |
"font_size": 12, | |
"highlight_selected_regions": false, | |
"ignored_packages": | |
[ | |
"Vintage" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
function getRgbArray(rgb) { | |
return rgb.match(/[0-9]+/g); | |
} | |
function getDarkenedRgbArray(rgb) { | |
let rgbs = getRgbArray(rgb); | |
return [Math.round(rgbs[0] / 2), Math.round(rgbs[1] / 2), Math.round(rgbs[2] / 2)]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 0; | |
padding: 0; | |
font-family: sans-serif; | |
} | |
nav { | |
width: 180px; | |
position: fixed; | |
top: 0; | |
left: 0; |