Sign in with Twitter

Username:

Preet Shihn @preetster San Francisco

🇨🇦 Code, Polaroids, Shiny Objects ✨

977 Following   1,750 Followers   7,254 Tweets

Joined Twitter 9/18/08


@mauryakartik9 Origin's not the problem. Adjusting for rotation is. The first canvas in the article does essentiall… https://t.co/uEkE3n5OM6 @dalmaer https://t.co/h2qPWpurIO
7/7
2020
@justinfagnani Thanks. I can imagine it getting more complicated with CSS - different origins and scaling. I have d… https://t.co/8uLBxxTVNnHave you ever implemented resizing of rotated objects? I wrote a little thing about it. Linear algebra to the rescu… https://t.co/3WnaoaRsqshttps://t.co/rkpoVSqFj1 has embraced all roughjs fills. I've struggled a bit with adding new fills. The corrects so… https://t.co/r2eN7GQvwp
7/6
2020
#cartography #gischat what do you think about an interactive 3D joyplot? you can try it out live here:… https://t.co/MqB0q5YRSD
Retweeted by Preet ShihnThese look quite nice and very hand-drawn. RoughJS art with an AxiDraw plotter using a brush pen :) https://t.co/MErcrhOYD0
7/2
2020
Happy Canada Day! 🇨🇦 @swyx @Coding_Career Congratulations! 🎉
7/1
2020
What are your favourite tweet-length mathematical proofs? Here's a couple of mine.
Retweeted by Preet Shihn
6/30
2020
Did a quite lengthy blog post about my process of porting the Rough Notation library to Web Components https://t.co/tIlWoYsobP
Retweeted by Preet Shihn @HariSubramonyam Let me know how it goes. I have a feeling they haven't bee tested much in the field.
6/28
2020
@schochastics @mario_angst_sci Not smuggled into a paper, but RoughJS has had at least two paper citations that I a… https://t.co/KAGOwmSXtQRoughnet - R Stats package to draw networks using RoughJS @RoughLib https://t.co/BGziLQJQbe @swyx If the JS framework doesn't work for you, there correct answer is to write your own custom one! 😅 (I kid I kid)This is my second step👇🏽. First step is buy a domain name 😅 https://t.co/eArkZ5RLnV
6/27
2020
@Fausto95_ Yes I was planning to create a wiki page for it, but I like the idea of linking it on Readme. Should do that.🤯 This is really impressive: https://t.co/mgCD71TvZ8All my active "hand-drawn" projects are now under a new org https://t.co/FWqOUB9TFM 🎨 RoughJs (… https://t.co/riwmjuo7Kf
6/26
2020
@matthewcp My overly positive take: Not mentioning is, in some sense, a good sign. It's part of the browser platfor… https://t.co/Ty8oEhzcbW @msurguy Haha thanks. Never thought I'd still be dabbling in this silly side project two years later.Deal lazyweb, is there a term for when you look at something you already have in a different way or invert it and get/inspire something new?
6/25
2020
Vanilla Web Component Rough Notation now also supports the 0.4.0 features :) https://t.co/mqTVW3K3tx https://t.co/2tL2L4pPlx
Retweeted by Preet Shihn
6/24
2020
More diagraming tools now embracing sketchy styles! https://t.co/rkpoVSqFj1 (now branded as https://t.co/326nU2F6rHhttps://t.co/DqNJMbUx4ASolar eclipse on Mars. https://t.co/2ds96FuVNq @jdwlbr @css I was thinking of that and created Github org for the hand-drawn projects https://t.co/FWqOUB9TFM and… https://t.co/WtD8jM0fhIAlso, it may not be obvious but one can annotate any element, not just text, but text would make more sense for mos… https://t.co/w8HbKogvz0A small update on https://t.co/LmlYUOo28S We are just under 4.5k stars on Github Got mentioned on @css tricks. v0.4… https://t.co/o1w1nIAgwI @matthewcp https://t.co/ac74xks8rS for marketing https://t.co/mOXPra3e9q for logged in version, if you're okay with… https://t.co/EKMo1QWtrV
6/23
2020
@dluzar Mostly the ergonomics and responsiveness. Buttons are just the plus. I actually don't use them as frequentl… https://t.co/7ywp8Ww2ru @Vjeux I do miss some gestures on the trackpad, but still more efficient on the mouse. Also I use an external keybo… https://t.co/IHKepVsK8IHalf the coding is copy/paste anyway right? So programmed the side buttons (4, 5) for those ops https://t.co/4bRn6N0EbrI switched to a gaming mouse for my home office setup, & it's improved my coding efficiency. Always knew I could ge… https://t.co/HwCUk1ZabV
6/20
2020
What's the best way to store a graph in a DB like IndexedDB? Operations i want to optimize for - graph traversal (… https://t.co/QiaBiIj8Di @briankardell Wave is a retired apache project now if anyone wants to copy the good bits https://t.co/hcuhXo7WCc A… https://t.co/LYfqLCzgUe @briankardell I loved parts of it.
6/19
2020
@WestbrookJ flexbox layout is the hammer. the code is not very clean. This was a very hacky project haha. But you… https://t.co/nux8Ea5Y3WFlexbox is great. All the equations in the second column are mostly laid out using flexbox. Also, if you have a ham… https://t.co/Q4T9kH8GFm
6/18
2020
📣 A couple of updates to RoughNotation (https://t.co/LmlYUOo28S) It now supports annotating inline content that ca… https://t.co/spyFlTYm19
Retweeted by Preet Shihn @michaelvillar 👍 good to knowHave you moved a GitHub repo from a personal account to an Org? Any things I should watch out for?
6/17
2020
@Vjeux Last used web crypto (2-3 years ago), was frustrating that not all browsers supported the same algos. e.g. E… https://t.co/EaVWOinS491/ We think this is an important problem area to explore because phishing and other forms of social engineering are… https://t.co/PKjEY5SjM6
Retweeted by Preet Shihn @swyx Cool. Any feedback would be welcome. I know MDN is experimenting with using this in their next-gen platform… https://t.co/AWIuK7D0qPThe goal is to keep the lib always under 4kb gzipped. Just under 3.7 right now and I have not explicitly tried to optimize any code yet.↺ Also the ability to decide the number of iterations of sketchy outlines to use ✨ https://t.co/evULdrFFIN📣 A couple of updates to RoughNotation (https://t.co/LmlYUOo28S) It now supports annotating inline content that ca… https://t.co/spyFlTYm19
6/16
2020
@swyx "In the audiobook version of Talking to Strangers, you'll hear the voices of people Gladwell interviewed for… https://t.co/J98tvb8O9d @swyx Audiobook is excellent because it plays like an excellent podcast with other people's voices / interviews @swyx Yeah I found 'Talking to strangers' an excellent read and triggered some interesting retrospection.
6/15
2020
Quantum physics explained. https://t.co/xpLMYazZ4n
6/12
2020
So much more I want to say, and will say. But I do want to post this story of mine that came out yesterday in the… https://t.co/rb9nYacnLJ
Retweeted by Preet Shihn
6/10
2020
@dai_shi @collintmiller @RoughLib @excalidraw One of the reasons why RoughJS is written as such, is to support WebW… https://t.co/krlagx4MbJ
6/9
2020
I *told* you web components were really taking off 🚀 https://t.co/brLfO9rcCQ
Retweeted by Preet Shihn
6/6
2020
Curious about how Covid-19 has affected bloggers' revenue? We ran the numbers for our cooking/recipe sites specific… https://t.co/yqLv53beU0
Retweeted by Preet Shihn @tomasz_ducin Thanks for your kind words!
6/4
2020
@czue Congrats!
6/3
2020
@dai_shi @excalidraw @akhilpokle You could also animate between the two positions, but perhaps the idea is to be choppy
6/1
2020
we can model a lightning strike by finding the shortest path in a random maze, from a point at the top to the groun… https://t.co/8z931Hnsja
Retweeted by Preet Shihn
5/31
2020
@JimmyRis @stripepress Nice. I was playing this last week on a different site though. Still remember most of my tricks :)
5/30
2020
Got these two beauties in the mail. @stripepress makes the best hardcovers. https://t.co/o5qcsfTGBA @osdotsystem Ah fair enough. I'll create a live glitch example. I'll let you know :) @osdotsystem It's not very complicated, but look at the readme, it has all the docs with sample usage in vanilla js… https://t.co/IPwV41fykN @DasSurma @stramel89 @argyleink @aerotwist As I discovered recently, import.meta.url can be a good default to resol… https://t.co/qDJHJ327oq @stramel89 @WestbrookJ Would be nice to have a rollup plugin that kinda does that for you. turn it into a string an… https://t.co/0MFwKiKVKD @WestbrookJ @stramel89 Load/Store the worklet code as a string in your code. Turn it into an Object URL. Then pass… https://t.co/VreA3DVwrfMy new project (https://t.co/KjvitDehRa) was rejected from Open Source Collective, it doesn't have enough social va… https://t.co/R6uxRAbtjy
Retweeted by Preet Shihn @pomber Yeah. It shows you if you select typescript in the language. :/ @swyx @awscloud @AWSAmplify Congratulations! AWS is lucky to have you.1.5k stars on GitHub. 500 points on HN. Thanks everyone 🙏
5/29
2020
@justinfagnani I was being very Canadian in my opinion haha @ozgurrgul But people do build houses without knowing physics. No? They work with a template and framework created… https://t.co/5MimhUu02OState of webdev today :) Frontend dev = Framework dev. (Not saying it's good or bad, just that's what it is to a lo… https://t.co/L63jm8agONHey @preetster, I did create the react wrapper for your library, what do you think? https://t.co/nWxHWqtMWx
Retweeted by Preet Shihn @LinkStrifer Nice @andyhattemer Thanks Andy! @MarouenMhiri Nope https://t.co/oGs2Y7QIPD https://t.co/0dtEt7B1cx @iamvdo @artur_bien @Vjeux You have some amazing Houdini examples! Another reason I could not use Houdini for this… https://t.co/zk6ogLrOxa @AndreJaenisch Here: https://t.co/CdIwD8B4qG @czue Thanks @togmund Thanks. Do share what you built. @nilayperk @markdalgleish That magic happens in https://t.co/gdhrBMHQxC which this uses to render shapes. (render.t… https://t.co/6odw0LSXPa
5/28
2020
@czue Cory, I think I fixed it but don't have an android device on hand :) When you get a chance, let me know if it… https://t.co/wG8Xpb4s6E @Elijah_Meeks @noteable_io Looking forward to it. Signed up on the website :) @jsjoeio Yeah I imagine tutorials and presentations would be a great space for this. @Elijah_Meeks @noteable_io Congrats! Will it be something along the lines of Observable? @dimfeld This is great! thanks @herrhelms Thanks! Looking forward to see how you use it :) @matthewcp Yeah i have gotten into similar habit as well but after the case. I use case all the time and I cannot r… https://t.co/hBEtMWwQcy @matthewcp Switch statements are great! I think you can add lint rules to complain if you forget to break or if you… https://t.co/pq8V1QbKWM @miffenss Thanks. Fixed the typo. Yes it would be nice to integrate with markup apps for sure. Great for open sou… https://t.co/Bckbba96mY @czue Yeah. There’s some issue with web views on Android it seems. (Chrome). Have to find an Android device to test. @Netlify Something changed this morning with your deployment script. node_modules folder is not deployed anymore fr… https://t.co/UH300GCNYk @KrComet ha. Well I knew there were some bugs in there :) Thanks @pomber It can be implemented pretty easily though. Create an issue with what you're thinking of? https://t.co/eEJCGrGDX7 @pomber Thanks. Any feedback would be welcome :) @artur_bien @Vjeux My first instinct was to use Houdini (in fact I made something like it 2 years ago:… https://t.co/6If8MzAAnmNext step: Wrap this in a WebComponent and a React component wrapper for that. Go ahead, someone do it! Also perh… https://t.co/U3nz5BHrxyFun facts: * Time to create the website + readme > Time to code * Inspired by @dai_shi's work to animate @excalidraw drawingsSo... I made a thing yesterday https://t.co/LmlYUOo28S 📢 Rough Notation ✍️ ✨ Create and animate hand-drawn annotat… https://t.co/nHVLvbk2bM
5/27
2020

0