We can't make this file beautiful and searchable because it's too large.
This file contains 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
account-account-account-account-account-account,22781 | |
account-account-account-account-account-end,3311 | |
account-account-account-account-account-home,906 | |
account-account-account-account-account-other,1156 | |
account-account-account-account-account-product,5969 | |
account-account-account-account-account-search,692 | |
account-account-account-account-end,7059 | |
account-account-account-account-home-account,396 | |
account-account-account-account-home-end,316 | |
account-account-account-account-home-home,226 |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Dorling Cartogram</title> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.1.10/d3.js"></script> | |
<style> | |
#chart { | |
width: 960px; | |
height: 470px; |
This file contains 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
from dotenv import load_dotenv | |
import os | |
from array import array | |
from PIL import Image, ImageDraw | |
import sys | |
import time | |
from matplotlib import pyplot as plt | |
import numpy as np | |
# import namespaces |
This file contains 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
import { Plane } from '@react-three/drei'; | |
import { useMemo } from 'react'; | |
export const Border = () => { | |
const uniforms = useMemo( | |
() => ({ | |
u_color: { | |
value: [0.129, 0.129, 0.129] //same color as my background | |
}, | |
u_outline_color: { |
This file contains 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
import bpy | |
# Function to check if OptiX is available | |
def is_optix_available(): | |
prefs = bpy.context.preferences | |
cprefs = prefs.addons['cycles'].preferences | |
cprefs.get_devices() | |
for device in cprefs.devices: | |
if 'OPTIX' in device.type: | |
return True |
This file contains 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
/* Numerics for Doyle spirals. | |
* Robin Houston, 2013 | |
*/ | |
(function() { | |
var pow = Math.pow, | |
sin = Math.sin, | |
cos = Math.cos, | |
pi = Math.PI; | |
This file contains 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
/* Numerics for Doyle spirals. | |
* Robin Houston, 2013 | |
*/ | |
(function() { | |
var pow = Math.pow, | |
sin = Math.sin, | |
cos = Math.cos, | |
pi = Math.PI; | |
This file contains 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
/* Numerics for Doyle spirals. | |
* Robin Houston, 2013 | |
*/ | |
(function() { | |
var pow = Math.pow, | |
sin = Math.sin, | |
cos = Math.cos, | |
pi = Math.PI; | |
This file contains 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
import { OrbitControls, useFBO } from "@react-three/drei"; | |
import { Canvas, useFrame } from "@react-three/fiber"; | |
import { useMemo, useRef } from "react"; | |
import * as THREE from "three"; | |
import { v4 as uuidv4 } from "uuid"; | |
import "./scene.css"; | |
import vertexShader from "./vertexShader"; | |
import fragmentShader from "./fragmentShader"; |
This file contains 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
// NOTE: This expects a few things to be stored in a .env file: | |
// FBKEY=xxxxxxxxx | |
// FIGMAPERSONALTOKEN=xxxxxxxxxxx | |
// GOOGLE_APPLICATION_CREDENTIALS=/users/your.name/googlekeys/firebase-storage.json | |
const axios = require('axios'); | |
const dotenv = require('dotenv'); | |
const Storage = require('@google-cloud/storage'); |
NewerOlder