diff --git a/HISTORY.md b/HISTORY.md index d3732c83..71a2d5eb 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -50,6 +50,7 @@ ### 2019-03-07 * AudioComp lib: added block to set the microphone's buffer and fft sizes * German translation update (microphone features) +* simplified "globe" symbol ### 2019-03-06 * AudioComp lib: turn off mic after 5 secs of idling diff --git a/snap.html b/snap.html index 0d5067b4..3b8de062 100755 --- a/snap.html +++ b/snap.html @@ -14,7 +14,7 @@ - + diff --git a/src/symbols.js b/src/symbols.js index bdc4e0dc..4cf904b1 100644 --- a/src/symbols.js +++ b/src/symbols.js @@ -41,7 +41,7 @@ // Global stuff //////////////////////////////////////////////////////// -modules.symbols = '2019-February-27'; +modules.symbols = '2019-February-07'; var SymbolMorph; @@ -1841,12 +1841,21 @@ SymbolMorph.prototype.drawSymbolGlobe = function (canvas, color) { ctx.lineWidth = l * 2; ctx.arc(w / 2, w / 2, w / 2 - l, radians(0), radians(360), false); ctx.stroke(); + +/* // more detailed version, commmented out ctx.moveTo(l, w / 3); ctx.lineTo(w - l, w / 3); ctx.stroke(); ctx.moveTo(l, 2 * w / 3); ctx.lineTo(w - l, 2 * w / 3); ctx.stroke(); +*/ + + // single line version, looks better when small: + ctx.moveTo(l, w / 2); + ctx.lineTo(w - l, w / 2); + ctx.stroke(); + ctx.moveTo(w / 2, 0); ctx.arcTo(0, w / 2, w / 2, w, w * 0.75); ctx.stroke();