Tag Archives: keyframes

Horizontal Block Calendar Game Tutorial

Yes, today’s blog posting title kind of gives the game away, regarding what we were getting at with yesterday’s Horizontal Game Soft Link Resources Tutorial‘s operating system Soft Links preparation work, help with a … Horizontal Block Calendar Game … being that new possibility. Yesterday’s work allowed that any day number within a month of any year can be linked to an image, and because, in that form, it only has to be in the Stock section, where it has … filter: brightness(0); … anonymity anyway, and then can be adjusted for the visible cells of dominoes above that to continue on as a Dominoes Horizontal Block Game. This way these Horizontal Block Calendar Game differences from the Dominoes Horizontal Block Game are three fold … dominoes in the Stock are organized in a Calendar fashion … for each first time selection of dominoes for each of the two players, sets of 7 dominoes are selected by each player, rather than the web application doing this programmatically months with more than 28 (the number of domino tiles) will yield up to 3 mystery cell scoring opportunity cells … in the changed eighteenth draft Dominoes Block Game you can try below. Previous relevant Horizontal Game Soft Link Resources Tutorial is shown below. After yesterday’s Horizontal Block Game CSS Animation Tutorial, today we’re revisiting … resources … reminiscent of our start to the current “Dominoes Game And On” blog thread back in it’s early days Dominoes Game Sections Tutorial discussion. Perhaps we should hone in on a subtitle of … pseudo resources … for today’s revisit here. Why? Well, on macOS (here with our MAMP local Apache/PHP/MySql web server) and the Linux operating system of our RJM Programming Apache/PHP/MySql web server there is this wonderful concept of … Soft Links … (or Symbolic Links) available to us via those operating system smarts. And, not often, but sometimes, regarding web applications, those “soft link” ideas can be harnessed for “the practical good” … aaaaaaaahhhhhhhhh! We are not letting on, yet, what the future plan for using this is (though you can probably guess?!), but we wrote this Korn Shell (placed in the web server relevant Games/Dominoes folder (cding to it before running)) … #!/bin/ksh # dominoes_(3 + 1)_(9 % 7).png … then swap as required ln -s dominoes_2_4.png dominoes_1_9.png ln -s dominoes_1_4.png dominoes_1_8.png ln -s dominoes_0_4.png dominoes_1_7.png # dominoes_(3 + 0)_(9 % 7).png … Continue reading →

Posted in Animation, eLearning, Event-Driven Programming, Games, Operating System, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Horizontal Game Soft Link Resources Tutorial

After yesterday’s Horizontal Block Game CSS Animation Tutorial, today we’re revisiting … resources … reminiscent of our start to the current “Dominoes Game And On” blog thread back in it’s early days Dominoes Game Sections Tutorial discussion. Perhaps we should hone in on a subtitle of … pseudo resources … for today’s revisit here. Why? Well, on macOS (here with our MAMP local Apache/PHP/MySql web server) and the Linux operating system of our RJM Programming Apache/PHP/MySql web server there is this wonderful concept of … Soft Links … (or Symbolic Links) available to us via those operating system smarts. And, not often, but sometimes, regarding web applications, those “soft link” ideas can be harnessed for “the practical good” … aaaaaaaahhhhhhhhh! We are not letting on, yet, what the future plan for using this is (though you can probably guess?!), but we wrote this Korn Shell (placed in the web server relevant Games/Dominoes folder (cding to it before running)) … #!/bin/ksh # dominoes_(3 + 1)_(9 % 7).png … then swap as required ln -s dominoes_2_4.png dominoes_1_9.png ln -s dominoes_1_4.png dominoes_1_8.png ln -s dominoes_0_4.png dominoes_1_7.png # dominoes_(3 + 0)_(9 % 7).png … then swap as required ln -s dominoes_2_3.png dominoes_0_9.png ln -s dominoes_1_3.png dominoes_0_8.png ln -s dominoes_0_3.png dominoes_0_7.png # dominoes_(3 + 2)_(9 % 7).png … then swap as required ln -s dominoes_2_5.png dominoes_2_9.png ln -s dominoes_1_5.png dominoes_2_8.png ln -s dominoes_0_5.png dominoes_2_7.png ln -s dominoes_0_1.png dominoes_1_0.png ln -s dominoes_0_2.png dominoes_2_0.png ln -s dominoes_0_3.png dominoes_3_0.png ln -s dominoes_0_4.png dominoes_4_0.png ln -s dominoes_0_5.png dominoes_5_0.png ln -s dominoes_0_6.png dominoes_6_0.png ln -s dominoes_1_2.png dominoes_2_1.png ln -s dominoes_1_3.png dominoes_3_1.png ln -s dominoes_1_4.png dominoes_4_1.png ln -s dominoes_1_5.png dominoes_5_1.png ln -s dominoes_1_6.png dominoes_6_1.png ln -s dominoes_2_3.png dominoes_3_2.png ln -s dominoes_2_4.png dominoes_4_2.png ln -s dominoes_2_5.png dominoes_5_2.png ln -s dominoes_2_6.png dominoes_6_2.png ln -s dominoes_3_4.png dominoes_4_3.png ln -s dominoes_3_5.png dominoes_5_3.png ln -s dominoes_3_6.png dominoes_6_3.png ln -s dominoes_4_5.png dominoes_5_4.png ln -s dominoes_4_6.png dominoes_6_4.png ln -s dominoes_5_6.png dominoes_6_5.png … and in our web server’s cPanel Terminal ran that via … ksh -x dominoes_more.ksh … to create soft links, so that … # ls -la dominoes_[0-9]*.png -rw-r–r– 1 rjmprogr rjmprogr 6281 Aug 11 20:23 dominoes_0_0.png -rw-r–r– 1 rjmprogr rjmprogr 8277 Aug 11 20:23 dominoes_0_1.png -rw-r–r– 1 rjmprogr rjmprogr 10040 Aug 11 20:22 dominoes_0_2.png -rw-r–r– 1 rjmprogr rjmprogr 11113 Aug 11 20:22 dominoes_0_3.png -rw-r–r– 1 rjmprogr rjmprogr 12169 Aug 11 20:22 dominoes_0_4.png -rw-r–r– 1 rjmprogr rjmprogr 14102 Aug 11 20:22 dominoes_0_5.png -rw-r–r– 1 rjmprogr rjmprogr 13251 Aug … Continue reading →

Posted in Animation, eLearning, Event-Driven Programming, Operating System, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Horizontal Block Game CSS Animation Tutorial

Today we … extend yesterday’s Horizontal Block Game Random Image Types Tutorial‘s ondblclick and oncontextmenu (or ontouchmove) “drill downs” to other Wikipedia image Block Game choices … and … allow for a CSS @keyframes animation definition to affect … CSS @keyframes animation default initialization that may be dynamically called into play at a later time … <style> @keyframes myanim { 0%, 58.33% { filter: invert(0%) contrast(100%); } 75%, 100% { filter: invert(100%) contrast(800%); } } </style> … and editable via Javascript … animans=prompt(‘Optionally enter CSS @keyframes animation definition.’, (animval == ‘y’ ? document.getElementById(‘mysel’).getAttribute(‘data-anim’) : animval)); … via a new dropdown option … Optionally passed across in a new animated argument, processed by initialization Javascript … var animgprefix=”, animgsuffix=”; var animval=’y’, animdef=”@keyframes myanim { 0%, 58.33% { filter: invert(0%) contrast(100%); } 75%, 100% { filter: invert(100%) contrast(800%); } } “; var animclass=(location.search.split(‘animated=’)[1] ? decodeURIComponent(location.search.split(‘animated=’)[1].split(‘&’)[0]) : ”); if (animclass != ”) { if ((” + animclass).toLowerCase().indexOf(‘@keyframes’) != -1) { animval=animclass; } else if ((” + animclass).toLowerCase() == ‘y’) { animval=animdef; } animclass=’ animated’; } … as well as document.body onload called … if ((” + animval).toLowerCase().indexOf(‘@keyframes’) != -1) { if (animval != document.getElementById(‘mysel’).getAttribute(‘data-anim’)) { document.getElementById(‘mysel’).setAttribute(‘data-anim’, animval); } document.getElementById(‘dstyle’).innerHTML+='<st’ + ‘yle> ‘ + animval + ‘ </st’ + ‘yle>’; document.getElementById(‘optanim’).innerHTML=’Animation ‘ + animval + ‘ … ‘; } In Play at the time of relevance … <style> .animated:not([style*=”filter”]) { animation: myanim 12s infinite; } </style> Javascript dynamically called into play wherever in the code … document.getElementById(‘dstyle’).innerHTML+='<st’ + ‘yle> ‘ + animval + ‘ </st’ + ‘yle>’; … and relevant HTML elements have class=animated applied to them dynamically … for example … document.getElementById(‘seven1’).innerHTML+=brhuh + othersmaybe(‘<img’ + (animclass == ” ? ” : ‘ class=animated’) + ‘ draggable=”true” ondragstart=”goone(event.target);” onclick=”goone(this);” style=width:80px; class=”player1″ id=”‘ + player1arr[ij] + ‘” src=”‘ + player1arr[ij] + ‘.png”></img>’); … happens … … to add to the changed seventeenth draft Dominoes Block Game you can try below. Previous relevant Horizontal Block Game Random Image Types Tutorial is shown below. Around here, further to the recent Horizontal Block Game Less Personal Types Tutorial‘s Horizontal Block Game incarnation developments, today we present two new Random Image choices we turn to quite a bit, those being … the great Lorem Picsum repository of random imagery, helped out by does lorem picsum url allow for an image ID‘s great advice … and … inhouse WordPress Blog tutorial URL involving ?mustbedated=YYYYMMDD referencing … offering both … image … Continue reading →

Posted in Animation, eLearning, Event-Driven Programming, Games, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Text Background Clip Animation Emoji Overlay HTML Entities Tutorial

Further to yesterday’s Text Background Clip Animation Emoji Overlay SVG CSS Tutorial we think … regarding topics like HTML Entities … once in the mood … Be like a dog with a bone … when concentrating on a topic you can get closer to cracking (at least until the next campaign), so to speak It’s one of those topics where, sure, somebody with weird emoji data requirements can make yesterday’s starting logic fail, and in cases like this, we think … go back to basics … incorporate the Javascript functions you want to improve … into a new “proof of concept” web application … which … just concentrates on the isolated scenario you are talking about … notwithstanding … optionally, but preferably, tests the work in a total cycle between “real text data” and “HTML Entity data representation” back and forth, both ways … as does our new “proof of concept” web application … … the construction of which, indeed, did teach us a lot … and there was a lot to learn, again. And then, plonking this back into the changed seventh draft version of a “Text Background Clip” client web application … first and foremost, did not seem to make anything that used to work, go backwards … plus … made more cases of user entry we could think of, work better, including mixes of emoji and ansi textual data … but “comment away” if you find a failure! Previous relevant Text Background Clip Animation Emoji Overlay SVG CSS Tutorial is shown below. The SVG we are using for sharing functionality, as we talked about yesterday with Text Background Clip Animation Emoji Overlay SVG Sharing Tutorial has another amazing talent. You can adjust it’s display in the same way the HTML of a body element can be adjusted, via embedding CSS inline style element data inside that SVG (or body element) innerHTML and in so doing continue it’s independent usefulness. this extension to the right hand textarea functionality consisted of making this style element embedding happen within the SVG that in turn is within the iframe element hosting it … as one of today’s jobs, with the other being … as far as emoji data goes, sometimes it is impossible to find the emoji of interest in those emoji menus you can access these days, and so we wanted to offer the … Code point(s) approach … for … Continue reading →

Posted in Ajax, Animation, eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Text Background Clip Animation Emoji Overlay SVG CSS Tutorial

The SVG we are using for sharing functionality, as we talked about yesterday with Text Background Clip Animation Emoji Overlay SVG Sharing Tutorial has another amazing talent. You can adjust it’s display in the same way the HTML of a body element can be adjusted, via embedding CSS inline style element data inside that SVG (or body element) innerHTML and in so doing continue it’s independent usefulness. this extension to the right hand textarea functionality consisted of making this style element embedding happen within the SVG that in turn is within the iframe element hosting it … as one of today’s jobs, with the other being … as far as emoji data goes, sometimes it is impossible to find the emoji of interest in those emoji menus you can access these days, and so we wanted to offer the … Code point(s) approach … for users to specify emojis (or other textual data) to be displayed in that newish textbox we created for the purpose a couple of days ago. What’s the big deal here? Well, take a look at a typical fileformat.info page such as the one below for “banana” … Look at all the different ways a banana 🍌 emoji can be specified! We allow logic for … HTML Entity (decimal) HTML Entity (hex) Unicode character C/C++/Java source code … and then, inhouse, we allow for … Decimal Code point(s) comma separated Hex Code point(s) comma separated … as per the new Javascript code … function allownums(ininvl, tboxo) { // 20320,22909 // alert(“你好”.replace(/[\u00A0-\u9999<>\&]/g, i => ‘&#’+i.charCodeAt(0)+’;’)); var inm=0, itdepends=false; var invl=ininvl; var iwords=invl.replace(/\&nbsp\;/g,’ ‘).split(‘ ‘); ininvl=ininvl.replace(/\ U\+/g, ‘,U+’).replace(/\ u\+/g, ‘,u+’).replace(/\ \\U/g, “,\\U”).replace(/\ \\u/g, “,\\u”).replace(/\ u\+/g, ‘,u+’).replace(/\;\ \&\#/g, ‘,&#’).replace(/\;\&\#/g, ‘,&#’).replace(/\ \&\#/g, ‘,&#’).replace(/\&\#x/g, ‘0x’).replace(/\&\#/g, ”).replace(/\;\ /g, ‘,’).replace(/\;/g, ‘,’).replace(/U\+/g,’0x’).replace(/u\+/g,’0x’).replace(/\\u/g,’0x’).replace(/\\U/g,’0x’).replace(/\.\,/g,’,’).replace(/\,\./g,’,’).replace(/\&nbsp\;/g,’ ‘); if (ininvl != invl) { itdepends=true; iwords=ininvl.trim().toLowerCase().split(‘ ‘); } if (ininvl != invl && (!itdepends || eval(” + iwords.length) == 1)) { if ((” + ininvl.trim().toLowerCase()) != ” && (” + ininvl.trim().toLowerCase()).replace(/\./g,”).replace(/\,/g,”).replace(/\x/g,”) != ” && (” + ininvl.trim().toLowerCase()).replace(/\./g,”).replace(/\,/g,”).replace(/\x/g,”).replace(/0/g,”).replace(/1/g,”).replace(/2/g,”).replace(/3/g,”).replace(/4/g,”).replace(/5/g,”).replace(/6/g,”).replace(/7/g,”).replace(/8/g,”).replace(/9/g,”).replace(/a/g,”).replace(/b/g,”).replace(/c/g,”).replace(/d/g,”).replace(/e/g,”).replace(/f/g,”) == ”) { if (ininvl.trim().toLowerCase().replace(/\./g,’,’).indexOf(‘,’) != -1 || ininvl.trim().toLowerCase().replace(/\./g,’,’).indexOf(‘0x’) != -1 || eval(” + ininvl.trim().length) > 3) { if (ininvl.trim().toLowerCase().replace(/a/g,”).replace(/b/g,”).replace(/c/g,”).replace(/d/g,”).replace(/e/g,”).replace(/f/g,”) != ininvl.trim().toLowerCase() && ininvl.trim().toLowerCase().indexOf(‘x’) == -1) { eval(“ininvl=String.fromCodePoint(0x” + ininvl.trim().toLowerCase().replace(/\./g,’,’).replace(/\,/g,’,0x’) + ‘);’); } else { eval(“ininvl=String.fromCodePoint(” + ininvl.trim().toLowerCase().replace(/\./g,’,’) + ‘);’); } } else { ininvl=invl; } tboxo.value=” + ininvl; invl=” + ininvl; } } else if ((” + iwords[0].trim().toLowerCase()) != ” && (” + iwords[0].trim().toLowerCase()).replace(/\./g,”).replace(/\,/g,”).replace(/\x/g,”) != ” && (” + iwords[0].trim().toLowerCase()).replace(/\./g,”).replace(/\,/g,”).replace(/\x/g,”).replace(/0/g,”).replace(/1/g,”).replace(/2/g,”).replace(/3/g,”).replace(/4/g,”).replace(/5/g,”).replace(/6/g,”).replace(/7/g,”).replace(/8/g,”).replace(/9/g,”).replace(/a/g,”).replace(/b/g,”).replace(/c/g,”).replace(/d/g,”).replace(/e/g,”).replace(/f/g,”) == ”) … Continue reading →

Posted in Ajax, Animation, eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Text Background Clip Animation Emoji Overlay SVG Sharing Tutorial

Further to yesterday’s Text Background Clip Animation Emoji Overlay SVG Tutorial you start getting web browser support for context (ie. right click) menu options such as … Copy image Copy image address Save image as … the latter effectively your “download option” when we can reach the HTML scenario whereby the user’s right click is over (an element such as) … <img type=”image/svg” src=”//www.rjmprogramming.com.au/tmp/svg_e_a_o_17_09_2025_13_32_14.svg”></img> … which today’s work is all about trying to achieve in adding more practical “export aid tools” into the “sharing mix”. As with our last Media Gallery project, with our changed PHP helper signature_signature.php‘s … <?php if (isset($_POST[‘an_i_thingo’])) { $ds=DIRECTORY_SEPARATOR; if (isset($_POST[‘svg_filename’])) { foreach (glob($_SERVER[‘DOCUMENT_ROOT’] . DIRECTORY_SEPARATOR . ‘tmp’ . DIRECTORY_SEPARATOR . ‘svg_e_a_o_’ . ‘*.*’) as $dfilename) { $filemtime = filemtime($dfilename); if (time() – $filemtime >= 172800) { // 86400 seconds in a day unlink($dfilename); } } file_put_contents($_SERVER[‘DOCUMENT_ROOT’] . $ds . ‘tmp’ . $ds . ” . basename(str_replace(‘+’,’ ‘,urldecode($_POST[‘svg_filename’]))), str_replace(‘+’,’ ‘,urldecode($_POST[‘an_i_thingo’]))); exit; } // rest of the usual if block } ?> … PHP code called into play via some Ajax Javascript calling … var outfile=”, wootoo=null; var czhr=null, czform=null; function ourprompt(svgoh) { var oursvgoh=svgoh; var tag=null; var recipient=”; var dt=new Date(); var dsuff=(” + dt.toLocaleDateString() + ‘ ‘ + dt.toLocaleTimeString()).replace(/\:/g,’_’).replace(/\ /g,’_’).replace(/\//g,’_’).replace(/\-/g,’_’); outfile=’http://www.rjmprogramming.com.au/tmp/svg_e_a_o_’ + dsuff + ‘.svg’; var xc=prompt(‘Optionally copy SVG below and save to a SVG file ( eg. text.svg ) that will open via a web browser Open File option ( eg. file:///Applications/MAMP/htdocs/test.svg ) or on a macOS MAMP local web server environment ( or http://localhost:8888/test.svg could also work here ). Or leave as is and use OK answer to save to URL ‘ + outfile + ‘ and display and/or share. To just email enter email address or to SMS enter a mobile number. An alternative filename suffix to ‘ + dsuff + ‘ is another OK answer option. Any other OK answers do nothing more.’, svgoh); if (xc == null) { outfile=”; } else if (xc == svgoh) { outfile=outfile; } else if (xc.indexOf(‘ ‘) == -1 && xc.indexOf(‘@’) != -1) { recipient=xc; tag = document.createElement(‘a’); tag.id=’aem’; tag.target=’_top’; tag.href=’mailto:’ + recipient + ‘?subject=Emoji%20Animated%20Overlay%20SVG%20image&body=’ + encodeURIComponent(document.URL.split(‘?’)[0].split(‘#’)[0] + ‘#’ + encodeURIComponent(svgoh.replace(‘ onclick=”top.ourprompt(this.outerHTML);”‘, ‘ title=”‘ + outfile + ‘”‘))); tag.style.display=’none’; document.body.appendChild(tag); tag.click(); } else if (xc.trim() != ” && xc.indexOf(‘ ‘) == -1 && xc.replace(/0/g,”).replace(/1/g,”).replace(/2/g,”).replace(/3/g,”).replace(/4/g,”).replace(/5/g,”).replace(/6/g,”).replace(/7/g,”).replace(/8/g,”).replace(/9/g,”) == ”) { recipient=xc; tag = document.createElement(‘a’); tag.id=’aem’; tag.target=’_top’; tag.href=’sms:’ + recipient + ‘&body=’ + encodeURIComponent(document.URL.split(‘?’)[0].split(‘#’)[0] + ‘#’ + encodeURIComponent(svgoh.replace(‘ … Continue reading →

Posted in Ajax, Animation, eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Text Background Clip Animation Emoji Overlay SVG Tutorial

As far as “heading towards creating a tool” from yesterday’s Text Background Clip Animation Emoji Overlay Tutorial‘s … emoji overlay animation … work beginnings we’re harnessing SVG’s foreignObject subelement to start up that avenue (as some relief from the roads heading down lately). SVG has it’s own animation abilities, but thinking we could simulate the keyframes and transitions CSS animations over the last couple of days sounded daunting. As were HTML5 canvas usage ideas. So we went down the foreignObject avenue and have been pleased we did, really. Those keyframes and transitions animations worked but we think the background text clipping may need more research or will pan out not to be translatable to the … Standalone SVG image creator … within our “reveal” details/summary hosting tool we hope to improve upon, from our start, today, in the SVG saveably changed fourth draft version of a “Text Background Clip” client web application. Previous relevant Text Background Clip Animation Emoji Overlay Tutorial is shown below. It’s “overlay day” onto yesterday’s Text Background Clip Animation Tutorial, and we like “overlay days” much better than any “underlay days” it’s got to be said … although?! So what constitutes a good “overlay day” to us? It’s one that includes some/all of (the CSS concepts) … position: absolute; left: [position in X]px; top: [position in Y]px; opacity: [from 0 to 1]; z-index: [the larger the more prominent]; … though the last we did not need so far, and the use of the great Javascript method [element].getBoundingClientRect() as exemplified by … var rectis=document.getElementById(‘box’).getBoundingClientRect(); document.getElementById(‘bbox’).style.position=’absolute’; document.getElementById(‘bbox’).style.left=” + rectis.left + ‘px’; document.getElementById(‘bbox’).style.top=” + rectis.top + ‘px’; document.getElementById(‘bbox’).style.display=’inline-block’; document.getElementById(‘box’).className=’box’; document.getElementById(‘bbox’).className=’box’; … where you will also see us better synchronizing the animation start by dynamically allocating element class (via Javascript DOM means) as close to the same time as possible in the “overlay” changed third draft version of a “Text Background Clip” client web application. Previous relevant Text Background Clip Animation Tutorial is shown below. Today we’re returning to the work of Text Background Clip Primer Tutorial and adding a layer of … Do It Yourself animation … possibilities for the user. We grant you, the Text Background Clip aspects are, and remain, at least in our mind, the main talking point here, but it represents to us “a way in” (perhaps to a dead-end, but we are hoping not) regarding the concepts of … emoji overlay animation … and … Continue reading →

Posted in Animation, eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Text Background Clip Animation Emoji Overlay Tutorial

It’s “overlay day” onto yesterday’s Text Background Clip Animation Tutorial, and we like “overlay days” much better than any “underlay days” it’s got to be said … although?! So what constitutes a good “overlay day” to us? It’s one that includes some/all of (the CSS concepts) … position: absolute; left: [position in X]px; top: [position in Y]px; opacity: [from 0 to 1]; z-index: [the larger the more prominent]; … though the last we did not need so far, and the use of the great Javascript method [element].getBoundingClientRect() as exemplified by … var rectis=document.getElementById(‘box’).getBoundingClientRect(); document.getElementById(‘bbox’).style.position=’absolute’; document.getElementById(‘bbox’).style.left=” + rectis.left + ‘px’; document.getElementById(‘bbox’).style.top=” + rectis.top + ‘px’; document.getElementById(‘bbox’).style.display=’inline-block’; document.getElementById(‘box’).className=’box’; document.getElementById(‘bbox’).className=’box’; … where you will also see us better synchronizing the animation start by dynamically allocating element class (via Javascript DOM means) as close to the same time as possible in the “overlay” changed third draft version of a “Text Background Clip” client web application. Previous relevant Text Background Clip Animation Tutorial is shown below. Today we’re returning to the work of Text Background Clip Primer Tutorial and adding a layer of … Do It Yourself animation … possibilities for the user. We grant you, the Text Background Clip aspects are, and remain, at least in our mind, the main talking point here, but it represents to us “a way in” (perhaps to a dead-end, but we are hoping not) regarding the concepts of … emoji overlay animation … and this project had the first, and now we’re easing our way into the third today, with the reason we chose it as “a guinea pig” project being that textarea way the user has control. We want the user to explore possibilities themselves, and making it easier for us to see what’s possible regarding combinations of the three concepts above, we’re hoping, regarding the changed second draft version of a “Text Background Clip” client web application?! Previous relevant Text Background Clip Primer Tutorial is shown below. Again, today, we’re cloning and modifying a new “proof of concept” version of a “Text Background Clip” server web application … based on the PHP of Simple Emoji Border Card Primer Tutorial … and … a lot of CSS help from Emoji + background-clip:text and Lorem Picsum, thanks And, again, it’s that “interactive input duo” of … words CSS styling, especially background-clip:text; … forming that shareable dataset (helped out by diff and ed command line commands via PHP exec … Continue reading →

Posted in Animation, eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment