Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

4 results for “P5.js”

Newest and most relevant first

Quick Study

Very little in practical consequence: it is a hobby demo showing that a browser and an LLM assistant suffice to build a painting simulator with no libraries.

Quick Study is a free web app by developer Simon Willison that repaints any photo you supply, by file, drag and drop, or clipboard, as a hand-painted-looking artwork. You pick oil, watercolor, or pointillist styles, a detail level, and a painting duration from 2 to 10 seconds. It is built entirely in the browser with no outside code libraries. It is a personal experiment, not a product, so no one is directly affected.

This is a small demo project, not a commercial release, and carries no business cost, revenue or risk implications. Simon Willison built Quick Study to show that a browser canvas plus an LLM coding assistant can produce a working image-painting app with essentially zero dependencies, only Google Fonts is external. Competitors gain nothing; the value is as a proof of how cheaply such tools can now be built.

Quick Study runs client-side, rendering simulated brushstrokes on an HTML canvas in coarse-to-fine passes over 2-10 seconds. Image edges are found via Sobel edge detection, and the only external dependency is Google Fonts. Users compare against the original, repaint with a new random seed, or download a PNG via the Downloads service with a plain file-link fallback. Willison links his earlier Claude Fable P5.js watercolor experiment and a 17 November 2026 piece running Datasette with Pyodide and service workers.

Simon Willison’s Weblog →

Training a coding model to paint watercolours with TRL and OpenEnv

It shows RL can train small open models toward subjective aesthetic taste using a hand-curated dataset, with every artifact published for reproduction.

A Hugging Face engineer reproduced an artist's viral project in which a language model writes JavaScript code that paints watercolour-style flowers, then taught a small AI model to do it better using reinforcement learning, a method where the AI improves by trial and error against a score. The 'score' here was human taste: 178 hand-rated AI paintings judged by two preference models. All code, data and trained models are freely published.

Hugging Face open-sourced a complete training pipeline, RL environment, reference dataset, scripts and models, that taught Qwen3.5-35B-A3B to paint watercolours matching one person's curated taste. The practical value is the reusable recipe: GRPO over taste-based rewards, a p5.brush-based environment, and the debugging lessons (LoRA configuration, TRL fixes) that cost the author weeks. Competitors closed-source would charge; this is free end-to-end.

GRPO training with TRL teaches Qwen3.5-35B-A3B (LoRA, all-linear, bf16) to write ~150-line p5.js sketches rendered in headless Chromium. The reward combines HPSv3 scores and a pairwise judge against a 178-image hand-rated pool. Four TRL GRPOTrainer fixes and all-linear LoRA targeting (dense assumptions missed MoE projections) unlocked learning; three reward mixes all learned, with judge-weighted runs noisier. Steps took 15–18 minutes; runs stopped at 110 of 200 steps with reward still climbing.

Huggingface Blog →

Teaching Coding When AI Can Write the Code

A UT Austin instructor argues finished code no longer proves understanding, so educators and managers must assess process, explanations, live work, and AI conversations, instead of artifacts.

A University of Texas at Austin instructor, Eric Freeman, says AI-generated code makes it impossible to tell what programming students actually learned. His department runs classes like art studios, where students build and explain work in public. They also created a chatbot posing as computer-art pioneer Vera Molnár that quizzes students and grades their understanding. Finally, students code visuals live on stage at a party event called an algorave, where fake skills cannot hide.

Freeman of UT Austin's Arts and Entertainment Technologies department argues schools waste effort on AI detectors, citing a Stanford study where 61.22% of TOEFL essays were falsely flagged and OpenAI retiring its own classifier in 2023. His alternatives, public studio work, AI-conversation assessments, and live coding, let AI-assisted grading scale feedback despite low teaching-assistant ratios. He admits no controlled study backs the results. The broader lesson: polished output no longer proves competence.

Freeman describes three assessment experiments at UT Austin for AI-era coding education: classroom studio review, a prompt-engineered chatbot avatar of artist Vera Molnár that conducts rubric-scored Socratic conversations (transcripts reviewed by TAs, with reported close agreement), and live-coded visuals using p5.js/Processing-style chains like osc().modulate().rotate(). AI also graded object-oriented game projects against a rubric to assist inexperienced TAs. Limitations acknowledged: no controlled study, small samples, subjective performance assessment.

Oreilly AI ML Blog →

Qwen3 Coder Flash First Look and Local Testing

Developers with a single decent GPU can now run a strong open-source coding model locally, instead of relying on cloud APIs or server-class hardware.

Alibaba released Qwen3 Coder Flash, a free, open-source AI model for writing code that anyone can download. It is a smaller, faster version of the company's larger Qwen3 Coder model, containing 30.5 billion parameters but using only 3.3 billion per task through a technique called Mixture-of-Experts, which saves computing power. The article walks through installing it locally using a tool called Ollama and shows it generating animations and optimizing databases.

Alibaba's Qwen3 Coder Flash gives developers a near-flagship coding model that runs on a single workstation with 17-19 GB of VRAM, undercutting the hardware demands of the 480B-parameter flagship Qwen3 Coder. As an open-source release compatible with tools like Qwen Code and Cline, it lowers the cost of local, private AI coding assistance. Companies relying on paid APIs for code generation may see a viable free alternative.

Qwen3-Coder-Flash (Qwen3-Coder-30B-A3B-Instruct) is a 30.5B-parameter Mixture-of-Experts model activating ~3.3B parameters per token, with native 256K context expandable to 1M tokens via YaRN. It supports function calling and agent workflows, and is optimized for Qwen Code, Cline, Roo Code and Kilo Code. Local runs via Ollama need 17-19 GB VRAM for the recommended Unsloth UD-Q4_K_XL GGUF quantization; the article's demos are a p5.js animation and a SQL optimization task, with no benchmark scores given.

Analytics Vidhya Gen AI Blog →