Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Reynolds benptc

View GitHub Profile
@benptc
benptc / index-distance-to-tools.html
Last active Mar 31, 2020
Context-dependent Tools - Demo 3
View index-distance-to-tools.html
<!-- Measure the distance between tools -->
<!DOCTYPE html>
<html lang="en">
<head>
<script src="objectDefaultFiles/object.js"></script>
<script src="objectDefaultFiles/pep.min.js"></script>
<meta charset="UTF-8">
<title>contextDependent</title>
<style>
@benptc
benptc / index-detail-threshold.html
Last active Mar 31, 2020
Context-dependent Tools - Demo 2
View index-detail-threshold.html
<!-- Using distance as a threshold -->
<!DOCTYPE html>
<html lang="en">
<head>
<script src="objectDefaultFiles/object.js"></script>
<script src="objectDefaultFiles/pep.min.js"></script>
<meta charset="UTF-8">
<title>randomColor</title>
<style>
@benptc
benptc / index-continuous-colors.html
Last active Mar 31, 2020
Context-dependent Tools - Demo 1
View index-continuous-colors.html
<!-- Adjust a continuous property based on distance -->
<!DOCTYPE html>
<html lang="en">
<head>
<script src="objectDefaultFiles/object.js"></script>
<script src="objectDefaultFiles/pep.min.js"></script>
<meta charset="UTF-8">
<title>randomColor</title>
<style>