Está en la página 1de 4

BLOQUE 1.

PROGRAMACIÓN GRÁFICA MULTIMEDIA


Introducción al uso de funciones gráficas (punto, línea, triángulo, cuadrado, rectángulo,
círculo, elipse, sectores y arcos). Procesamiento de imágenes. Gráficos vectoriales.
Diseño digital generativo (basado en algoritmos). Eventos (ratón y teclado). Uso de la
línea y el punto para dibujar líneas a mano alzada. Operaciones en el espacio
(translaciones, escalados, rotaciones, etc.). Diseño de patrones. Arte generativo en la
naturaleza: Fibonacci y fractales. Imagen de mapa de bit. Aplicación de filtros.
Procesamiento de imágenes píxel a píxel. Monocromática, Invertida, Binarizada,
Posterizada, Pixelada, Puntillismo animado (contagio dinámico de los colores vecinos).
Mezcla de imágenes. Procesamiento de vídeo, audio y animaciones. Tratamiento de
vídeo como vector de fotogramas. Tratamiento del sonido. Diseño de mini-juegos e
instalaciones artísticas generativas e interactivas.

Tutoriales buenos
https://realpython.com/beginners-guide-python-turtle/

turtle.circle(radius, extent=None, steps=None)


Parameters

 radius – a number
 extent – a number (or None)
 steps – an integer (or None)

Draw a circle with given radius. The center is radius units left of the turtle;
extent – an angle – determines which part of the circle is drawn. If extent is not
given, draw the entire circle. If extent is not a full circle, one endpoint of the arc
is the current pen position. Draw the arc in counterclockwise direction if radius
is positive, otherwise in clockwise direction. Finally the direction of the turtle is
changed by the amount of extent.

As the circle is approximated by an inscribed regular polygon, steps determines


the number of steps to use. If not given, it will be calculated automatically. May
be used to draw regular polygons.

OTRA OPCIÓN
Processing
https://josejuansanchez.org/processing-python/instalacin_y_configuracin.html

Código muy bueno


https://codewithsara.com/python-with-sara/python-101/u2-python-turtle-graphics/
u2l5-turtle-circles-and-arcs/

1. Instalar Python
2. Instalar PIP
https://www.geeksforgeeks.org/how-to-install-pip-on-windows/

3. Cambiar el PATH
4. Panel de control | Avanzadas | Cambiar variables de sistema
5. pip install opencv-python
6. IDLE SHELL: prueba de instalación.

7. Cambiar el intérprete en Pycharm

8. Instalar packages en Pycharm


View | Tool Windows | Python Packages.

EL MEJOR TUTORIAL PARA IMÁGENES Y OPENCV


https://pyimagesearch.com/2018/07/19/opencv-tutorial-a-guide-to-learn-opencv/

ARTE GENERATIVO 1
https://spin.atomicobject.com/2021/12/14/generative-art-zero-random/

ARTE GENERATIVO 2
https://spin.atomicobject.com/2021/12/14/generative-art-zero-random/

https://www.freecodecamp.org/news/how-to-create-generative-art-in-less-than-100-
lines-of-code-d37f379859f/
Otra librería para arte generativo: PILLOW
Pillow 9.5 sí se instala. El 10 no.

Colores aleatorios
https://www.geeksforgeeks.org/create-random-hex-color-code-using-python/
Instalar paquete randomcolor

P5.js
https://www.generativehut.com/post/kinetic-generative-art-tutorial
Péndulos

PARA HACERLO ONLINE


https://openprocessing.org/sketch/create

2.
INSTALAR PARA DISEÑAR GUI
Settings | Project | Python Interpreter | +

PYQT5
https://www.rahulvk.com/how-to-integrate-pyqt5-designer-pycharm/

He tenido que activar el menú Tools.


Instalar Pyside2.
Guardar desde

Instalar

QTDESIGNER
Formulario | View Python Code | Guardar – se guarda en la carpeta del proyecto de PyCharm

https://www.rahulvk.com/how-to-integrate-pyqt5-designer-pycharm/
Activar el menú Tools y los accesos a Designer y pyuic5-tool como External Tools

Qt Designer buen tutorial


https://realpython.com/qt-designer-python/

2
https://build-system.fman.io/pyqt5-tutorial

Los archivos externos de processing se graban en la carpeta DATA

También podría gustarte