PDA

View Full Version : Easiest way to program graphics?




robvas
Mar 5, 2013, 08:19 PM
What I'm looking for is an easy way to do graphics without having the load up Xcode and actually compile etc.

Is there an interactive console of sorts for something like Ruby or Python that will let me pop open a canvas type window and draw to it? Maybe I should just be looking at something in Javascript with Chrome's console or Firebug?

Bitmaps would be fine but lineart would be great. Just want to wrap it around some loops and such.



xStep
Mar 6, 2013, 06:54 AM
What is your end goal?

There are many graphics apps like Pixelmator or Photoshop.

If you want to include graphics code in an app via a drawing, the check out PaintCode (http://www.paintcodeapp.com).

robvas
Mar 6, 2013, 07:05 AM
What is your end goal?

There are many graphics apps like Pixelmator or Photoshop.

If you want to include graphics code in an app via a drawing, the check out PaintCode (http://www.paintcodeapp.com).

Remember how in QBASIC you could just do stuff like


screen 13

for i = 1 to 100
moveto 0,0
lineto 100, i
next i

Just want to play around with some algorithms/formulas for drawing and rotating shapes and maybe play with fractals too.

I know a little bit of Quartz2D and OpenGL but I don't want to go through the hassle of doing a project in Xcode.

subsonix
Mar 6, 2013, 08:32 AM
Have you looked at Processing? http://processing.org/

lloyddean
Mar 7, 2013, 05:20 PM
Quartz Composer.app

firewood
Mar 8, 2013, 03:55 PM
Remember how in QBASIC you could just do stuff like ...

There are several BASIC interpreters which include graphics commands that run on current OS X Macs. Some open source. There's even a half dozen or so in the iOS App Store.

You could also look for Python, Logo or Smalltalk/Squeak/Scratch/Alice type apps.

There's also JavaScript canvas drawing capability right inside Safari/Chrome/etc.

robvas
Mar 8, 2013, 05:59 PM
There are several BASIC interpreters which include graphics commands that run on current OS X Macs. Some open source. There's even a half dozen or so in the iOS App Store.

You could also look for Python, Logo or Smalltalk/Squeak/Scratch/Alice type apps.

There's also JavaScript canvas drawing capability right inside Safari/Chrome/etc.

Yea, I ended up getting this book:

http://i.imgur.com/S09BFcQ.jpg