Posts

Showing posts with the label web programming

Processing Language(Level-3): Interactions(mouse and keyboard interactions, sound), Web programming usin P5.js

Processing language for Interactions We have learned how to draw a static image and dynamic images using Processing. Now it is time to interact with the contents using keyboards, mouse, other hardwares, et al. As I told you in the first class, Processsing language is for media artist. So INTERACTION is the most important and funny part. Let's see this page:  https://processing.org/reference/#input Session #1: Mouse try to draw interactive arts mouseX, mouseY, mousePressed, ... Session #2: Keyboard https://www.pixilart.com/ Session #3: Sound p5.js for web First you need to know about p5.js. https://p5js.org/learn/ There are some differences between p5.js and processing. See explanations and examples on the pages below. https://github.com/processing/p5.js/wiki/Processing-transition

Python : Web programming

Web Programming with Python Want to make a web program? Then you have to host your program, that is, you need your own web server.  Pyscript: Pyscript: - https://pyscript.net/ - https://pyscript.net/examples/ - https://github.com/pyscript/pyscript/blob/main/docs/tutorials/getting-started.md github: https://github.com/pyscript/pyscript course material: https://realpython.com/pyscript-python-in-browser/ https://levelup.gitconnected.com/pyscript-python-in-the-browser-4c1a578d67f3 github 에서의 호스팅 : https://opentutorials.org/course/3084/18891 https://www.youtube.com/watch?v=3DuyJf_XPtM&ab_channel=%EB%85%B8%EB%A7%88%EB%93%9C%EC%BD%94%EB%8D%94NomadCoders