Skip to content

Instantly share code, notes, and snippets.

View futurefabric's full-sized avatar
👋

Guy Moorhouse futurefabric

👋
View GitHub Profile
I am attesting that this GitHub handle futurefabric is linked to the Tezos account tz2Ps9C1Ew9EhcaGjGTjggqWVAG72YRAxi63 for tzprofiles
sig:spsig1GTX4ZE8NSMVD2thWC58zA6PRK5VmMP52rRes1RYJ6kXTaysJM6LSsWjTUhuFEVC2PkViijii5Us6pFbDJqCPDtzx9GBVh
@futurefabric
futurefabric / spinning_cube_stack.pde
Created October 1, 2018 15:34
Spinning Cube Stack
// Guy Moorhouse – 2015
// Spinning Cube Stack
// This is the source code for this animation:
// https://www.mooooooving.com/post/108991844461/spinning-cube-stack
int[][] result;
float t;
.Trends {
display: none;
}
.dashboard.dashboard-right {
display: none;
}
li.moments.js-moments-tab {
display: none;
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>TITLE</title>
<meta name="description" content="DESCRIPTION">
<link rel="stylesheet" href="assets/stylesheets/application.css">
</head>
@futurefabric
futurefabric / gif_animation_example.pde
Last active September 1, 2020 11:20
Example code to create an animation and image sequence
// Example code from http://futurefabric.co.uk/mooooooving
// Based on the work of Dave Whyte — http://beesandbombs.tumblr.com
int[][] result;
float t;
void setup() {
setup_();
@futurefabric
futurefabric / govdelivery_template.html
Last active August 29, 2015 14:10
Email templates — Product Gaps
<p><a href="https://www.gov.uk"><img src="http://stage-content.govdelivery.com/attachments/fancy_images/UKGOVUK/2014/12/20064/govuk-logotype_original.gif" alt="GOV.UK" title="GOV.UK" width="160" height="26" style="border: none; outline: none;" /></a></p>
<table id="content" style="max-width: 580px; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
<tr>
<td style="border-collapse: collapse; padding: 0">
<h1 style="color: #0B0C0C !important; font-family: sans-serif; font-weight: 700; font-size: 36px; line-height: 1.111111111; margin: 15px 0; padding: 15px 0;">Title here</h1>
<p style="color: #0B0C0C; font-family: sans-serif; font-size: 19px; line-height: 1.315789474; margin: 15px 0;">
The websites of all government departments and many other agencies and public bodies are being merged into GOV.UK.
@futurefabric
futurefabric / plot_rows_and_columns
Created October 18, 2014 22:54
Plot points in rows and columns
// PLOT POINTS IN ROWS AND COLUMNS
// By Guy Moorhouse @Futurefabric
float x, y;
int number_of_points = 900;
float grid_across = round(sqrt(number_of_points));
float circle_diameter = 10;
float margin = 30;
void setup() {
@futurefabric
futurefabric / plot_a_spiral.pde
Last active August 29, 2015 14:07
Plot points in a spiral
// PLOT POINTS IN A SPIRAL
// By Guy Moorhouse @Futurefabric
float x, y;
int number_of_points = 280;
float circle_diameter = 10;
float plot_radius = 200;
float angle_incr = radians(10);
void setup() {
@futurefabric
futurefabric / plot_a_circle
Created October 18, 2014 21:10
Plot points in a circle
// PLOT POINTS IN A CIRCLE
// By Guy Moorhouse @Futurefabric
float x, y;
int number_of_points = 17;
float circle_diameter = 20;
float plot_radius = 150;
void setup() {
size(500,500);