Prototyping 2013-09-23 (Networked Media): Difference between revisions

From XPUB & Lens-Based wiki
Line 14: Line 14:
Python supports a flexible concept of typing sometimes called [[Wikipedia:Duck typing|duck typing]]. What if we secretly replaced our turtle with another turtle trained to respond in exactly the same way as the one built-in to Python, but with a alternative agenda ;)
Python supports a flexible concept of typing sometimes called [[Wikipedia:Duck typing|duck typing]]. What if we secretly replaced our turtle with another turtle trained to respond in exactly the same way as the one built-in to Python, but with a alternative agenda ;)


== Some concepts ==
== Some tools + concepts ==


* Inkscape (application)
* [[Inkscape]] (application)
* SVG (a standard for vector graphics)
* [[SVG]] (a standard for vector graphics)
* XML / Markup (an abstract standard for markup)
* [[XML]] "Universal" Markup for all kinds of documents
* Inkscape Plugin (a program that transforms an SVG file, typically run from within the Inkscape interface)
* [[Inkscape Plugin]] (a ([[Python]]) program that transforms an SVG file, typically run from within the Inkscape interface)


== Rough Notes ==
== Rough Notes ==

Revision as of 18:08, 22 September 2013

Construction.gif This page is currently being worked on.

Sept 23 2013: 1.02 "Turtles & Ducks"


Promiscious bits

Last week the question came up of transforming audio to text and back again. What does it mean to re-interpret bits as another media? Examples.

Promiscous interfaces

Computer languages are naturally "promiscuous" in that the interesting things they do are typically provided by libraries -- which is like a software application that you use by programming through the language.

Python supports a flexible concept of typing sometimes called duck typing. What if we secretly replaced our turtle with another turtle trained to respond in exactly the same way as the one built-in to Python, but with a alternative agenda ;)

Some tools + concepts

  • Inkscape (application)
  • SVG (a standard for vector graphics)
  • XML "Universal" Markup for all kinds of documents
  • Inkscape Plugin (a (Python) program that transforms an SVG file, typically run from within the Inkscape interface)

Rough Notes

  • Inkscape: XML Editor
  • SVG: Open in a text editor... draw by typing, search and replace

Turtle Vectors

Seymour!

Promiscuity

  • Inkscape: Apply path tools to a resulting drawing (need good example -- how to join nodes ?!)
  • Python: Load a JSON feed (following Max's example?)

Inkscape forums

Results for search "Joining nodes inkscape":

Afternoon

Practice with Seymour

Extra: Think about other Inkscape/Python plugins

Examples

Putting SVG Online