You and Your Nerves!! Storyboard by 1f257bdd (2024)

`; this._targetInput.insertAdjacentHTML('afterend', dHtm); this._targetInput.nextElementSibling.insertAdjacentElement('beforeend', this._targetInput); } this._newVoiceId = `v_searchByVoice_${this._instanceIndex}`; this._voiceTextElmId = `v_voiceTxtEl_${this._instanceIndex}`; var newVoice = document.getElementById(this._newVoiceId); if ((this._targetInput || this._targetInputList) && !newVoice) { let sHtm = ` `; if (!this._textableInstance) { this._targetInput.insertAdjacentHTML('afterend', sHtm); this._targetInput.parentElement.classList.add('v_hasVoiceSearch'); } else { if (this._targetSelectionElm.parentElement === null) { var summernoteToolBar = document.getElementById('summernote-disconnected-toolbar'); if (summernoteToolBar) { var rowTwo = summernoteToolBar.getElementsByClassName('note-row2')[0]; this._targetSelectionElm = rowTwo; } } if (this._targetSelectionElm) { this._targetSelectionElm.insertAdjacentHTML('beforeend', sHtm); this._targetSelectionElm.classList.add('v_hasVoiceSearch'); } else { return true; } } } return false; }; SpeechToTextHelper.prototype.SetupRecognition = function () { let finalTranscript = ''; let voiceTutElm = document.getElementById(this._voiceTextElmId); let selectedInstanceIndex = this._instanceIndex; this._recState.recognition = new this._speechRecognition(); this._recState.recognition.continuous = false; //this._recState.recognition.lang = 'en-US'; this._recState.recognition.interimResults = true; if ((this._targetInput || this._targetInputList) && voiceTutElm) { this._recState.recognition.onresult = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; let interimTranscript = ""; for (let i = e.resultIndex; i < e.results.length; i += 1) { const { transcript } = e.results[i][0]; if (e.results[i].isFinal) { finalTranscript += transcript; } else { interimTranscript += transcript; } } thisPointer._recState.finalSpeechVal = `${finalTranscript} ${interimTranscript}`.trim(); if (!thisPointer._textableInstance) { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } else { if (thisPointer._targetInputList.length === 0) { var shapeId = thisPointer._targetElmTracking.split('_textarea')[0]; var textArea = document.getElementById(shapeId).getElementsByClassName("note-editable")[0].firstElementChild; var shape = document.getElementById(shapeId); if (textArea) { textArea.classList.add(thisPointer._targetElmTracking); thisPointer._targetInputList = shape.getElementsByClassName(thisPointer._targetElmTracking); console.log('Speech to text self heal'); } else { Logger.logErrorMessage("SpeechToText.OnResults", new Error('No target input list')); console.log('Text to speech error'); } } for (var i = 0; i < thisPointer._targetInputList.length; i++) { thisPointer._targetInputList[i].innerText = thisPointer._recState.finalSpeechVal; } } voiceTutElm.innerText = thisPointer._recState.finalSpeechVal; }; this._recState.recognition.onspeechstart = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.finalSpeechVal = ''; finalTranscript = ''; }; this._recState.recognition.onspeechend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); }; this._recState.recognition.onend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; var voiceTutElm = document.getElementById(thisPointer._voiceTextElmId); if (thisPointer._recState.finalSpeechVal.length >= 2) { if (!thisPointer._textableInstance) { if (thisPointer._targetInput.nodeName.toLowerCase() !== 'input') { thisPointer._targetInput.innerText = thisPointer._recState.finalSpeechVal; } else { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } thisPointer._targetInput.dispatchEvent(new Event('change')); } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { var inputElm = thisPointer._targetInputList[i]; if (inputElm.nodeName.toLowerCase() !== 'input') { var selectedFontElm = document.getElementsByClassName('note-current-fontname')[0]; var selectedFontSize = document.getElementsByClassName('note-current-fontsize')[0]; inputElm.innerText = thisPointer._recState.finalSpeechVal; if (selectedFontElm) { inputElm.style.fontFamily = selectedFontElm.style.fontFamily; } if (selectedFontSize) { inputElm.style.fontSize = `${selectedFontSize.innerText}px`; } } else { inputElm.value = thisPointer._recState.finalSpeechVal; } inputElm.dispatchEvent(new Event('change')); } } if (thisPointer._targetActionElm) { thisPointer._targetActionElm.click(); } document.body.classList.remove('v_listening'); } if (!thisPointer._recState.finalSpeechVal.length) { voiceTutElm.innerText = thisPointer._recState.noSpeech; thisPointer._listeningTimeout = setTimeout(function () { document.body.classList.remove('v_listening'); }, 1500); } }; this._recState.recognition.onerror = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); console.error('Speech recognition error:', e.error); if (e.error.includes('not-allowed')) { document.body.classList.add('v_speechNotAllowed'); } throw e.error; }; } }; SpeechToTextHelper.prototype.ShowTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); elm.style.display = 'flex'; }; SpeechToTextHelper.prototype.HideTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); if (elm) { elm.style.display = 'none'; sessionStorage.setItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`, 'true'); } } SpeechToTextHelper.prototype.AddEventListeners = function () { let selectedInstanceIndex = this._instanceIndex; var speechButton = document.getElementById(this._newVoiceId); this._targetSelectionElm.addEventListener('mouseover', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.CheckForTutorial(); }); speechButton.addEventListener('click', function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; if (thisPointer._listeningTimeout) { clearTimeout(thisPointer._listeningTimeout); } thisPointer._recState.finalSpeechVal = ''; let tutorialTxt = document.getElementById(thisPointer._voiceTextElmId); let tutorialInput = thisPointer._targetInput; thisPointer.HideTutorialToolTip(); if (thisPointer._recState.recognition != null && !document.body.classList.contains('v_listening')) { document.body.classList.add('v_listening'); if (tutorialTxt) { tutorialTxt.innerText = thisPointer._recState.listening; } if (tutorialInput) { if (tutorialInput.nodeName.toLowerCase() === 'input') { tutorialInput.setAttribute('placeholder', thisPointer._recState.listening); } else { tutorialInput.innerText = thisPointer._recState.listening; } } thisPointer._recState.recognition.start(); } else { document.body.classList.remove('v_listening'); thisPointer._recState.recognition.stop(); } }); var toolTipCloser = document.getElementById(`v_toolTipCloser_${selectedInstanceIndex}`); toolTipCloser.addEventListener('click', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }); }; SpeechToTextHelper.prototype.CheckForTutorial = function () { let selectedInstanceIndex = this._instanceIndex; let isTutorialViewed = sessionStorage.getItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`); if (isTutorialViewed == null || isTutorialViewed === 'false') { this.ShowTutorialToolTip(); setTimeout(function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }, 5000); } };
`; this._targetInput.insertAdjacentHTML('afterend', dHtm); this._targetInput.nextElementSibling.insertAdjacentElement('beforeend', this._targetInput); } this._newVoiceId = `v_searchByVoice_${this._instanceIndex}`; this._voiceTextElmId = `v_voiceTxtEl_${this._instanceIndex}`; var newVoice = document.getElementById(this._newVoiceId); if ((this._targetInput || this._targetInputList) && !newVoice) { let sHtm = ` `; if (!this._textableInstance) { this._targetInput.insertAdjacentHTML('afterend', sHtm); this._targetInput.parentElement.classList.add('v_hasVoiceSearch'); } else { if (this._targetSelectionElm.parentElement === null) { var summernoteToolBar = document.getElementById('summernote-disconnected-toolbar'); if (summernoteToolBar) { var rowTwo = summernoteToolBar.getElementsByClassName('note-row2')[0]; this._targetSelectionElm = rowTwo; } } if (this._targetSelectionElm) { this._targetSelectionElm.insertAdjacentHTML('beforeend', sHtm); this._targetSelectionElm.classList.add('v_hasVoiceSearch'); } else { return true; } } } return false; }; SpeechToTextHelper.prototype.SetupRecognition = function () { let finalTranscript = ''; let voiceTutElm = document.getElementById(this._voiceTextElmId); let selectedInstanceIndex = this._instanceIndex; this._recState.recognition = new this._speechRecognition(); this._recState.recognition.continuous = false; //this._recState.recognition.lang = 'en-US'; this._recState.recognition.interimResults = true; if ((this._targetInput || this._targetInputList) && voiceTutElm) { this._recState.recognition.onresult = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; let interimTranscript = ""; for (let i = e.resultIndex; i < e.results.length; i += 1) { const { transcript } = e.results[i][0]; if (e.results[i].isFinal) { finalTranscript += transcript; } else { interimTranscript += transcript; } } thisPointer._recState.finalSpeechVal = `${finalTranscript} ${interimTranscript}`.trim(); if (!thisPointer._textableInstance) { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } else { if (thisPointer._targetInputList.length === 0) { var shapeId = thisPointer._targetElmTracking.split('_textarea')[0]; var textArea = document.getElementById(shapeId).getElementsByClassName("note-editable")[0].firstElementChild; var shape = document.getElementById(shapeId); if (textArea) { textArea.classList.add(thisPointer._targetElmTracking); thisPointer._targetInputList = shape.getElementsByClassName(thisPointer._targetElmTracking); console.log('Speech to text self heal'); } else { Logger.logErrorMessage("SpeechToText.OnResults", new Error('No target input list')); console.log('Text to speech error'); } } for (var i = 0; i < thisPointer._targetInputList.length; i++) { thisPointer._targetInputList[i].innerText = thisPointer._recState.finalSpeechVal; } } voiceTutElm.innerText = thisPointer._recState.finalSpeechVal; }; this._recState.recognition.onspeechstart = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.finalSpeechVal = ''; finalTranscript = ''; }; this._recState.recognition.onspeechend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); }; this._recState.recognition.onend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; var voiceTutElm = document.getElementById(thisPointer._voiceTextElmId); if (thisPointer._recState.finalSpeechVal.length >= 2) { if (!thisPointer._textableInstance) { if (thisPointer._targetInput.nodeName.toLowerCase() !== 'input') { thisPointer._targetInput.innerText = thisPointer._recState.finalSpeechVal; } else { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } thisPointer._targetInput.dispatchEvent(new Event('change')); } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { var inputElm = thisPointer._targetInputList[i]; if (inputElm.nodeName.toLowerCase() !== 'input') { var selectedFontElm = document.getElementsByClassName('note-current-fontname')[0]; var selectedFontSize = document.getElementsByClassName('note-current-fontsize')[0]; inputElm.innerText = thisPointer._recState.finalSpeechVal; if (selectedFontElm) { inputElm.style.fontFamily = selectedFontElm.style.fontFamily; } if (selectedFontSize) { inputElm.style.fontSize = `${selectedFontSize.innerText}px`; } } else { inputElm.value = thisPointer._recState.finalSpeechVal; } inputElm.dispatchEvent(new Event('change')); } } if (thisPointer._targetActionElm) { thisPointer._targetActionElm.click(); } document.body.classList.remove('v_listening'); } if (!thisPointer._recState.finalSpeechVal.length) { voiceTutElm.innerText = thisPointer._recState.noSpeech; thisPointer._listeningTimeout = setTimeout(function () { document.body.classList.remove('v_listening'); }, 1500); } }; this._recState.recognition.onerror = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); console.error('Speech recognition error:', e.error); if (e.error.includes('not-allowed')) { document.body.classList.add('v_speechNotAllowed'); } throw e.error; }; } }; SpeechToTextHelper.prototype.ShowTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); elm.style.display = 'flex'; }; SpeechToTextHelper.prototype.HideTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); if (elm) { elm.style.display = 'none'; sessionStorage.setItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`, 'true'); } } SpeechToTextHelper.prototype.AddEventListeners = function () { let selectedInstanceIndex = this._instanceIndex; var speechButton = document.getElementById(this._newVoiceId); this._targetSelectionElm.addEventListener('mouseover', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.CheckForTutorial(); }); speechButton.addEventListener('click', function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; if (thisPointer._listeningTimeout) { clearTimeout(thisPointer._listeningTimeout); } thisPointer._recState.finalSpeechVal = ''; let tutorialTxt = document.getElementById(thisPointer._voiceTextElmId); let tutorialInput = thisPointer._targetInput; thisPointer.HideTutorialToolTip(); if (thisPointer._recState.recognition != null && !document.body.classList.contains('v_listening')) { document.body.classList.add('v_listening'); if (tutorialTxt) { tutorialTxt.innerText = thisPointer._recState.listening; } if (tutorialInput) { if (tutorialInput.nodeName.toLowerCase() === 'input') { tutorialInput.setAttribute('placeholder', thisPointer._recState.listening); } else { tutorialInput.innerText = thisPointer._recState.listening; } } thisPointer._recState.recognition.start(); } else { document.body.classList.remove('v_listening'); thisPointer._recState.recognition.stop(); } }); var toolTipCloser = document.getElementById(`v_toolTipCloser_${selectedInstanceIndex}`); toolTipCloser.addEventListener('click', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }); }; SpeechToTextHelper.prototype.CheckForTutorial = function () { let selectedInstanceIndex = this._instanceIndex; let isTutorialViewed = sessionStorage.getItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`); if (isTutorialViewed == null || isTutorialViewed === 'false') { this.ShowTutorialToolTip(); setTimeout(function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }, 5000); } };
  • My Storyboards
  • Create a Storyboard

    You and Your Nerves!! Storyboard by 1f257bdd (4)

    '; var rightArrowHTML = '

    You and Your Nerves!! Storyboard by 1f257bdd (5)

    '; cellRow.className = 'row'; cellPreviewImages.className = 'col-12'; cellPreviewImages.style.order = '2'; cellPreviewImages.classList.add('verticalPreviewWidth'); largePreviewContainer.className = 'col-10'; largePreviewContainer.insertAdjacentHTML('beforebegin', leftArrowHTML); largePreviewContainer.insertAdjacentHTML('afterend', rightArrowHTML); for (let i = 0; i < sourceRectangles.length; i++) { var cellCol = document.createElement('div'); var cellRect = sourceRectangles[i]; cellCol.className = 'col'; cellCol.innerHTML = svgTemplateString.replace('#use#', sourceSvgText); cellCol.addEventListener('click', function () { SelectCellIndex(i); }); var templateSvg = cellCol.firstElementChild; var cellRectData = { x: cellRect.getAttribute('x'), y: cellRect.getAttribute('y'), width: cellRect.getAttribute('width'), height: cellRect.getAttribute('height') }; var viewBoxString = `${cellRectData.x} ${cellRectData.y} ${(parseFloat(cellRectData.width) + 3)} ${(parseFloat(cellRectData.height) + 2)}`; cellRectList.push(cellRectData); templateSvg.setAttribute('viewBox', viewBoxString); templateSvg.classList.add('svgPreviewImage'); templateSvg.classList.add('svgPreviewImageVertical'); templateSvg.id = `previewSvg_cell_${i}`; if (i === 0) { templateSvg.style.height = '99%'; } cellRow.appendChild(cellCol); cellPreviewImages.appendChild(cellRow); if (i === currentCellIndex) { var largePreviewSvg = document.getElementById('largePreviewSvg'); templateSvg.classList.add('active'); largePreviewSvg.setAttribute('viewBox', viewBoxString); } } var newViewStoryboardContainer = document.getElementById('newViewStoryboardContainer'); newViewStoryboardContainer.id = 'newViewStoryboardContainerVertical'; } function ConsolidateRectangles(rectangleList) { var cellRectangles = []; for (var i = 0; i < rectangleList.length; i++) { var rectangle = rectangleList[i]; if (rectangle.id.indexOf('cell_') !== -1) { var newRect = document.createElement('rect'); newRect.id = rectangle.id.split('_')[1]; newRect.setAttribute('x', rectangle.getAttribute('x')); newRect.setAttribute('y', rectangle.getAttribute('y')); newRect.setAttribute('width', rectangle.getAttribute('width')); newRect.setAttribute('height', rectangle.getAttribute('height')); cellRectangles.push(newRect); } } for (var i = 0; i < cellRectangles.length; i++) { var cellRect = cellRectangles[i]; var titleSearch = `title_${cellRect.id}_outer`; var descriptionSearch = `descr_${cellRect.id}_outer`; for (var j = 0; j < rectangleList.length; j++) { var rectangle = rectangleList[j]; if (rectangle.id.indexOf(titleSearch) !== -1) { var cellHeight = cellRect.getAttribute('height'); var rectHeight = rectangle.getAttribute('height'); var newHeight = parseFloat(cellHeight) + parseFloat(rectHeight); cellRect.setAttribute('y', rectangle.getAttribute('y')); cellRect.setAttribute('height', (newHeight + 20).toString()); } else if (rectangle.id.indexOf(descriptionSearch) !== -1) { var cellHeight = cellRect.getAttribute('height'); var rectHeight = rectangle.getAttribute('height'); var newHeight = parseFloat(cellHeight) + parseFloat(rectHeight); cellRect.setAttribute('height', (newHeight + 20).toString()); } } } return cellRectangles; } function MoveButtons() { var newButtonContainer = document.getElementsByClassName('v_copySBTCTAWrapper')[0]; var createStoryboardButton = document.getElementById('vs-under-image-new'); var newButton = document.createElement('a'); if (createStoryboardButton) { newButton.className = createStoryboardButton.className; newButton.href = createStoryboardButton.href; newButton.innerText = createStoryboardButton.innerText; newButton.style.width = '254px'; newButton.style.marginLeft = '20px'; newButtonContainer.insertAdjacentElement('beforeend', newButton); } } function SelectCellIndex(val) { currentCellIndex = val; var previewImages = document.getElementsByClassName('svgPreviewImage'); var largePreviewSvg = document.getElementById('largePreviewSvg'); for (var i = 0; i < cellRectList.length; i++) { if (i === currentCellIndex) { var cellRectData = cellRectList[i]; var viewBoxString = `${cellRectData.x} ${cellRectData.y} ${cellRectData.width} ${cellRectData.height}`; largePreviewSvg.setAttribute('viewBox', viewBoxString); previewImages[i].classList.add('active'); } else { previewImages[i].classList.remove('active'); } } if (!verticalLayoutSelected) { ResizePreviewUI(); } } function LeftArrowClick() { if (currentCellIndex > 0) { currentCellIndex--; } else { currentCellIndex = (cellRectList.length - 1); } SelectCellIndex(currentCellIndex); } function RightArrowClick() { if (currentCellIndex + 1 === cellRectList.length) { currentCellIndex = 0; } else { currentCellIndex++; } SelectCellIndex(currentCellIndex); }

    CREATE A STORYBOARD! Copy

    You and Your Nerves!! Storyboard by 1f257bdd (6)

    Create your own Storyboard

    Try it for Free!

    Create your own Storyboard

    Try it for Free!

    Storyboard Text

    • Slide: 1
    • Hi Friends...My name is JoJo. I am going to share with you: How the Nervous System Works!
    • Slide: 2
    • Are you ready?
    • Slide: 3
    • Let's Go!!
    • Slide: 4
    • Okay, lets Winter storm, ooops! I meant brainstorm for a minute.What made you wear warm clothing during the winter, and how did you know you were cold?
    • Slide: 5
    • Do you know what is in my hand?It is called a Neuron or nerve cell
    • Slide: 6
    • Dendr-ites
    • Syna-pses
    • Nucleus
    • Axon
    • Cell Body
    • An impulse is received from the dendrites and travels down the axon body from the cell body.
    • A nerve impulse is any response to an external or internal trigger...(cold, heat, stepping on prickle etc.,)
    • The axon, releases neurotransmitters that carry the nerve impulse to the next cell.
    • Slide: 7
    • Dendrites
    • Synapses
    • Nucleus
    • Axon
    • The nerve cell has 5 main parts
    • Cell Body
    • Slide: 8
    • Yes, you are right!Your skin receptors receives the message from the CNS system, and in response your PNS system signals it is time to cool down.Look at me! I am dress for the summer! oh yea!!!
    • Slide: 9
    • Do you want to take a dive in the pool with me?Let's go!Your immediate response would be wear a swim suit right?
    • Slide: 11
    • I hope you have enjoyed this short story about:You and Your NervesThe End...
    • Slide: 12
    • Homework:Please write a short essay on the Nervous System4-6 Brief Paragraphs20pts: Due on Wednesday
    • Slide: 14
    • Happy Homework Time!!
    • Yea! come onYou can do it!

    Over 30 Million Storyboards Created

    Create My First Storyboard

    You and Your Nerves!! Storyboard by 1f257bdd (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Stevie Stamm

    Last Updated:

    Views: 6135

    Rating: 5 / 5 (60 voted)

    Reviews: 83% of readers found this page helpful

    Author information

    Name: Stevie Stamm

    Birthday: 1996-06-22

    Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

    Phone: +342332224300

    Job: Future Advertising Analyst

    Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

    Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.