Skip to content

Instantly share code, notes, and snippets.

View DoctorBud's full-sized avatar

Dan Keith DoctorBud

View GitHub Profile
@DoctorBud
DoctorBud / .block
Created August 8, 2018 16:18
Jake Potter Battery Problem
license: none
height: 700
scrolling: yes
border: no
@DoctorBud
DoctorBud / .block
Last active June 1, 2018 21:43
Phenogrid and VueJS
license: none
height: 1000
scrolling: yes
border: no
@DoctorBud
DoctorBud / Home.md
Last active April 13, 2018 00:20
Disease To Phenotypic Feature Association
@DoctorBud
DoctorBud / Home.md
Last active February 1, 2018 04:04
Perlin Noise

Mike Bostock's Perlin Noise Demo

Adapted from Perlin Noise via Observable

Required Changes

  • I replaced the require("noise") with a smartdown.importScriptUrl call to async load the library.
  • I explicitly create the <canvas> element, rather than using the DOM package that appears to be part of Observable.
  • Use window.innerWidth and window.innerHeight instead of Observable's implicit width.
@DoctorBud
DoctorBud / Home.md
Last active January 31, 2018 02:35
Simple Smartdown Gist to test images and linking

Testing Images and Linking with Gists

Image of a cloud

/block/NewGistMenu.png

Link back to SmartdownViaGists

Front of White House

You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here.

Back Home

At End Of Road

You are standing at the end of a road before a small brick building. Around you is a forest. A small stream flows out of the building and down a gully.

West/Up

@DoctorBud
DoctorBud / .block
Last active May 4, 2019 04:03
Smartdown Via Gists
license: none
height: 700
scrolling: yes
border: no
@DoctorBud
DoctorBud / smartdown_starter.js
Created January 13, 2018 04:02
Smartdown Starter
/* eslint-disable */
/* global smartdown */
function starter() {
var defaultHome = 'Home';
var baseURL = 'https://smartdown.site/';
var rawPrefix = window.location.origin + window.location.pathname;
var gistPathPrefix = '';
var gistHashPrefix = 'gist/';
var outputDivSelector = '#smartdown-output';
@DoctorBud
DoctorBud / .block
Last active September 18, 2018 06:08
Smartdown+Go Producer/Consumer Poster
license: none
height: 700
scrolling: yes
border: no