xuv's notebook

Side notes, howtos and random bits of information related to Julien Deswaef's projects

User Tools

Site Tools


projects:design_with_git:medialab_prado_log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:design_with_git:medialab_prado_log [2013/04/25 00:32] – [Day 10 : 24 April] Julien Deswaefprojects:design_with_git:medialab_prado_log [2013/04/27 11:52] (current) – [Day 12 : 26 April (last day)] Julien Deswaef
Line 3: Line 3:
 From 15 April till 27 April, [[projects:design_with_git|Design with Git]] daily activity at Medialab Prado. From 15 April till 27 April, [[projects:design_with_git|Design with Git]] daily activity at Medialab Prado.
  
 +===== Day 12 : 26 April (last day) =====
 +  * Cooked a function to resize in-the-dom svg with CSS3 transforms 
 +  * Fetching github repo and navigating svg commit history was almost there. But had rendering problems and time too short before presentation.
 +  * Static version of the project can be tested at: http://xuv.github.io/design-with-git/static-svg-diff/
 +
 +
 +===== Day 11 : 25 April =====
 +  * Documentation: filling info, drawing illustrations and taking screenshots.
 +  * Chrom[e/ium] debug:
 +    * Fails on static local: because "Cross origin requests are only supported for HTTP" (ref: canvg)
 +    * SVG Dashed line not rendered properly into Canvas.
 +
 +Canvg patch for chrome dashed-line rendering:
 +<code=javascript>
 +// replace these
 +ctx.webkitLineDash = lengths;
 +ctx.webkitLineDashOffset = 2;
 +
 +// by these
 +ctx.setLineDash(lengths);
 +ctx.lineDashOffset = 2;
 +</code>
 +
 +  * Renamed the Github repo for uniform naming convention: https://github.com/xuv/design-with-git
 +  * (With gh3 in Chrome) Managed to get a list of svg files and commits from a [[https://github.com/xuv/svg-git-dummy/|dummy github repo]], but Github serves them as text, not svg mime-type. Which sucks bad at this state of my project.
 +  * Pippin's solution to SVG scaling problem: CSS3 transforms. 
 ===== Day 10 : 24 April ===== ===== Day 10 : 24 April =====
   * Dave suggested XSL to manipulate SVG styles in the browser.   * Dave suggested XSL to manipulate SVG styles in the browser.
projects/design_with_git/medialab_prado_log.1366842731.txt.gz · Last modified: 2013/04/25 00:32 by Julien Deswaef