Talk

Editorial Cartoon Generator for Any Science Topic

From Wikiprompt, the free prompt encyclopedia

Gadgetify
Contributed byGadgetifyXSource

Sep 10, 2026

Editorial Cartoon Generator for Any Science Topic A code-styled template that generates a 2x2 grid of satirical editorial cartoons on any science-related topic, with a built-in ethics check against hateful caricature.

Related media

Prompt ContentSave

🌐
2x2 grid, 16:9, AI picks science topics: class EditorialCartoon: def __init__(self, subject, seed=42): rng = random.Random(seed) self.subject = subject # Phase 1: Sample 2 distinct angles, 2 distinct devices self.angles = rng.sample(POOL_ANGLES, 2) # e.g., ["Bureaucratic Paralysis", "Empty Promises"] self.devices = rng.sample(POOL_DEVICES, 2) # e.g., ["Broken Machine", "Puppet Strings"] def resolve_metaphor(self): # E1: Isomorphism. Map abstract angles to concrete device mechanics. # Angle 1 drives the PRIMARY action. Angle 2 drives the CONTEXT/BACKGROUND. # Device 1 is the FOREGROUND object. Device 2 is the MECHANISM/ENVIRONMENT. self.scene_graph = Graph() self.scene_graph.add_node("Subject", type="Caricature", target=self.subject) self.scene_graph.add_node("Device1", type="Foreground", logic=self.devices[0]) self.scene_graph.add_node("Device2", type="Mechanism", logic=self.devices[1]) # Fuse: The Subject interacts with Device1, which is powered/controlled by Device2, enacting Angle1+2. self.scene_graph.add_edge("Subject", "Device1", relation="struggling_with") self.scene_graph.add_edge("Device2", "Device1", relation="powering/sabotaging") def verify_ethics(self): # E3: Hard boundary. protected = {"Race", "Religion", "Ethnicity", "Disability", "Gender", "Sexuality", "Nationality"} target_traits = extract_traits(self.subject, self.scene_graph) assert target_traits.isdisjoint(protected), "E3 VIOLATION: Hateful caricature detected." assert "Power" in target_traits or "System" in target_traits, "E3 VIOLATION: Punching down." def render(self): self.resolve_metaphor() self.verify_ethics() # E2, E4, E5: Topological and stylistic constraints canvas = Canvas(width=1024, height=1024, split_screen=False) # E2 canvas.apply_style(kernel="sharp_ink", palette="limited_3_color", silhouette="strong") # E4 # Draw the graph draw_node(canvas, self.scene_graph["Subject"], pose="expressive_struggle") draw_node(canvas, self.scene_graph["Device1"], scale="giant/dominant") draw_node(canvas, self.scene_graph["Device2"], style="background_mechanism") # E5: Text constraints labels = generate_labels(self.angles, max_words=5) canvas.add_text(labels, font="bold_sans", placement="integrated_not_floating") return canvas.export() EditorialCartoon(:SUBJECT).render()

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with creative. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:creative| twitter| editorial-cartoon| template

Talk