Skip to content

sam-schorb/visions

Repository files navigation

Visions - AI-Assisted Visual Synthesis

Visions Logo

Table of Contents

Overview

Visions is an innovative platform that enables users to create generative art sketches using P5JS and artificial intelligence. Designed with accessibility in mind, it caters to both novices and experienced creators, offering an intuitive interface for crafting, editing, and customizing sketches through AI-powered suggestions.

Features

🎨 Generating Visions

  • Text-based Modifications: Transform your sketch with simple text descriptions
  • AI Integration: Harness the power of AI to generate and modify sketch code

🎛️ Parameter Adjustment

  • Real-time Adjustments: Dynamically generated sliders for instant parameter tweaking
  • Customizable Parameters: Fine-tune colors, sizes, speeds, and more for unique outputs

💻 Code Editing

  • Interactive Code Editor: Dive into the code with our user-friendly editor modal
  • Live Code Experimentation: See your changes come to life in real-time

🤖 API Integration

  • AI APIs: Leverage cutting-edge AI models like GPT-4o and Google Gemini
  • Provider Selection: Choose your preferred AI service provider
  • API Key Management: Securely manage your API keys for seamless integration

Usage

Main Interface

Component Description
Canvas Central sketch display area with fullscreen and dimension controls
Sketch Controls Toolkit for sketch creation, editing, resetting, and capturing
Sliders Real-time parameter adjustment tools
Code Modal In-depth code viewing and editing interface
Help Modal Quick access to guidance and documentation
API Modal Streamlined API key and provider management

Generating a New Sketch

  1. Create: Click the "New" button to spawn a random sketch
  2. Modify: Enter a text description and hit "Generate" to apply AI-powered changes

Adjusting Parameters

  • Expand: Click "Add Slider" to introduce new parameter controls
  • Refine: Drag sliders to fine-tune sketch attributes in real-time

Code Editing

  1. Access: Open the code editor via the "Code" button
  2. Modify: Make direct changes to the P5JS code
  3. Apply: Click "Save" to see your modifications in action

API Management

  1. Configure: Launch the API modal using the "API" button
  2. Integrate: Input your API credentials
  3. Select: Choose your desired AI provider from the dropdown

Contributing

We welcome contributions to Visions! Whether it's bug reports, feature requests, or code contributions, please feel free to make a difference. See our Contribution Guidelines for more information.

License

This project is open-source and available under the MIT License.


Visions Footer
Empowering creativity through AI and code