This is a collection of knowledge I have built up regarding browser powered drag and drop functionality
- timing: once as drag is starting
event.target
: draggableElement
Shader "Unlit/PolyRhythmVisualizer" { | |
Properties { | |
_TimeCode ("Input Time", Float) = 0 | |
_OuterRingFreq ("Outer Ring Frequency", Float) = 1 | |
_InnerRingFreq ("Inner Ring Frequency", Float) = 0.922 | |
_RingCount ("Ring Count", Int) = 35 | |
_VibrantFreq ("Vibrant Frequency", Float) = 2 | |
_Vibrant ("Vibrant", Range(0, 1)) = 0.5 | |
_Decay ("Decay", Range(0, 10)) = 2 | |
[Header(Cosine Gradiant)] |
⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
2019 update: this essay has been updated on my personal site, together with a followup on how to get started
2020 update: I'm now writing a book with updated versions of all these essays and 35 other chapters!!!!
If there's a golden rule, it's this one, so I put it first. All the other rules are more or less elaborations of this rule #1.
You already know that you will never be done learning. But most people "learn in private", and lurk. They consume content without creating any themselves. Again, that's fine, but we're here to talk about being in the top quintile. What you do here is to have a habit of creating learning exhaust. Write blogs and tutorials and cheatsheets. Speak at meetups and conferences. Ask and answer things on Stackoverflow or Reddit. (Avoid the walled gardens like Slack and Discourse, they're not public). Make Youtube videos