@pixerate/editor-react 0.188.0 → 0.190.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type PaintEditorController, type PaintProposals } from '@pixerate/editor/paint-editor';
3
+ export interface EvolutionPanelProps {
4
+ controller: PaintEditorController;
5
+ /** Optional proposals store (defaults to `controller.proposals`). */
6
+ proposals?: PaintProposals;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * Evolutionary strokes: pick recorded dry strokes, adjust mutation rates (`geometry`, `color`,
11
+ * `brush`, `seed`), and breed a grid of mutated stroke proposals. Variants can be bred further
12
+ * (single parent mutation or two-parent crossover), accepted as a single undo step, dismissed, or
13
+ * exported as a contact sheet.
14
+ */
15
+ export declare const EvolutionPanel: React.FC<EvolutionPanelProps>;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type PaintEditorController, type PaintProposals } from '@pixerate/editor/paint-editor';
3
+ export interface EvolutionPanelProps {
4
+ controller: PaintEditorController;
5
+ /** Optional proposals store (defaults to `controller.proposals`). */
6
+ proposals?: PaintProposals;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * Evolutionary strokes: pick recorded dry strokes, adjust mutation rates (`geometry`, `color`,
11
+ * `brush`, `seed`), and breed a grid of mutated stroke proposals. Variants can be bred further
12
+ * (single parent mutation or two-parent crossover), accepted as a single undo step, dismissed, or
13
+ * exported as a contact sheet.
14
+ */
15
+ export declare const EvolutionPanel: React.FC<EvolutionPanelProps>;
@@ -18,6 +18,8 @@ export interface PaintCanvasProps {
18
18
  proposals?: PaintProposals;
19
19
  /** Strokes an agent is painting live alongside the user's, drawn as soft lines (see `createPaintAgentStrokes`). */
20
20
  agentStrokes?: PaintAgentStrokes;
21
+ /** Follow device orientation (gyroscope tilt on iPhone and iPad) for thin-film iridescence view tilt. */
22
+ deviceTilt?: boolean;
21
23
  className?: string;
22
24
  }
23
25
  /**
@@ -18,6 +18,8 @@ export interface PaintCanvasProps {
18
18
  proposals?: PaintProposals;
19
19
  /** Strokes an agent is painting live alongside the user's, drawn as soft lines (see `createPaintAgentStrokes`). */
20
20
  agentStrokes?: PaintAgentStrokes;
21
+ /** Follow device orientation (gyroscope tilt on iPhone and iPad) for thin-film iridescence view tilt. */
22
+ deviceTilt?: boolean;
21
23
  className?: string;
22
24
  }
23
25
  /**
@@ -13,6 +13,8 @@ export interface PaintEditorProps {
13
13
  proposals?: PaintProposals;
14
14
  /** Strokes an agent is painting live alongside the user's (see `createPaintAgentStrokes`). */
15
15
  agentStrokes?: PaintAgentStrokes;
16
+ /** Follow device orientation (gyroscope tilt on iPhone and iPad) for thin-film iridescence view tilt. */
17
+ deviceTilt?: boolean;
16
18
  className?: string;
17
19
  /**
18
20
  * Agent playback: act out the paint tools' calls here with the agent's cursor, opening the panel
@@ -13,6 +13,8 @@ export interface PaintEditorProps {
13
13
  proposals?: PaintProposals;
14
14
  /** Strokes an agent is painting live alongside the user's (see `createPaintAgentStrokes`). */
15
15
  agentStrokes?: PaintAgentStrokes;
16
+ /** Follow device orientation (gyroscope tilt on iPhone and iPad) for thin-film iridescence view tilt. */
17
+ deviceTilt?: boolean;
16
18
  className?: string;
17
19
  /**
18
20
  * Agent playback: act out the paint tools' calls here with the agent's cursor, opening the panel