User:Jacopo/Prototyping: Difference between revisions

From XPUB & Lens-Based wiki
Line 14: Line 14:
=='''Mon 28.09''' Lesson 3 w/ Manetta ==
=='''Mon 28.09''' Lesson 3 w/ Manetta ==


=='''Wed 30.09''' Lesson 4 w/ Michael ==
='''Wed 30.09''' Lesson 4 w/ Michael =


'''Morning Journey inside some individual experiments.''' <br>
'''Morning Journey inside some individual experiments.''' <br>
Line 44: Line 44:
> Differences between LOOP and WHILE <br>
> Differences between LOOP and WHILE <br>
> Differences between FLAT LOOP and NESTING LOOP
> Differences between FLAT LOOP and NESTING LOOP
[[File:Nastyloop.png|400px|thumb|right|Representation of a Nesting Loop]]


'''THEN''' <br>
'''THEN''' <br>
Image settings and operations for Python:<br>
 
https://www.effbot.org/imagingbook/pil-index.htm<br>
==PIL==
https://pillow.readthedocs.io/en/stable/<br>
The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter.
This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. It should provide a solid foundation for a general image processing tool.
 
Check-in:<br>
> https://www.effbot.org/imagingbook/pil-index.htm<br>
> https://pillow.readthedocs.io/en/stable/<br>


Library Sources to work with Images and ASCII: <br>
Library Sources to work with Images and ASCII: <br>
http://aa-project.sourceforge.net/aalib/ <br>
> http://aa-project.sourceforge.net/aalib/ <br>
http://jwilk.net/software/python-aalib
> http://jwilk.net/software/python-aalib


NOTEBOOK of the day: https://git.xpub.nl/XPUB/S13-Words-for-the-Future-notebooks <br>
NOTEBOOK of the day: https://git.xpub.nl/XPUB/S13-Words-for-the-Future-notebooks <br>
PAD: https://pad.xpub.nl/p/2020-09-30-prototyping <br>
PAD: https://pad.xpub.nl/p/2020-09-30-prototyping <br>

Revision as of 15:14, 30 September 2020

↪Prototyping



Im.all.ears.png

Notes

Tue 15.09 Lesson w/ Aymeric, Michael, Manetta

Mon 21.09 Lesson 2 w/ Michael

Mon 28.09 Lesson 3 w/ Manetta

Wed 30.09 Lesson 4 w/ Michael

Morning Journey inside some individual experiments.
> Il Pleut Bot (from Federico)

import random

width = 10
height = 10
drops = [',','    ','    ','     ']
rain = ''

for x in range(width):
    for y in range(height):
        rain += random.choice(drops)
    print(rain)
    rain = ''

> Responsive Form (from Louisa)

print('Enter your name:')
name = input()
print('Hello, ' + name + ". Are you ready to choose your own adventure? If yes, Type one of these words to kickstart the engine: hot, yellow, bright")<br>

> Differences between LOOP and WHILE
> Differences between FLAT LOOP and NESTING LOOP

Representation of a Nesting Loop

THEN

PIL

The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. It should provide a solid foundation for a general image processing tool.

Check-in:
> https://www.effbot.org/imagingbook/pil-index.htm
> https://pillow.readthedocs.io/en/stable/

Library Sources to work with Images and ASCII:
> http://aa-project.sourceforge.net/aalib/
> http://jwilk.net/software/python-aalib

NOTEBOOK of the day: https://git.xpub.nl/XPUB/S13-Words-for-the-Future-notebooks
PAD: https://pad.xpub.nl/p/2020-09-30-prototyping