tfhuneck / tfhuneck.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tfhuneck.github.io

Eye tracking exercise

This exercise demonstrate dynamic modulation of html documents with actions on the website. The eyes in the middle of the page will track the mouse movement across the page by tracking the coordinates of the mouse and transelating it into updated movement of the eyeball objects.

MIT License

Copyright (c) 2020 John Williams

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Grid

This exercise demonstrates DOM (Docuent Object Model) code, where a javascript function will create html elements and populate the html document. Also this exercise demonstrates the use of grid css styling. Ths webpage's layout is styled with a grid, as well as the grid that is created by the functions.

To test the function, enter a desired grid size number in the box on the top left. The create Grid button will create a grid with n boxes, based on the number entered The reset button will reset and delete the grid. The Random Colors button will assign a random color to each box in the grid The Sequence button will sequence throught the grid changing the color of each box on after the other The stop button stops the sequencer

Click each box to change its color individually

mitxpro-dynamic-map-marker

This exercise uses an API from Mapbox.com to display a map with the coordinates of MIT in Boston. The button up top will show a bus line and its stops by adding and continously updating a marker.

MIT License

Copyright (c) 2020 John Williams

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

PacMen Exercise.

This is an exercise that demonstrates DOM (Document Obkect Model) scripting code. The java script functions in app.js dynamically creates html elements in form of pacman images. The Add PacMan button will trigger the generation of pacman img element that is randomly placed within certain parameters on the page. The Start Game button will continously update these elements and move them across the page while continously changing the images, giving the effect of pacman open and closing its mouth and facing the direction of movement.

MIT License

Copyright (c) 2020 John Williams

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About


Languages

Language:CSS 91.1%Language:HTML 4.3%Language:JavaScript 2.6%Language:SCSS 1.9%