by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Laszlo Korte
@laszlokorte
cool :+1:
Johannes Jakob
@JohJakob
@laszlokorte Can you explain me some basic Cocoa drawing things? I figured out that I can draw things with the drawRect function.
…but how do I draw freehand with the mouse?
Laszlo Korte
@laszlokorte
Not sure I understand your question. Are you talking about the CGGraphics API?
Johannes Jakob
@JohJakob
@laszlokorte I think so… the stuff with NSGraphicsContext and CGContext. I don't know much about it.
Basically, I want to create a simple drawing app with support for Wacom tablets to control the size of the brush.
Laszlo Korte
@laszlokorte
Ok I see.
If you like we can discuss it via PM in german
Johannes Jakob
@JohJakob
@laszlokorte Yeah, great!
Loïc Formont
@pouc
Hi! I saw Bret Victor's talk a while back and I hoped someone would implement it, and then I found your project! Just wow, great stuff!
I think it would be interresting to have this to run into a web browser, do you think a javascript implementation is realistic? If so, do you have any advice? I might dedicate some spare time into this in the next few months
Laszlo Korte
@laszlokorte
@pouc welcome to the project!
I know that bret victor's original implementation has been done in javascript. So I don't see why it would not be possible. If it's actually enjoyable to write that much code in javascript is an entirely different question :smile:
Loïc Formont
@pouc
@laszlokorte thx! I've started and I'm using TypeScript : much more enjoyable ;)
Laszlo Korte
@laszlokorte
oh great :+1:
are you porting reform-swift or do you start completely from scratch on your own?
Loïc Formont
@pouc
I'm porting it but it implies a lot of rewriting
I've almost finished porting the math lib
I've tried using automated translation tools but they miserably failed :D
Laszlo Korte
@laszlokorte
^^
Loïc Formont
@pouc
I can share the private github repo if you're interested
Laszlo Korte
@laszlokorte
Sure!
Loïc Formont
@pouc
I've not added any credits and file headers with your name in! Ofc it'll be done if/when I release this
It's still raw, does not compile and not tested yet ;)
Laszlo Korte
@laszlokorte
:smile: