Популярное

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

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

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

Топ запросов

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

JavaScript interactivity with ai2html Illustrator exports (including D3)

Автор: Jonathan Soma

Загружено: 2022-03-28

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

Описание:

If you want to use JavaScript or D3 with ai2html-exported Adobe Illustrator .ai graphics, it doesn't very work by default! But by exporting some layers to SVG and embedding them in your HTML you'll almost be there.

===== THE STEPS =====

1) Export some of your layers as SVG by adding :svg to their name
2) Add inline_svg: true to your settings
3) Use the layers palette to name single elements you want to access by ID
4) Use the layers palette to group multiple elements you want to access by [data-name=""]

For that last one: yes, classes and IDs are kind of possible, but I find that the easiest route.

Step through the process and you'll be on your way to ai2html-based interactive graphics and data visualizations in no time!

(Sorry my mic keeps crackling and popping, I have no idea what's going on there.)

=====CODE======

The ai2html HTML block you'll add as a separate text block is this: https://gist.github.com/jsoma/cc34430...

Be sure to include the "ai2html-html" as the first line!

===== LINKS =====

ai2html tutorial playlist:    • How to use ai2html for data viz  
ai2html walkthrough github: https://github.com/jsoma/ai2html-walk...
ai2html homepage: http://ai2html.org/
MDN SVG documentation: https://developer.mozilla.org/en-US/d...

===== CHAPTERS =====

00:00 Intro
04:02 Separate interactivity layer
07:00 Export layer as SVG
10:00 Assigning objects ids and selecting them
15:25 Assigning groups ids and selecting them
20:15 Using data-name instead of ids

JavaScript interactivity with ai2html Illustrator exports (including D3)

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

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

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

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

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

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

Scrollytelling with ai2html and scrollama.js

Scrollytelling with ai2html and scrollama.js

Соскребайте данные, подделывая запрос браузера (чтобы избежать обнаружения ботом?) на Python

Соскребайте данные, подделывая запрос браузера (чтобы избежать обнаружения ботом?) на Python

Cleaning up a Python data visualization in Adobe Illustrator (pandas to ai2html)

Cleaning up a Python data visualization in Adobe Illustrator (pandas to ai2html)

Превращение старого ноутбука в домашний сервер! (2026)

Превращение старого ноутбука в домашний сервер! (2026)

How to use ai2html for data viz

How to use ai2html for data viz

Ghost Projects

Ghost Projects

A Random Developer Just Solved Adobe On Linux

A Random Developer Just Solved Adobe On Linux

I accidentally figured it out (the whole

I accidentally figured it out (the whole "inventor" thing)

Перетест Ai MAX+ 395 в жирном мини-ПК и тест AMD 8060s vs Intel B390

Перетест Ai MAX+ 395 в жирном мини-ПК и тест AMD 8060s vs Intel B390

Python to Adobe Illustrator to ai2html data viz workflow (2022 update)

Python to Adobe Illustrator to ai2html data viz workflow (2022 update)

To, co Chiny budują teraz, odbierze ci mowę

To, co Chiny budują teraz, odbierze ci mowę

ai2html text overflow and other annotation/label issues: an easy fix

ai2html text overflow and other annotation/label issues: an easy fix

Will Steam Survive Without Gabe?

Will Steam Survive Without Gabe?

ai2html: A Baby Steps Introduction to Converting Illustrator to HTML

ai2html: A Baby Steps Introduction to Converting Illustrator to HTML

POKÓJ TUŻ TUŻ? ZEŁENSKI POLICZKUJE EUROPĘ

POKÓJ TUŻ TUŻ? ZEŁENSKI POLICZKUJE EUROPĘ

clever hack

clever hack

Generating ideas for data-driven stories and visualizations (a boring video)

Generating ideas for data-driven stories and visualizations (a boring video)

The Only 25 Ways to Make Money in 2026

The Only 25 Ways to Make Money in 2026

Auto-updating data visualizations from scraped data with GitHub Actions and Datawrapper

Auto-updating data visualizations from scraped data with GitHub Actions and Datawrapper

ZIELIŃSKI Z GOLEM! CO ZA FORMA POLAKA! INTER PRĘŻY MUSKUŁY, PODPUŚCILI I SKASOWALI | SKRÓT

ZIELIŃSKI Z GOLEM! CO ZA FORMA POLAKA! INTER PRĘŻY MUSKUŁY, PODPUŚCILI I SKASOWALI | SKRÓT

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



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



Контакты для правообладателей: infodtube@gmail.com