Discussion > What features next?
All PFont functions/features: createFont(), loadFont(), text(), textFont()
look at my test sketch
http://sketchpatch.appspot.com/view/3roomL00mPK/Test-text-function
the text function does not work
Hi William,
font support would be really cool, we'll work on that as soon as we fix a syntax checker and a few other minor but annoying glitches.
In the meantime, hopefully someone will implement some simple bitmap-fonts functions that one can use. Maybe it won't be as classy as the proper implementation but it would get the job done.
Heck, in fact I might do just that one of these nights.
Cheers,
Davide
hi Davide,
thanks a lot for your answer.
may you can ask/take some source code from the japanese Frocessing Project look at the Font/Text classes http://www.libspark.org/wiki/nutsu/Frocessing/en
Excellent suggestion, thanks. I do remember I did visit that project, but I didn't realize that we can actually reuse a lot of their code.
They seem to have implemented some 3d as well.
Actually, we should really get in touch with those people.
davide
Great site, I'd like to see some changes to the UI of the website.
1) The editor is too narrow at 1/2 of the width of the page (Google Chrome/Mac OS X). Perhaps a full-width editor and put the metadata above the edit area?
2) You probably have a reason for it being 810px wide (smartphones? with flash?) so I'll just mention that it's narrower than it needs to be on most devices.
3) It would be nice if you could edit and preview the code on the same page as the parent sketch. I would have a separate Preview and Save idiom, most of the time I just want to mess with someone else's sketch but not save it.
4) Just out fo curiousity, have you considered using Bespin Embedded instead of the syntax highlighter you are using?
5) there is a column bug on Chrome/Mac OS X where the view (e.g. http://www.sketchpatch.net/view/V5VTbK3lHKp/) is under the right column.
6) Here's an idea, what about listing the lines of code in each sketch and having the source code appear in a full width editor just below the sketch upon click. then having the rest of the metadata, comments etc below that?
7) Navigate from one sketch to the next according to various 'lists' (e.g. favorites, site timeline, user, etc). Right now the only thing I can click is Parent and the back button. Perhaps a navigator like flickr. You might want to have urls specific for each navigation type (favorites, by user, etc.) and of course a link rel canonical tag. Take a look at how flickr does its urls.
8) What's the site written in? Bonus points if python:)
9) How about a presentation version of the sketch, with a minimalist UI similar to the Processing publish html? This would encourage people to link to their sketches on sketchpatch.net.
Thanks for getting the word out on flickr, this is really great and the Flash system seems to work great!
Sorry, one more thing. Let users choose a username....you appear to be munging my gmail address, which some people may object to.
Hi,
nice sketches!
Yes, we want to do 1) and 7) and 9) and the username thing at some point. Also we didn't know about 5), thanks.
About 2): flickr and a number of other sites look good in that "restricted" width. It looks decent on most monitors according to the Google Browser Size tool. It even looks decent on netbooks. I myself have a small-ish screen in the office and it fits just well that size. The openprocessing site is too big for me, to say one. Also a smaller size forces a bit of clarity, which I think it's something that makes sP stand out from similar sites.
3): we'll think about this. I mean right now you can copy a sketch, play with it and not save it: no sketch is saved when you click on the copy icon and play with a copy of a sketch. But I see what you mean, people are probably left the impression that they are saving incomplete stuff around. On the other side, if we'd let users to edit a sketch directly, it would leave you with the confusion of "am I changing someone else's work?". We'll think about it and figure out if there is a way to leave the user reassured that he is playing freely without modifying other people's original work.
4) No we didn't. I know of the Bespin project but I didn't know of the embedded option. We'll look into it. CodeMirror is supernice and quiet and it works really well though so, unless Bespin can make us tea, we don't think we'll switch.
6) One of the staple points of sP from inception was to have the code just as prominent as the output canvas. Point taken though, maybe we'll think about some variations of the layout.
8) yes, python!
9) yes. In fact, we do have an embed feature (just replace "view" with "embed", and of course you can iframe that into any blog). But it needs some more polishing before it's ready though. But that's coming soon.
Thanks for all the suggestions.

What features would you like to see implemented in sketchPatch?