Skillpedia
الصور والأيقونات260k · #598

p5js

ما الذي تفعله

تُرشد هذه المهارة الذكاء الاصطناعي لديك إلى صنع مشاريع البرمجة الإبداعية بـ p5.js. وهي للفنانين والمصممين والمطورين الذين يريدون مرئيات تفاعلية أو توليدية للويب.

متى تستخدمها

  • ✓عندما تريد رسمة فن توليدي أو مرئيًا تفاعليًا يعمل في المتصفح.
  • ✓عندما تريد تصور بيانات أو رسومًا متحركة بالجسيمات أو حقول التدفق أو الضوضاء.
  • ✓عندما تريد تصدير الرسمة كملف HTML أو PNG أو GIF أو MP4 أو SVG.

رابط المهارة

https://github.com/NousResearch/hermes-agent/blob/main/skills/creative/p5js/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/NousResearch/hermes-agent/blob/main/skills/creative/p5js/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

📦 هذه المهارة موجودة في هذه الحزم

مثال على ما تطلبه من الذكاء الاصطناعي

“اصنع قطعة فن توليدي بـ p5.js فيها جسيمات متدفقة تتفاعل مع الفأرة، وصدّرها كملف PNG.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يخطط الذكاء الاصطناعي لمفهوم إبداعي، ثم يكتب شيفرة p5.js للرسمة. يمكنه إضافة shaders أو تفاعلات مع الصوت أو مشاهد ثلاثية الأبعاد، ويصدّر النتيجة بعدة صيغ.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

p5.js Production Pipeline

When to use

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

What's inside

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems, flow fields, shaders (GLSL), pixel manipulation, kinetic typography, WebGL scenes, audio analysis, mouse/keyboard interaction, and headless high-res export.

Creative Standard

This is visual art rendered in the browser. The canvas is the medium; the algorithm is the brush.

Before writing a single line of code, articulate the creative concept. What does this piece communicate? What makes the viewer stop scrolling? What separates this from a code tutorial example? The user's prompt is a starting point — interpret it with creative ambition.

First-render excellence is non-negotiable. The output must be visually striking on first load. If it looks like a p5.js tutorial exercise, a default configuration, or "AI-generated creative coding," it is wrong. Rethink before shipping.

Go beyond the reference vocabulary. The noise functions, particle systems, color palettes, and shader effects in the references are a starting vocabulary. For every project, combine, layer, and invent. The catalog is a palette of paints — you write the painting.

Be proactively creative. If the user asks for "a particle system," deliver a particle system with emergent flocking behavior, trailing ghost echoes, palette-shifted depth fog, and a background noise field that breathes. Include at least one visual detail the user didn't ask for but will appreciate.

Dense, layered, considered. Every frame should reward viewing. Never flat white backgrounds. Always compositional hierarchy. Always intentional color. Always micro-detail that only appears on close inspection.

Cohesive aesthetic over feature count. All elements must serve a unified visual language — shared color temperature, consistent stroke weight vocabulary, harmonious motion speeds. A sketch with ten unrelated effects is worse than one with three that belong together.

Modes

Mode Input Output Reference
Generative art Seed / parameters Procedural visual composition (still or animated) references/visual-effects.md
Data visualization Dataset / API Interactive charts, graphs, custom data displays references/interaction.md
Interactive experience None (user drives) Mouse/keyboard/touch-driven sketch references/interaction.md
Animation / motion graphics Timeline / storyboard Timed sequences, kinetic typography, transitions references/animation.md
3D scene Concept description WebGL geometry, lighting, camera, materials references/webgl-and-3d.md
Image processing Image file(s) Pixel manipulation, filters, mosaic, pointillism references/visual-effects.md § Pixel Manipulation
Audio-reactive Audio file / mic Sound-driven generative visuals references/interaction.md § Audio Input

Stack

Single self-contained HTML file per project. No build step required.

Layer Tool Purpose
Core p5.js 1.11.3 (CDN) Canvas rendering, math, transforms, event handling
3D p5.js WebGL mode 3D geometry, camera, lighting, GLSL shaders
Audio p5.sound.js (CDN) FFT analysis, amplitude, mic input, oscillators
Export Built-in saveCanvas() / saveGif() / saveFrames() PNG, GIF, frame sequence output
Capture CCapture.js (optional) Deterministic framerate video capture (WebM, GIF)
Headless Puppeteer + Node.js (optional) Automated high-res rendering, MP4 via ffmpeg
SVG p5.js-svg 1.6.0 (optional) Vector output for print — requires p5.js 1.x
Natural media p5.brush (optional) Watercolor, charcoal, pen — requires p5.js 2.x + WEBGL
Texture p5.grain (optional) Film grain, texture overlays
Fonts Google Fonts / loadFont() Custom typography via OTF/TTF/WOFF2

Version Note

p5.js 1.x (1.11.3) is the default — stable, well-documented, broadest library compatibi

الأسئلة الشائعة

هل أحتاج إلى معرفة JavaScript؟

تفيد معرفة أساسية، لكن المهارة ترشد الذكاء الاصطناعي إلى كتابة الشيفرة وشرحها.

هل تصنع مشاهد ثلاثية الأبعاد؟

نعم. تغطي المهارة مشاهد WebGL والعرض ثلاثي الأبعاد بـ p5.js.

ما صيغ الإخراج المتاحة؟

تذكر المهارة HTML وPNG وGIF وMP4 وSVG.

التفاصيل

الوصف الأصلي من المؤلف

p5.js sketches: gen art, shaders, interactive, 3D.

repo: NousResearch/hermes-agent

الشعبية

نجوم GitHub
260k
الترتيب
#598
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة