Skip to content

Instantly share code, notes, and snippets.

Chris Peters bildepunkt

Block or report user

Report or block bildepunkt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bildepunkt / spiral.idplugin.js
Last active Sep 8, 2016
draw an archimedian spiral approximation (w/ cubic bezier curves) in iDraw/Graphic
View spiral.idplugin.js
// 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) {
View Preferences.sublime-settings
"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,
bildepunkt / main.js
Last active Jan 21, 2016
background color fishing
View main.js
(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)];
bildepunkt / jsdoc-default.css
Last active Aug 29, 2015
replace the standard jsdoc-default.css file with this for somewhat nicer layout and styling.
View jsdoc-default.css
body {
margin: 0;
padding: 0;
font-family: sans-serif;
nav {
width: 180px;
position: fixed;
top: 0;
left: 0;
You can’t perform that action at this time.