Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shihn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
Show HN: Call functions or objects in another windowithiframe from local scope
(github.com)
1 points
by
shihn
8y ago
|
0 comments
92.
▲
by
shihn
8y ago
I'm using a proxy object that ends up sending messages to the iframe behind the scene. So, from your perspective you're just accessing the object/function as if it is was in your window's context See: https://
93.
▲
Show HN: Windtalk – Let windows/iframes invoke each other's functions or objects
(pshihn.github.io)
6 points
by
shihn
9y ago
|
3 comments
94.
▲
by
shihn
9y ago
Hi, I launched Rough.js a month ago ( https://news.ycombinator.com/item?id=16571827 ) and was overwhelmed by all the love. Now Rough.js renders SVG nodes as well. This would be great for creating more interactive graphics. h
95.
▲
Show HN: RoughJS – Create hand-drawn graphics now supports both SVG and Canvas
(github.com)
7 points
by
shihn
9y ago
|
1 comments
96.
▲
Show HN: A simple keyed tree data store in JavaScript
(github.com)
5 points
by
shihn
9y ago
|
0 comments
97.
▲
Show HN: Proxly: A tiny/simple javascript lib to proxy list of objects/functions
(github.com)
5 points
by
shihn
9y ago
|
0 comments
98.
▲
by
shihn
9y ago
There was in issue with the CDN I believe. It was serving an old cache at some nodes. I changed the code to use a different one.
99.
▲
by
shihn
9y ago
I'm not planning to at the moment, but if someone wants to write a wrapper, go for it.
100.
▲
by
shihn
9y ago
I'm not planning to at the moment, but if someone wants to write a wrapper, go for it.
101.
▲
by
shihn
9y ago
Thanks. I'm a bit surprised by the reception actually. It was just a fun side project with no real use case in mind.
102.
▲
by
shihn
9y ago
This is fantastic.
103.
▲
by
shihn
9y ago
Cool!
104.
▲
by
shihn
9y ago
I used some of the same core code to create sketchy UI controls using web-components: https://www.webcomponents.org/collection/wiredjs/wired-eleme...
105.
▲
by
shihn
9y ago
I'm assuming you're joking :P But if it really solved 2 of your problems, I'm curious what they were?
106.
▲
by
shihn
9y ago
That's true. There's so much randomness in there that every render will likely be unique - every so slightly different from the previous frame.
107.
▲
by
shihn
9y ago
Well the library provides simple drawing methods. You would animate it the same way you would animate anything on a canvas. (Note most D3 charts use SVG)
108.
▲
by
shihn
9y ago
Quick bar chart example with D3: http://roughjs.com/examples/bar-chart.html
109.
▲
by
shihn
9y ago
I'm doing some approximation on complex SVG paths for performance reasons. Doesn't happen on non-svg paths. Need for improvement.
110.
▲
by
shihn
9y ago
Here- took a quick stab at it: http://roughjs.com/examples/bar-chart.html
111.
▲
by
shihn
9y ago
I drew a map with RoughJS and d3 (3rd example ->) https://github.com/pshihn/rough/wiki/Examples I'm sure Charts and all would be easy too.
112.
▲
by
shihn
9y ago
It's doable - It already parses SVG paths https://github.com/pshihn/rough/wiki#path-d--options
113.
▲
Show HN: RoughJS – Create hand-drawn graphics using JavaScript
(roughjs.com)
1087 points
by
shihn
9y ago
|
92 comments
114.
▲
A simple generative art using fractal trees
(channels.cc)
3 points
by
shihn
9y ago
|
0 comments
115.
▲
Show HN: Workly – A simple way to move a function/class to a web worker
(github.com)
3 points
by
shihn
9y ago
|
0 comments
116.
▲
JavaScript Proxies and Batman
(beta.observablehq.com)
1 points
by
shihn
9y ago
|
0 comments
117.
▲
Digital Content Micropayments
(medium.com)
4 points
by
shihn
9y ago
|
0 comments
118.
▲
Content network with ChannelCoin. Get paid for viewing Ads. Pay content creators
(medium.com)
4 points
by
shihn
9y ago
|
0 comments
119.
▲
by
shihn
9y ago
Few weeks ago, as a fun project, I built a set of web components that had a Balsamiq like hand-drawn sketchy look. Basic components like buttons, textboxes, sliders, etc. wired-elements: https://www.webcomponents.org/collec
120.
▲
Show HN: Mockups and wire-framing tool built using web components
(github.com)
4 points
by
shihn
9y ago
|
1 comments
More ›