HNHacker News
TopNewBestAskShowJobs

nbartlomiej

225 karma · joined September 9, 2011

submissionscomments
nbartlomiej··on Is This New Swim Stroke the Fastest Yet? (2015)
The title of this post would be better with a [2015] tag. Also, previous discussion: https://news.ycombinator.com/item?id=9785004
nbartlomiej··on Description of classic and modern C64 graphic modes
If you're interested in coding something for C64, there are screencasts at http://64bites.com (by mehowte).
nbartlomiej··on Show HN: Kubist, a little web app to make cubism-like images
I've made an app for the similar art style: http://polygenapp.com , it has been discussed on HN not long ago: https://news.ycombinator.com/item?id=8966928 . Here's a complete list of tools that I'm using, if anyone's interested: https://medium.com/@polygenapp/frameworks-libraries-and-othe... .
nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
There's a bug in Crosswalk which causes crashes on LG G3 (https://lists.crosswalk-project.org/pipermail/crosswalk-help..., https://crosswalk-project.org/jira/browse/XWALK-3365). I will be looking for a workaround. Thank you for reporting the issue.
nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
No, it's different. Here I've described how I'm working with photo-based patterns: https://news.ycombinator.com/item?id=8968113 . More technical details on PolyGen's Medium: https://medium.com/@polygenapp .
nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
For abstract patterns, points are chosen "randomly" (grid with randomised offsets). For photo-based ones, I'm using JSFeat's YAPE06 (http://inspirit.github.io/jsfeat/#features2dcorner), plus some own customisations. I'm constantly looking for ways to improve generating photo-based patterns; if anyone has some ideas here, I'd be happy to listen.

I've played with genetic algorithms, but without anything practical. Indeed, this might be more appropriate for desktops.

I've experimented with Voronoi too, but the results weren't as pretty. The cells were more rounded; and the low poly style was gone.

nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
The "refresh" button randomises as much as it can, but you can prevent a section from being randomised by "locking" it (clicking on the tiny lock icon).

So you can pick a size, lock it and hit "refresh" as much as you wish. I'm glad that you like the app, cheers!

nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
I'll be looking into it. In the meantime you might experiment with a different camera (pick "System" in the "Camera & Gallery" option). And many thanks for your comment.
nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
I'll be looking into it. Similar topic: https://news.ycombinator.com/item?id=8967391 .
nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
I'll be happy to make a desktop version if users want it. Comment here, reply to this tweet (https://twitter.com/polygenapp/status/560846810735206400 ) or let me know in any way if you're interested.

Edit - And as for "why mobile-first", I wanted to make the app casual and approachable. You can take a photo of your teacup and have a cool low poly version of it in an instant. Or generate a pretty colourful wallpaper with one tap. But I'd love to build a desktop version too. Larger screen and finer control over the pointer would give some new possibilities.

Edit 2 - In case somebody didn't notice, you can generate a wallpaper for your desktop from the mobile app. Just choose a desktop option in the "Size" setting.

nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
I've tried d3.js, but decided to go with iron wallaby's delaunay (https://github.com/ironwallaby/delaunay) implementation for performance reasons. The difference was especially visible when working with photos.
nbartlomiej··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
Crop aspect ratio matches the "Size" setting, located one screen earlier; so it's a feature for now. I plan to revisit the crop screen sometime in future and bring more control there. Thanks for your comment!
nbartlomiej··on Show HN: Rotate-To-Snap
> How do I focus?

I've assumed that "Tap to snap..." works on the (right) button area only and tapping the photo triggers focus. This isn't clear though.

nbartlomiej··on Ask HN: AdMob vs. iAd
Remember that iAD doesn't work worldwide, it's only enabled in selected countries (Australia, Canada, France, Germany, Hong Kong, Ireland, Italy, Japan, Mexico, New Zealand, Spain, Taiwan, the United Kingdom, and the United States; see FAQ -> iAd in iTunesConnect).
nbartlomiej··on Military uniforms – Expense and stupidity too big to camouflage
Cached version, without login wall: http://webcache.googleusercontent.com/search?q=cache:SZQxqxt...
nbartlomiej··on Hybrid apps: Do not copy. Do get inspired. Avoid reimplementing native UI
Hybrid gaming might become a bigger thing when iOS8 is finally released, it should bring WebGL support. I'd like to see how e.g. pixi.js with WebGL renderer performs on mobile.

I've been able to use PhoneGap / Cordova in my iOS projects and achieve ~60FPS, but I've had to stay within some constraints (e.g. use GPU-accelerated CSS animations). As suggested, Crosswalk is an interesting alternative for Android.

nbartlomiej··on Hybrid apps: Do not copy. Do get inspired. Avoid reimplementing native UI
Author of the blog post here. From my experience, achieving a native feel with a hybrid app on e.g. iOS isn't that hard. There are constraints, true. But it can be done.

My strategy is to use GPU-accelerated CSS transitions, test often on the real device and see how others are doing it, e.g. in UI frameworks (onsen ui, framework7, ratchet, etc).

nbartlomiej··on Txtcam – webcam for your terminal
Disclaimer: I'm not the author, it's just a project that I find cool.
nbartlomiej··on Foggy: jQuery plugin for blurring page elements
I like your point, I agree that you should be careful when using this effect.

However, in proper places blur feels very natural; after all, human eye works this way.

I think blur has lots of potential. I especially like these use cases:

- triggering blur effect after a dialog pops-up

- leading the user through a series of mundane forms, displaying the goal in the blurred background

I'd be interested to hear other ideas too.

nbartlomiej··on Foggy: jQuery plugin for blurring page elements
Thanks! On which iPad does the bug occur? (I've tested on iPad2, iOS5 and it seemed ok.)
nbartlomiej··on BlaBlaMeter detects how much bullshit is in your text
You might like http://nbartlomiej.github.com/lisense/ then.

It my old pet project; like BlaBlaMeter, but for licenses.

I still hope to experiment with the idea of improving licenses in future.

nbartlomiej··on Show HN: Lisense, simple web app for rating readability of any license
Glad you like it! True, the app may not reveal any big news, but it will at least confirm existing assumptions (i.e. the king isn't wearing anything at all and licenses more than 10 pages are really too long).