ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

openFrameworks creative coding: Text manipulation

Автор: dan buzzo

Загружено: 2019-10-18

Просмотров: 1640

Описание: Session 5
• Introduction to text processing using #openframeworks for #creativecoding


see also
• oF_root/examples/strings/sortingExample & regularExpressionExample
• oF_root/examples/input_output/loadTextFileExample & imageLoaderWebExample

portions modified from oF sortingExample

Learning Objectives
This example demonstrates how to sort a vector alphabetically, by word length or by word occurence. It shows you how to..

load words from a file into a vector
create custom sorting functions
sort the vector using the function ofSort()
view text in 3D with easyCam
load text from file using fileDialog
load text from a remote URL on the web
also

This openFrameworks example demonstrates how to load a txt file from the web

In this example, pay attention to the following code:

Request to load an image using ofLoadURLAsync which passes the url, and a name for the request
Handle the response from the request using void ofApp::urlResponse
Determine information about the fullfilled request by inspecting the status code response.status and the request name response.request.name
On exit of the application, unregister the application from being notified of the URL request completion using ofUnregisterURLNotification

Expected Behavior
When launching this app, you should see a screen with words circularly arranged on the right side.

Instructions for use:

Press keys from 1 to 4 to switch sorting algorithms.
press l to open file dialog to lad text file from disk
press w to load a txt file from the web at a remote url
press b to autorotate the circle in 3d
press f to toggle fullscreen display

Other classes used in this file
This Example uses the following classes:

http://openframeworks.cc/documentatio...
http://openframeworks.cc/documentatio...

Part of a series of tutorials in using the openFrameworks C++ creative coding toolkit. Originally created for the Toolkit Module for the Creative Technology MSc course at UWE Bristol.

http://openframeworks.cc
http://uwecreativetechnology.com

The demo course code is available to download from https://github.com/uwe-creative-techn...

and project additional code from https://github.com/danbz

see more at http://buzzo.com

Please subscribe and like!
for more videos of #mediaart, #generativedrawing, sketches from the studio and artists' #creativecoding #tutorials/

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
openFrameworks creative coding: Text manipulation

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]